
geojson.multiLinestring( multi-linestring as objectNode() ) as Sequence
Create a set of cts:linestring values from a GeoJSON "MultiLineString" type geometry object.
| Parameters | |
|---|---|
| multi-linestring | A GeoJSON MultiLineString node. |
const geojson = require('/MarkLogic/geospatial/geojson.xqy');
geojson.multiLinestring(
{ type: 'MultiLineString',
coordinates: [
[ [100.0, 0.0], [101.0, 1.0] ],
[ [102.0, 2.0], [103.0, 3.0] ]
] }
);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.