Loading TOC...

MarkLogic Server 11.0 Product Documentation
geo:default-coordinate-system

geo:default-coordinate-system() as xs:string

Summary

Get the canonical name for the coordinate system currently in effect.

Usage Notes

The current coordinate system is derived from the App Server default coordinate system and any module-specific coordinate system specification, such as by the xdmp:coordinate-system XQuery prolog option.

See Also

Example

xquery version "1.0-ml";
geo:default-coordinate-system()

=> "wgs84"

Example

xquery version "1.0-ml";
declare option xdmp:coordinate-system "wgs84/double";
geo:default-coordinate-system()

=> "wgs84/double"

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