geo.point( point as Node ) as cts.point
Create a cts.point value from a node representing a point in one of the supported markup vocabularies, such as KML or GML.
Parameters | |
---|---|
point | A node representing a point. |
const geo = require('/MarkLogic/geospatial/geospatial'); geo.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.