MarkLogic 12 EA 1 Product Documentation
admin.appserverSetCoordinateSystem

admin.appserverSetCoordinateSystem(
   config as element(configuration),
   appserver-id as (Number|String),
   value as String
) as element(configuration)

Summary

Set the default geospatial coordinate system for an App Server.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
appserver-id The ID of the App Server. Typically, this is the result of an admin.appserverGetId call.
value The canonical name of a supported geospatial coordinate system, such as wgs84/double, etrs89, etrs89/double, raw, or raw/double.

Required Privileges

This operation requires at least one of the following privileges:

http://marklogic.com/xdmp/privileges/admin/app-server

http://marklogic.com/xdmp/privileges/admin/app-server/{id}

http://marklogic.com/xdmp/privileges/admin/group

http://marklogic.com/xdmp/privileges/admin/group/{id}

Usage Notes

The name of the coordinate system also specifies the default point coordinate value precision. For example, "wgs84" implicitly specifies single precision, while "wgs84/double" specifies double precision. You can generate the canonical name for a coordinate system/precision combination using geo.coordinateSystemCanonical.
Powered by MarkLogic Server | Terms of Use | Privacy Policy