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