For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Auto georeferencing API

MapTiler’s Auto georeferencing API allows you to automatic georeference for raster data via API. You can upload a raster data and the API provides a suggestion for automatic georeferencing, either from GPS EXIF ​​metadata (from drones) or by comparing images against a base map (raster or vector) at the selected location.

Auto georeferencing API reference

Configure your environment settings below to update code samples:

  • Client Libraries – select your preferred programming language of the code examples.
Scalar API Reference
v1.0
OpenAPI 3.0.2

MapTiler Service API

Server:https://service.maptiler.com/v1

MapTiler Service API

Client Libraries

auto_georeferencing

​

Start auto georeference of document

​
Path Parameters
  • document_id
    Type: string Format: uuid
    required
Body·AutoGeoreferenceRequest
application/json
  • location
    Type: object · AutoGeoreferenceLocation

    Approximate location (latitude and longitude) of the input data. Optional if the input file already contains location: GPS tags in image EXIF data, georeference in raster files, or the MapTiler georeference header in PLY files.

Responses
  • application/json
Request Example for post/datasets/{document_id}/auto_georeference
curl https://service.maptiler.com/v1/datasets/123e4567-e89b-12d3-a456-426614174000/auto_georeference \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Basic username:password' \
  --data '{
  "location": {
    "lat": 51.5074,
    "lon": -0.1278
  }
}'
{
  "id": "6c4f9984-4d01-4923-a992-9e3b307d53ae",
  "input_document_id": "c05d54ab-af65-4fa5-ba76-76009aac6535",
  "output_document_id": null,
  "state": "processing",
  "errors": null,
  "progress": 12.5
}

Get auto georeference task details

​
Path Parameters
  • task_id
    Type: string Format: uuid
    required
Responses
  • application/json
Request Example for get/datasets/auto_georeference/{task_id}
curl https://service.maptiler.com/v1/datasets/auto_georeference/123e4567-e89b-12d3-a456-426614174000 \
  --header 'Authorization: Basic username:password'
{
  "id": "6c4f9984-4d01-4923-a992-9e3b307d53ae",
  "input_document_id": "c05d54ab-af65-4fa5-ba76-76009aac6535",
  "output_document_id": null,
  "state": "processing",
  "errors": null,
  "progress": 12.5
}

Cancel auto georeference task

​
Path Parameters
  • task_id
    Type: string Format: uuid
    required
Responses
  • application/json
Request Example for post/datasets/auto_georeference/{task_id}/cancel
curl https://service.maptiler.com/v1/datasets/auto_georeference/123e4567-e89b-12d3-a456-426614174000/cancel \
  --request POST \
  --header 'Authorization: Basic username:password'
{
  "id": "6c4f9984-4d01-4923-a992-9e3b307d53ae",
  "input_document_id": "c05d54ab-af65-4fa5-ba76-76009aac6535",
  "output_document_id": null,
  "state": "processing",
  "errors": null,
  "progress": 12.5
}
Was this helpful?