Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freshleafmedia/osm-import
Open Street Map Tile Server Import
https://github.com/freshleafmedia/osm-import
map-tiles maps openstreetmap openstreetmap-server osm
Last synced: 12 days ago
JSON representation
Open Street Map Tile Server Import
- Host: GitHub
- URL: https://github.com/freshleafmedia/osm-import
- Owner: freshleafmedia
- License: mit
- Created: 2020-06-01T15:03:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T09:55:53.000Z (over 4 years ago)
- Last Synced: 2025-01-20T05:28:34.705Z (15 days ago)
- Topics: map-tiles, maps, openstreetmap, openstreetmap-server, osm
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Open Street Map Tile Server Import
## Build
```
docker build .
```## Run
```
docker run -it --rm -v /path/to/map/data.osm.pbf:/data.osm.pbf freshleafmedia/osm-import
```### Environment Variables
There are a couple of environment variables used to configure where the Postgis DB is and how to authenticate
- `DB_HOST` (default is `localhost`)
- `DB_PORT` (default is 5432)
- `DB_USER` (default is `renderer`)
- `DB_PASSWORD`
- `DB_NAME` (default is `gis`)
- `THREADS` How many threads to use while importing (defaults to the output of `nproc`)