All Projects → OsmHackTW → osm-tiles-docker

OsmHackTW / osm-tiles-docker

Licence: other
OSM styles tiles

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
HTML
75241 projects
shell
77523 projects
C++
36643 projects - #6 most used programming language
sed
78 projects

OpenStreetMap Tiles

Docker compose config incldues the following software stack for OpenStreetMap

  • postgis, database to store OpenStreetMap data. _ osm2pgsql, Convert OSM planet snapshot data to SQL suitable for loading into a PostgreSQL database with PostGIS geospatial extensions.
  • mod_tile
    • mapnik
    • Cascadenik
    • mod_tile + renderd
    • carto & millstone

Map styles.

The docker instances will build and servie tile based on the following stylesheets.

Usage

Start the server

$ docker-compose up

If this is your first time launch the instances, the renderd would not be ready before the osm data been imported into postgis. You need restart apache and renderd after the postgis is done.

$ docker exec -t -i osmtiles_web_1 supervisorctl restart renderd apache2

Once the database is inited, it will be saved in volume, and you don't need to restart the services manually.

After the server is ready, launch a browser to localhost:8080. You should able to switch to differnet style from the leaflet map controller.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].