Skip to content

DOC-527 | Re-organize geospatial data representation and interpretation #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 18, 2023
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ see [arangodb.com/community-server/](https://www.arangodb.com/community-server/)
Flexible data field pre-processing with custom queries and the ability to
chain built-in and custom Analyzers. Language-agnostic tokenization of text.

- [**GeoJSON Support**](../../index-and-search/indexing/working-with-indexes/geo-spatial-indexes.md#geojson):
- [**GeoJSON Support**](../../aql/functions/geo.md#geojson):
Geographic data encoded in the popular GeoJSON format can be stored and used
for geo-spatial queries.

Expand Down
8 changes: 4 additions & 4 deletions site/content/3.10/aql/functions/arangosearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ be used in conjunction with ArangoSearch.

`GEO_CONTAINS(geoJsonA, geoJsonB) → bool`

Checks whether the [GeoJSON object](../../index-and-search/indexing/working-with-indexes/geo-spatial-indexes.md#geojson) `geoJsonA`
Checks whether the [GeoJSON object](geo.md#geojson) `geoJsonA`
fully contains `geoJsonB` (every point in B is also in A).

- **geoJsonA** (object\|array): first GeoJSON object or coordinate array
Expand All @@ -1089,7 +1089,7 @@ fully contains `geoJsonB` (every point in B is also in A).

`GEO_DISTANCE(geoJsonA, geoJsonB) → distance`

Return the distance between two [GeoJSON objects](../../index-and-search/indexing/working-with-indexes/geo-spatial-indexes.md#geojson),
Return the distance between two [GeoJSON objects](geo.md#geojson),
measured from the `centroid` of each shape.

- **geoJsonA** (object\|array): first GeoJSON object or coordinate array
Expand All @@ -1105,7 +1105,7 @@ measured from the `centroid` of each shape.

`GEO_IN_RANGE(geoJsonA, geoJsonB, low, high, includeLow, includeHigh) → bool`

Checks whether the distance between two [GeoJSON objects](../../index-and-search/indexing/working-with-indexes/geo-spatial-indexes.md#geojson)
Checks whether the distance between two [GeoJSON objects](geo.md#geojson)
lies within a given interval. The distance is measured from the `centroid` of
each shape.

Expand All @@ -1129,7 +1129,7 @@ each shape.

`GEO_INTERSECTS(geoJsonA, geoJsonB) → bool`

Checks whether the [GeoJSON object](../../index-and-search/indexing/working-with-indexes/geo-spatial-indexes.md#geojson) `geoJsonA`
Checks whether the [GeoJSON object](geo.md#geojson) `geoJsonA`
intersects with `geoJsonB` (i.e. at least one point of B is in A or vice versa).

- **geoJsonA** (object\|array): first GeoJSON object or coordinate array
Expand Down
2 changes: 2 additions & 0 deletions site/content/3.10/aql/functions/date.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ description: >-
ISO 8601 date time strings
archetype: default
---
## Date and time representations

AQL offers functionality to work with dates, but it does not have a special data type
for dates (neither does JSON, which is usually used as format to ship data into and
out of ArangoDB). Instead, dates in AQL are represented by either numbers or strings.
Expand Down
Loading