Zum Inhalt springen

Kachel-Endpunkte

Vektorkacheln (MVT)

URL:

GET https://tiles.pixelmap.at/data/{tileset}/{z}/{x}/{y}.pbf

Parameter:

Beispiel:

Terminal-Fenster
curl -H "Authorization: Bearer YOUR_API_TOKEN" "https://tiles.pixelmap.at/data/osm/14/8792/5867.pbf" --output tile.pbf

Rasterkacheln (PNG, JPEG)

URL:

GET https://tiles.pixelmap.at/styles/{style}/{z}/{x}/{y}.{format}

Parameter:

  • {style}: Name des Kartenstils.
  • {z}, {x}, {y}: Zoomstufe und Kachelkoordinaten.
  • {format}: Dateiformat (png, jpg).

Beispiel:

Terminal-Fenster
curl -H "Authorization: Bearer YOUR_API_TOKEN" "https://tiles.pixelmap.at/styles/basic/14/8792/5867.png" --output tile.png

High-DPI (Retina) Kacheln

URL:

GET https://tiles.pixelmap.at/styles/{style}/{z}/{x}/{y}@2x.{format}

Beispiel:

Terminal-Fenster
curl -H "Authorization: Bearer YOUR_API_TOKEN" "https://tiles.pixelmap.at/styles/basic/14/8792/5867@2x.png" --output tile@2x.png