How to get data from an interactive map layer
How to get data from an interactive map layer
You can get data from an interactive map layer using the interactive API.
The typical flow for getting data consists of the following steps.
- Obtain an authorization token
- Get API base URLs
- Determine the scope of the data and get the data handle
- Get feature collection
Obtain an authorization token
Obtain an authorization token for your HTTP requests. For more information, see the Identity and Access Management Guide.
Note
For authorization in a GET request you can also use an API Key as a query parameter instead of a bearer token in an authorization header.
Get API base URLs
Use the API Lookup service to get the API endpoints for the catalog you want to get data from. For instructions, see the API Lookup Developer Guide.
Determine the scope of the data
Note
The non-error response is always a FeatureCollection, even when there are no features found.
There are several ways you can ask for data:
Updated 25 days ago