Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 924 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 924 Bytes

GDAL2Tiles-Server

gdal2tiles.py wrapped in a server that also hosts the tiles

Usage

  • Create the volume that holds your processed tilesets docker volume create gdal_tiles
  • Start The server
    • Production: docker-compose up -d
    • Development: docker-compose -f docker-compose.dev.yml -f docker-compose.yml up -d
  • Make a post request with your map to http://localhost:8000/upload with the image in the body.
    • Take a look at scripts/http/upload-map.http
  • That image is now available as a tileset at http://localhost:8000/tiles/image-name/{zoom}/{x}/{y}.png

Special Thanks

Licenses

  • See license in gdal2tiles.py
  • probably others
  • All other Code MIT License