Update docs, license year and clean up `.env`.
pull/1634/head^2
Tomas Pohanka 2024-02-21 13:40:46 +01:00 zatwierdzone przez GitHub
rodzic 44cf6c8e35
commit de2fa04c37
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
5 zmienionych plików z 8 dodań i 13 usunięć

10
.env
Wyświetl plik

@ -29,21 +29,13 @@ MAX_ZOOM=7
# Use true (case sensitive) to allow data updates # Use true (case sensitive) to allow data updates
DIFF_MODE=false DIFF_MODE=false
# Some area data like openstreetmap.fr can contain invalid references
# that must be cleaned up before using it for borders -- set it to true.
BORDERS_CLEANUP=false
# The current setup assumes this file is placed inside the data/ dir # The current setup assumes this file is placed inside the data/ dir
MBTILES_FILE=tiles.mbtiles MBTILES_FILE=tiles.mbtiles
# This is the current repl_config.json location, pre-configured in the tools Dockerfile # This is the current repl_config.json location, pre-configured in the tools Dockerfile
# Makefile and quickstart replace it with the dynamically generated one, but we keep it here in case some other method is used to run. # Makefile and quickstart replace it with the dynamically generated one, but we keep it here in case some other method is used to run.
IMPOSM_CONFIG_FILE=/usr/src/app/config/repl_config.json IMPOSM_CONFIG_FILE=/usr/src/app/config/repl_config.json
# import-borders temp files - set them here to defaults, and override in the Makefile based on the area
BORDERS_CLEANUP_FILE=data/borders/cleanup.pbf
BORDERS_PBF_FILE=data/borders/filtered.pbf
BORDERS_CSV_FILE=data/borders/lines.csv
# Number of parallel processes to use when importing sql files # Number of parallel processes to use when importing sql files
MAX_PARALLEL_PSQL=5 MAX_PARALLEL_PSQL=5

Wyświetl plik

@ -1,4 +1,4 @@
Copyright (c) 2023, MapTiler.com & OpenMapTiles contributors. Copyright (c) 2024, MapTiler.com & OpenMapTiles contributors.
All rights reserved. All rights reserved.
The vector tile schema has been developed by Klokan Technologies GmbH and The vector tile schema has been developed by Klokan Technologies GmbH and

Wyświetl plik

@ -289,7 +289,7 @@ ifeq (,$(wildcard build/sql/run_last.sql))
$(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools bash -c \ $(DOCKER_COMPOSE) run $(DC_OPTS) openmaptiles-tools bash -c \
'generate-sql $(TILESET_FILE) --dir ./build/sql \ 'generate-sql $(TILESET_FILE) --dir ./build/sql \
&& generate-sqltomvt $(TILESET_FILE) \ && generate-sqltomvt $(TILESET_FILE) \
--key --gzip --postgis-ver 3.0.1 \ --key --gzip --postgis-ver 3.2.3 \
--function --fname=getmvt >> ./build/sql/run_last.sql' --function --fname=getmvt >> ./build/sql/run_last.sql'
endif endif

Wyświetl plik

@ -187,7 +187,7 @@ To change the name of the output filename, you can modify the variable `MBTILES_
All code in this repository is under the [BSD license](./LICENSE.md). Design and the cartography decisions encoded in the schema and SQL are licensed under [CC-BY](./LICENSE.md). All code in this repository is under the [BSD license](./LICENSE.md). Design and the cartography decisions encoded in the schema and SQL are licensed under [CC-BY](./LICENSE.md).
Products or services using maps derived from OpenMapTiles schema need to visibly credit "OpenMapTiles.org" or reference "OpenMapTiles" with a link to https://openmaptiles.org/. Exceptions to attribution requirement can be granted on request. Products or services using maps derived from OpenMapTiles schema need to **visibly credit "OpenMapTiles.org"** or **reference "OpenMapTiles"** with a link to https://openmaptiles.org/. Exceptions to attribution requirement can be granted on request.
For a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the For a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the
credit should appear in the corner of the map. For example: credit should appear in the corner of the map. For example:

Wyświetl plik

@ -351,8 +351,11 @@ echo " Acknowledgments "
echo " Generated vector tiles are produced work of OpenStreetMap data. " echo " Generated vector tiles are produced work of OpenStreetMap data. "
echo " Such tiles are reusable under CC-BY license granted by OpenMapTiles team: " echo " Such tiles are reusable under CC-BY license granted by OpenMapTiles team: "
echo " https://github.com/openmaptiles/openmaptiles/#license " echo " https://github.com/openmaptiles/openmaptiles/#license "
echo " Maps made with these vector tiles must display a visible credit: " echo "-------------------------------------------------------------------------------------"
echo " "
echo -e "\033[1m Maps made with these vector tiles must display a visible credit:\033[0m "
echo " © OpenMapTiles © OpenStreetMap contributors " echo " © OpenMapTiles © OpenStreetMap contributors "
echo " " echo " "
echo "-------------------------------------------------------------------------------------"
echo " Thanks to all free, open source software developers and Open Data Contributors! " echo " Thanks to all free, open source software developers and Open Data Contributors! "
echo "-------------------------------------------------------------------------------------" echo "-------------------------------------------------------------------------------------"