mirror of https://github.com/tidwall/tile38.git
mention search object support
This commit is contained in:
parent
8757da3d15
commit
1d663e185b
|
@ -87,6 +87,8 @@ To set a field when an object already exists:
|
||||||
|
|
||||||
## Searching
|
## Searching
|
||||||
|
|
||||||
|
Tile38 has support to search for objects and points that are within or intersects other objects. All object types can be searched including Polygons, MultiPolygons, GeometryCollections, etc.
|
||||||
|
|
||||||
<img src="/doc/search-within.png" width="200" height="200" border="0" alt="Search Within" align="left">
|
<img src="/doc/search-within.png" width="200" height="200" border="0" alt="Search Within" align="left">
|
||||||
#### Within
|
#### Within
|
||||||
WITHIN searches a collection for objects that are fully contained inside a specified bounding area.
|
WITHIN searches a collection for objects that are fully contained inside a specified bounding area.
|
||||||
|
@ -103,6 +105,9 @@ NEARBY searches a collection for objects that intersect a specified radius.
|
||||||
<BR CLEAR="ALL">
|
<BR CLEAR="ALL">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Search options
|
### Search options
|
||||||
**SPARSE** - This option will distribute the results of a search evenly across the requested area.
|
**SPARSE** - This option will distribute the results of a search evenly across the requested area.
|
||||||
This is very helpful for example; when you have many (perhaps millions) of objects and do not want them all clustered together on a map. Sparse will limit the number of objects returned and provide them evenly distributed so that your map looks clean.<br><br>
|
This is very helpful for example; when you have many (perhaps millions) of objects and do not want them all clustered together on a map. Sparse will limit the number of objects returned and provide them evenly distributed so that your map looks clean.<br><br>
|
||||||
|
|
Loading…
Reference in New Issue