Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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`)