mcgm:point( $point as element(Dot) ) as cts:point
Create a cts:point value from a MCGM Dot element.
Parameters | |
---|---|
point | A Dot element. |
xquery version "1.0-ml"; import module namespace mcgm = "http://marklogic.com/geospatial/mcgm" at "/MarkLogic/geospatial/mcgm.xqy"; mcgm:point(<Dot Latitude="12.5" Longitude="-127.24"/>)