Loading TOC...

geo.validateWkt

geo.validateWkt(
   $wkt as String
) as Boolean

Summary

Returns true if the string is valid Well-Known Text for a supported region type.

Parameters
$wkt A string to validate.

See Also

Example

geo.validateWkt("LINESTRING(-112.25 47.1,-112.3 47.1,-112.4 47.2)")

=> true

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

Comments