Skip to content

0live/docker-imposm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-imposm

Imposm configuration wrapper

For now the project use OpenMapTiles schema: https://openmaptiles.org/schema/

The mapping.yaml comes from https://github.com/openmaptiles/openmaptiles:

Steps to deploy:

  • Build imposm image
    • Create imposm image with configuration files for Imposm + list of .pbf files
  • Run imposm & postgis containers + volumes
    • Create a postgis db with hstore extension and run imposm container
  • Import additional data for openmaptiles schema
    • Add Natural Earth and stuff in postgis db
  • Import OSM data with openmaptiles mapping file
    • Exec imposm import command by iterating on .pbf files
  • Boumbap you have an OSM database

For now the 2 only manual steps are:

  • Define the area of work through the clip.geojson
  • Get .pbf urls and set it in the .env file

Next steps:

  • Check OpenMapTiles styles for maps -> Is it following the postgis schema?
  • Tegola: How to configure lists of sources/layers + Pregenerate tiles0 + dockerize
  • Maputnik: How to open with a specific config file?
  • Sprites: library for sprites generation
  • Add osm update command + strategy to update tiles if pregenerated tiles are needed

About

Imposm configuration wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published