Loading TOC...

MarkLogic Server 11.0 Product Documentation
geogml:box

geogml:box(
   $box as element()
) as cts:box

Summary

Create a cts:box value from a GML Envelope element.

Parameters
box An GML Envelope element.

Example

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

  geogml:box(
     <gml:Envelope>
       <gml:lowerCorner>12.5 -127.24</gml:lowerCorner>
       <gml:upperCorner>30 -122.24</gml:upperCorner>
     </gml:Envelope>)
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.