geo:validate-wkt( $wkt as xs:string ) as xs:boolean
Returns true if the string is valid Well-Known Text for a supported region type.
geo:validate-wkt("LINESTRING(-112.25 47.1,-112.3 47.1,-112.4 47.2)") => true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.