rd13_tile_server/docs/api-endpoints.md
Conrad Schulz bfd8dfdf96 feat: initial tile server setup
- TileServer-GL + nginx reverse proxy (docker-compose)
- CORS-Konfiguration für MediaWiki, Nextcloud & weitere Dienste
- Rate-Limiting & Tile-Caching-Header via nginx
- config/config.json: OSM + Satellitenkacheln
- scripts/download-data.sh: Planetiler (OSM), Sentinel-2 Hinweise
- docs: API-Endpoints, MediaWiki Kartographer, Nextcloud Maps
- .gitignore: MBTiles/PMTiles und .env ausgeschlossen
2026-05-30 15:57:07 +00:00

1.1 KiB

Allgemeine Tile-Server Endpunkte

Sobald der Server läuft, sind folgende Endpoints verfügbar:

Web-Interface:

http://SERVER:PORT/

Styles (Raster-Tiles, PNG):

http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png ← OSM

http://SERVER:PORT/styles/satellite-hybrid/{z}/{x}/{y}.png ← Satellit

http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}@2x.png ← Retina

Daten (Vektor-Tiles, PBF):

http://SERVER:PORT/data/osm-openmaptiles/{z}/{x}/{y}.pbf

http://SERVER:PORT/data/satellite/{z}/{x}/{y}.png

TileJSON (Metadaten für Leaflet, MapLibre, etc.):

http://SERVER:PORT/styles/osm-bright.json

http://SERVER:PORT/data/osm-openmaptiles.json

WMTS (für QGIS, ArcGIS, etc.):

http://SERVER:PORT/styles/osm-bright/wmts

Leaflet.js Beispiel:

L.tileLayer('http://SERVER:PORT/styles/osm-bright/{z}/{x}/{y}.png', {

attribution: '© OpenMapTiles © OpenStreetMap contributors',

maxZoom: 20

}).addTo(map);

MapLibre GL Beispiel:

new maplibregl.Map({

style: 'http://SERVER:PORT/styles/osm-bright.json',

container: 'map'

});