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.

Parameters
$point A node representing a point.

Example

  xquery version "1.0-ml";
  import module namespace geo = "http://marklogic.com/geospatial"
         at "/MarkLogic/geospatial/geospatial.xqy";
  declare namespace gml= "http://www.opengis.net/gml";

  geo:point(<gml:Point><gml:pos>12.5 -127.24</gml:pos></gml:Point>)
  

Comments

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