Layer Exports

APIs to export layer data

With these APIs, you can export data to CSV, GeoJSON, and other formats.

get

Generate a direct download link for layer data export.

Get a link to export a layer as a GeoPackage (vector layers) or GeoTIFF (raster layers).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
map_idstringRequired

The ID of the map where the layer is located

layer_idstringRequired

The ID of the layer to export

Responses
200

Export link

application/json
get
/api/v2/maps/{map_id}/layers/{layer_id}/get_export_link

Check custom export status

get

Check the processing status and download availability of a custom export request.

If the export is successful, the response will include a download_url for accessing the exported data.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
map_idstringRequired

The ID of the map where the layer is located

layer_idstringRequired

The ID of the layer to export

export_idstringRequired

The ID of the export

Responses
200

Custom export request status

application/json
get
/api/v2/maps/{map_id}/layers/{layer_id}/custom_exports/{export_id}

Create custom layer export

post

Start a custom export with specific format and filter options for layer data.

Export requests are asynchronous. A successful response will return a poll_endpoint to check the status of the export using the poll custom export endpoint.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
map_idstringRequired

The ID of the map where the layer is located

layer_idstringRequired

The ID of the layer to export

Body
email_on_completionbooleanOptional

Send an email to the requesting user when the export completes. Defaults to true

output_formatstring · enumRequiredExample: csvPossible values:
Responses
200

Custom export response

application/json
post
/api/v2/maps/{map_id}/layers/{layer_id}/custom_export

Last updated

Was this helpful?