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