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