geoMultiLineString.php
Table of Contents
Functions
- geoMultiLineString() : string
- Build a GeoJSON MultiLineString geometry.
Functions
geoMultiLineString()
Build a GeoJSON MultiLineString geometry.
geoMultiLineString(array<string|int, mixed>|string $lines) : string
This helper wraps the ArangoDB AQL function GEO_MULTILINESTRING(lines) which
constructs a valid GeoJSON MultiLineString from an array of line strings. Each
line is an array of [longitude, latitude] pairs, following the GeoJSON
longitude-first convention.
Example AQL usage:
GEO_MULTILINESTRING([ [ [2.35,48.85], [4.83,45.76] ], [ [1.44,43.60], [5.37,43.29] ] ])
Parameters
- $lines : array<string|int, mixed>|string
-
An array of line strings, or an AQL expression.
Tags
Return values
string —The formatted AQL expression.