Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pchynoweth/osm-tileserver
https://github.com/pchynoweth/osm-tileserver
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pchynoweth/osm-tileserver
- Owner: pchynoweth
- License: mit
- Created: 2019-10-27T21:58:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T21:38:04.000Z (3 months ago)
- Last Synced: 2024-09-13T11:10:37.479Z (3 months ago)
- Language: Shell
- Size: 75.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# osm-tileserver
## Overview
Basic OSM tile server based on the instructions provided on [switch2osm.org](https://switch2osm.org).
## Starting the server
Copy an OSM pbf file from [geofabrik](http://download.geofabrik.de/) to the data directory.
### With docker-compose
```
docker-compose up
```### With docker
```
docker run --rm -p 8080:80 -v $PWD/data:/import pchynoweth/osm-tileserver
```### Viewing the data
A demo leafletjs application can be found in the demo directory. Run the demo as follows:
```
npm install
npm start
```This should start a basic http server locally. You should then point your browser to [http://localhost:3000](http://localhost:3000).