Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janl/swissimage-maptiles


https://github.com/janl/swissimage-maptiles

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

Swissimage-maptiles
=============

Simple local map tileserver with a test map

# Usage

Clone this repo somewhere and run `python corsserver.py 8001` in it. This will start a local server on port 8001, which you can access at `0.0.0.0:8001`, `127.0.0.1:8001` or your local network IP, `192.168.???.???:8001`. It sends super friendly CORS headers so you can access it from everywhere.

The tile URL scheme is `hostName+':8001/{z}/{x}/{y}.jpg'`, in this particular case in CRS EPSG 21781, if you find your offsets are weird, this is why.