Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janl/swissimage-maptiles
https://github.com/janl/swissimage-maptiles
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/janl/swissimage-maptiles
- Owner: janl
- Fork: true (espy/swissimage-maptiles)
- Created: 2014-11-29T14:56:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-03T11:08:27.000Z (about 10 years ago)
- Last Synced: 2024-04-07T01:27:51.483Z (9 months ago)
- Language: Python
- Size: 33.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.