These methods are utilized by the ANC Public applications for populating dynamic map data. They are dynamic REST endpoints supplied by ESRI Map Services. The public mapping service methods can be accessed through the following URL: https://ancexplorer.army.mil/arcgis/rest/services/Data/ANC_External/MapServer
Available Layers and General Info
This service allows for the querying of the specific layers tied to the service. Other general information is also returned such as the spatial reference and supported formats for exporting maps. The available layers and general info can be accessed through the following URL:
Layers are accessed via their id. Their ids can be obtained in the JSON object obtained from the service request above. Layer data contains all of the fields and geometry information for the specific layer. This request can be used to know which fields to search on or query against. This request will return the data in a JSON format for layer 0 on the ANC_External Map Service.
Spatial data can be queried by each layer. Using the layer id, the query method is accessible and capable of responding with detailed data in the spatial feature class. This query returns a JSON object with all data for the layer 0.