Loading TOC...

MarkLogic Server 11.0 Product Documentation
georss:parse-georss

georss:parse-georss(
   $georss as element()*
) as cts:region*

Summary

Construct zero or more cts:region values from GeoRSS XML elements.

Parameters
georss A set of GeoRSS elements to be converted into cts:region's.

See Also

Example

import module namespace georss="http://www.georss.org/georss"
  at "/MarkLogic/geospatial/georss.xqy";

georss:parse-georss(
  <georss:polygon>5.0 1.0 8.0 1.0 8.0 6.0 5.0 7.0 5.0 1.0</georss:polygon>
)
(: A cts:polygon with the given coordinates. :)
  

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