Allow changing Basemap Base-Url (#143)

This commit is contained in:
Robin
2022-03-25 00:24:27 +01:00
committed by GitHub
parent 699bfa6b66
commit 31ced408c4
2 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Planetiler Basemap Profile
This basemap profile is based on [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) v3.12.2.
This basemap profile is based on [OpenMapTiles](https://github.com/openmaptiles/openmaptiles) v3.13.
See [README.md](../README.md) in the parent directory for instructions on how to run.
## Differences from OpenMapTiles
@@ -41,11 +41,17 @@ To run `Generate.java`, use [scripts/regenerate-openmaptiles.sh](../scripts/rege
OpenMapTiles release tag:
```bash
./scripts/regenerate-openmaptiles.sh v3.12.2
./scripts/regenerate-openmaptiles.sh v3.13
```
Then follow the instructions it prints for reformatting generated code.
If you want to regenerate from a different repository than the default openmaptiles, you can specify the url like this:
```bash
./scripts/regenerate-openmaptiles.sh v3.13 https://raw.githubusercontent.com/openmaptiles/openmaptiles/
```
## License and Attribution
OpenMapTiles code is licensed under the BSD 3-Clause License, which appears at the top of any file ported from