MarkLogic 12 EA 1 Product Documentation
geo:coordinate-system-canonical

geo:coordinate-system-canonical(
   $name as xs:string,
   [$precision as xs:string]
) as xs: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:coordinate-system-canonical("wgs84","double")

=> "wgs84/double"
Powered by MarkLogic Server | Terms of Use | Privacy Policy