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.

  1. Obtain an authorization token
  2. Get API base URLs
  3. Determine the scope of the data and get the data handle
  4. Get feature collection

Obtain an Authorization Token

Obtain an authorization token for your HTTP requests. For instructions, see the Authentication and Authorization Developer 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:

Find the layer id of the data you want and determine the above

results matching ""

    No results matching ""