diff --git a/README.md b/README.md index 62b92bd..ce72b39 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,24 @@ make generate-bbox-file # compute data bbox -- not needed for the whole planet make generate-tiles-pg # generate tiles ``` +### Workflow to generate tiles +If you go from top to bottom you can be sure that it will generate a .mbtiles file out of a .osm.pbf file +``` +make clean # clean / remove existing build files +make # generate build files +make start-db # start up the database container. +make import-data # Import external data from OpenStreetMapData, Natural Earth and OpenStreetMap Lake Labels. +make download area=albania # download albania .osm.pbf file -- can be skipped if a .osm.pbf file already existing +make import-osm # import data into postgres +make import-borders # create borders table +make import-wikidata # import Wikidata +make import-sql # create / import sql funtions +make generate-bbox-file # compute data bbox -- not needed for the whole planet +make generate-tiles-pg # generate tiles +``` +Instead of calling `make download area=albania` you can add a .osm.pbf file in the `data` folder `openmaptiles/data/your_area_file.osm.pbf` + + ## License All code in this repository is under the [BSD license](./LICENSE.md) and the cartography decisions encoded in the schema and SQL are licensed under [CC-BY](./LICENSE.md).