Loading TOC...

MarkLogic Server 11.0 Product Documentation
geo.coordinateSystemCanonical

geo.coordinateSystemCanonical(
   name as String,
   [precision as String]
) as String

Summary

Get the canonical name for the coordinate system. An exception is thrown if no such coordinate system exists.

Parameters
name Coordinate system name. Allowed values: "wgs84", "wgs84/double", "etrs89", "etrs89/double", "raw", "raw/double".
precision The precision, either "float" or "double". Default: The precision implicit in the coordinate system that is the value of the name parameter.

Usage Notes

The precision parameter takes precedence over any precision implicit in the coordinate system name. For example, if name is "wgs84/double" and precision is "float", then "wgs84" is returned.

See Also

Example

geo.coordinateSystemCanonical('wgs84','double')

=> "wgs84/double"

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