Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wipfli/swiss-map
A simple map of Switzerland (and the planet)
https://github.com/wipfli/swiss-map
openstreetmap
Last synced: 2 months ago
JSON representation
A simple map of Switzerland (and the planet)
- Host: GitHub
- URL: https://github.com/wipfli/swiss-map
- Owner: wipfli
- License: cc0-1.0
- Created: 2022-06-30T11:02:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T05:55:35.000Z (9 months ago)
- Last Synced: 2024-04-08T06:41:38.982Z (9 months ago)
- Topics: openstreetmap
- Language: Java
- Homepage: https://wipfli.github.io/swiss-map/
- Size: 441 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# swiss-map
A simple map of Switzerland (and the planet).Uses:
* [Planetiler](https://github.com/onthegomap/planetiler) to generate vector tiles.
* [PMTiles](https://github.com/protomaps/PMTiles) for hosting and serving tiles on Cloudflare.
* [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js) for rendering in the web browser.
* [qrank](https://qrank.wmcloud.org) for finding `place=*` label importance## tile hosting
The tiles are hosted on the Cloudflare R2 storage service. A Cloudflare Worker extracts the data from a `swiss-map.pmtiles` file stored on R2 and serves tiles at a `{z}/{x}/{y}.pbf` endpoint. For instructions how to host PMTiles on Cloudflare, see https://protomaps.com/docs/cdn/cloudflare.
## demo
https://wipfli.github.io/swiss-map/
## name
The name of this map style is "Swiss Map" because it takes some inspiration from Swiss mapping conventions and has the goal to look good for areas in Switzerland, despite the global coverage of the map.
## qrank
See [Planetiler](./Planetiler).