<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/geo.parseWkt.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>geo.parseWkt</api:function-name><api:suggest>geo.parsewkt</api:suggest><api:suggest>geo</api:suggest><api:suggest>parsewkt</api:suggest><api:function-link mode="xquery" fullname="geo:parse-wkt">/apidoc/8.0/geo:parse-wkt.xml</api:function-link><api:function mode="javascript" name="parseWkt" type="builtin" lib="geo" category="SearchBuiltins" subcategory="Geospatial Operations" hidden="false" bucket="MarkLogic Built-In Functions" prefix="geo" namespace="http://marklogic.com/geospatial" fullname="geo.parseWkt"><api:summary>
  Returns a sequence of geospatial regions parsed from Well-Known Text format.
</api:summary><api:params><api:param name="wtk" type="xs:string*"><api:param-description>
    A sequence of strings in Well-Known Text format.
  </api:param-description><api:param-name>wtk</api:param-name><api:param-type>String[]</api:param-type></api:param></api:params><api:return>ValueIterator</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var node = {Arapahoe:"POLYGON(( \n\
            0.396982870000000E+02 -0.104935135000000E+03, \n\
            0.396965870000000E+02 -0.104938635000000E+03, \n\
            0.396965870000000E+02 -0.104938635000000E+03, \n\
            0.397110870000000E+02 -0.104931634000000E+03, \n\
            0.397066870000000E+02 -0.104926934000000E+03, \n\
            0.397012870000000E+02 -0.104932834000000E+03, \n\
            0.396971870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104931534000000E+03, \n\
            0.396966870000000E+02 -0.104934335000000E+03, \n\
            0.396966870000000E+02 -0.104934335000000E+03, \n\
            0.396981250000000E+02 -0.104934109000000E+03), \n\
            ( 0.396981250000000E+02 -0.104934109000000E+03, \n\
            0.397001130000000E+02 -0.104931652000000E+03, \n\
            0.397001870000000E+02 -0.104934034000000E+03, \n\
            0.396981250000000E+02 -0.104934109000000E+03))"};
geo.parseWkt(node.Arapahoe);
</pre></api:example></api:function></api:function-page>