B U S I N E S S A N A L Y S T 10.2 R E S T L O O K U P U T I L I T Y
Get Default Spatial Reference Endpoint
Gets the default spatial reference.
Availability: Business Analyst Server.
http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/GetDefaultSpatialReference/execute
Parameters
ActiveDatasetID (optional) |
ID of the active dataset. Type string. Default: ID of the first available dataset. |
f (optional) |
Response format. Type string. Available formats: HTML, JSON, PJSON, XML. Default: HTML. |
token |
Authentication token. This parameter is required if your Business Analyst Server is secured. Type string. |
Returns
Variable of type SpatialReference containing properties of the default spatial reference associated with the given dataset.
Example Usage
The example below requests the default spatial reference.
{ "results": [ { "paramName":"DefaultSpatialReference", "dataType":"BASpatialReference", "value": { "HighPrecision":true, "LeftLongitude":-180, "MOrigin":-100000, "MScale":10000, "MTolerance":0.001, "WKID":4326, "WKT":"GEOGCS[\"GCS_WGS_1984\",...]", "XOrigin":-180, "XYScale":1000000, "XYTolerance":8.98315284119521E-09, "YOrigin":-90, "ZOrigin":-100000, "ZScale":10000, "ZTolerance":0.001 } } ], "messages": [ ] }
NOTE: The response has been abbreviated where "..." is noted.
See Also