geojson:point( $point as object-node() ) as cts:point
Create a cts:point value from a GeoJSON "Point" type geometry object.
Parameters | |
---|---|
point | A GeoJSON Point node. |
xquery version "1.0-ml"; import module namespace geojson = "http://marklogic.com/geospatial/geojson" at "/MarkLogic/geospatial/geojson.xqy"; geojson:point( object-node { "type" : "Point", "coordinates" : array-node {100.00, 0.0} } )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.