Loading TOC...

geo.point

geo.point(
   $point as Node
) as cts.point

Summary

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.

Usage Notes

If you know the geospatial data format (GML, KML, etc.), it is more efficient to use the equivalent format-specific function.

See Also

Example

const geo = require('/MarkLogic/geospatial/geospatial');
geo.point(
  {type: 'Point', coordinates: [100.0,0.0]}
);
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy