Info about how to change output file name.

pull/1633/head
tompohys@gmail.com 2024-02-20 14:22:12 +01:00
rodzic 794976423d
commit fceba638ba
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -160,7 +160,7 @@ make build-style
Now you are ready to **generate the vector tiles**. By default, `./.env` specifies the entire planet BBOX for zooms 0-7, but running `generate-bbox-file` will analyze the data file and set the `BBOX` param to limit tile generation.
```
make generate-bbox-file # compute data bbox -- not needed for the whole planet
make generate-bbox-file # compute data bbox -- not needed for the whole planet or for downloaded area by `make download`
make generate-tiles-pg # generate tiles
```
@ -175,11 +175,13 @@ make download area=albania # download albania .osm.pbf file -- can be skipped i
make import-osm # import data into postgres
make import-wikidata # import Wikidata
make import-sql # create / import sql functions
make generate-bbox-file # compute data bbox -- not needed for the whole planet
make generate-bbox-file # compute data bbox -- not needed for the whole planet or for downloaded area by `make download`
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`
Changing name of the output filename, you can change variable `MBTILES_FILE` in `.env` file or set up environment variable `MBTILES_FILE` before run ./quickstart.sh or `make generate-tiles-pg` (e.g. `MBTILES_FILENAME=monaco.mbtiles ./quickstart.sh monaco`)
## License