Skip to content

A standalone docker setup to run gdal2tiles.py in a server you can make a post request to generate a tileset and host the tiles it generate

Notifications You must be signed in to change notification settings

csprance/gdal2tiles-server

Repository files navigation

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

About

A standalone docker setup to run gdal2tiles.py in a server you can make a post request to generate a tileset and host the tiles it generate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published