1
0
Fork 0
arangodb/Documentation/DbaManual/IndexGeo.md

1.3 KiB

Geo Indexes

@NAVIGATE_IndexGeo @EMBEDTOC{IndexGeoTOC}

Introduction to Geo Indexes

This is an introduction to ArangoDB's geo indexes.

ArangoDB uses Hilbert curves to implement geo-spatial indexes. See this blog for details.

A geo-spatial index assumes that the latitude is between -90 and 90 degree and the longitude is between -180 and 180 degree. A geo index will ignore all documents which do not fulfill these requirements.

A geo-spatial constraint makes the same assumptions, but documents not fulfilling these requirements are rejected.

Accessing Geo Indexes from the Shell

@anchor IndexGeoShellEnsureGeoIndex @copydetails JS_EnsureGeoIndexVocbaseCol

@CLEARPAGE @anchor IndexGeoShellEnsureGeoConstraint @copydetails JS_EnsureGeoConstraintVocbaseCol

@CLEARPAGE @anchor IndexGeoShellGeo @copydetails JSF_ArangoCollection_prototype_geo

@CLEARPAGE @anchor IndexGeoShellNear @copydetails JSF_ArangoCollection_prototype_near

@CLEARPAGE @anchor IndexGeoShellWithin @copydetails JSF_ArangoCollection_prototype_within