geoMultiPoint.php
Table of Contents
Functions
- geoMultiPoint() : string
- Build a GeoJSON MultiPoint geometry.
Functions
geoMultiPoint()
Build a GeoJSON MultiPoint geometry.
geoMultiPoint(array<string|int, mixed>|string $points) : string
This helper wraps the ArangoDB AQL function GEO_MULTIPOINT(points) which
constructs a valid GeoJSON MultiPoint from an array of coordinate pairs.
Each coordinate pair must already follow the GeoJSON longitude-first
convention ([longitude, latitude]).
Example AQL usage:
GEO_MULTIPOINT([ [2.35, 48.85], [4.83, 45.76] ])
Parameters
- $points : array<string|int, mixed>|string
-
An array of
[longitude, latitude]pairs, or an AQL expression.
Tags
Return values
string —The formatted AQL expression.