Skip to content

Commit ae12acc

Browse files
committed
GEO_POINT() accepts elevation but z coordinate is ignored in geo functions (#741)
Moved from 3.11 to oem
1 parent 1f1e16e commit ae12acc

File tree

7 files changed

+215
-97
lines changed

7 files changed

+215
-97
lines changed

site/content/arangodb/3.12/release-notes/version-oem/incompatible-changes-in-oem.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,21 @@ support the VelocyPack format. The cluster replication has been changed to use
620620
VelocyPack instead of JSON to avoid unnecessary conversions and avoiding any
621621
risk of deviations due to the serialization.
622622

623+
## Optional elevation for GeoJSON Points
624+
625+
<small>Introduced in: v3.11.14-2</small>
626+
627+
GeoJSON Point may now have three coordinates: `[longitude, latitude, elevation]`.
628+
However, ArangoDB does not take any elevation into account in geo-spatial
629+
calculations.
630+
631+
Points with an elevation do no longer fail the validation in the `GEO_POLYGON()`
632+
and `GEO_MULTIPOLYGON()` functions. Moreover, GeoJSON with three coordinates is
633+
now indexed by geo indexes and thus also matched by geo-spatial queries, which
634+
means you may find more results than before.
635+
636+
Also see [Geo-spatial functions in AQL](../../aql/functions/geo.md).
637+
623638
## JavaScript API
624639

625640
### Database creation

site/content/arangodb/3.12/release-notes/version-oem/whats-new-in-oem.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,24 @@ connections. Some memory is pre-allocated at startup for higher efficiency. If t
13981398
`--server.statistics` startup option is set to `false`, then no memory will be
13991399
allocated for connection and request statistics.
14001400

1401+
### Optional elevation for GeoJSON Points
1402+
1403+
<small>Introduced in: v3.11.14-2</small>
1404+
1405+
The `GEO_POINT()` function now accepts an optional third argument to create a
1406+
GeoJSON Point with three coordinates: `[longitude, latitude, elevation]`.
1407+
1408+
GeoJSON Points may now have three coordinates in general.
1409+
However, ArangoDB does not take any elevation into account in geo-spatial
1410+
calculations.
1411+
1412+
Points with an elevation do no longer fail the validation in the `GEO_POLYGON()`
1413+
and `GEO_MULTIPOLYGON()` functions. Moreover, GeoJSON with three coordinates is
1414+
now indexed by geo indexes and thus also matched by geo-spatial queries, which
1415+
means you may find more results than before.
1416+
1417+
Also see [Geo-spatial functions in AQL](../../aql/functions/geo.md).
1418+
14011419
## Client tools
14021420

14031421
### arangodump

site/content/arangodb/4.0/release-notes/version-oem/incompatible-changes-in-oem.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,21 @@ support the VelocyPack format. The cluster replication has been changed to use
620620
VelocyPack instead of JSON to avoid unnecessary conversions and avoiding any
621621
risk of deviations due to the serialization.
622622

623+
## Optional elevation for GeoJSON Points
624+
625+
<small>Introduced in: v3.11.14-2</small>
626+
627+
GeoJSON Point may now have three coordinates: `[longitude, latitude, elevation]`.
628+
However, ArangoDB does not take any elevation into account in geo-spatial
629+
calculations.
630+
631+
Points with an elevation do no longer fail the validation in the `GEO_POLYGON()`
632+
and `GEO_MULTIPOLYGON()` functions. Moreover, GeoJSON with three coordinates is
633+
now indexed by geo indexes and thus also matched by geo-spatial queries, which
634+
means you may find more results than before.
635+
636+
Also see [Geo-spatial functions in AQL](../../aql/functions/geo.md).
637+
623638
## JavaScript API
624639

625640
### Database creation

site/content/arangodb/4.0/release-notes/version-oem/whats-new-in-oem.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,24 @@ connections. Some memory is pre-allocated at startup for higher efficiency. If t
13981398
`--server.statistics` startup option is set to `false`, then no memory will be
13991399
allocated for connection and request statistics.
14001400

1401+
### Optional elevation for GeoJSON Points
1402+
1403+
<small>Introduced in: v3.11.14-2</small>
1404+
1405+
The `GEO_POINT()` function now accepts an optional third argument to create a
1406+
GeoJSON Point with three coordinates: `[longitude, latitude, elevation]`.
1407+
1408+
GeoJSON Points may now have three coordinates in general.
1409+
However, ArangoDB does not take any elevation into account in geo-spatial
1410+
calculations.
1411+
1412+
Points with an elevation do no longer fail the validation in the `GEO_POLYGON()`
1413+
and `GEO_MULTIPOLYGON()` functions. Moreover, GeoJSON with three coordinates is
1414+
now indexed by geo indexes and thus also matched by geo-spatial queries, which
1415+
means you may find more results than before.
1416+
1417+
Also see [Geo-spatial functions in AQL](../../aql/functions/geo.md).
1418+
14011419
## Client tools
14021420

14031421
### arangodump

0 commit comments

Comments
 (0)