File tree 2 files changed +10
-14
lines changed
2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 4
4
TILESET_FILE = openmaptiles.yaml
5
5
6
6
# Use 3-part patch version to ignore patch updates, e.g. 5.0.0
7
- TOOLS_VERSION = 6.0
7
+ TOOLS_VERSION = 6.1
8
8
9
9
# Make sure these values are in sync with the ones in .env-postgres file
10
10
PGDATABASE = openmaptiles
@@ -18,16 +18,17 @@ PGPORT=5432
18
18
# By default, the Makefile will use the content of data/$(area).bbox file if it exists.
19
19
BBOX = -180.0,-85.0511,180.0,85.0511
20
20
21
- # Which zooms to generate in make generate-tiles
21
+ # Which zooms to generate with make generate-tiles-pg
22
22
MIN_ZOOM = 0
23
23
MAX_ZOOM = 7
24
24
25
+ # `MID_ZOOM` setting only works with `make generate-tiles-pg` command. Make sure MID_ZOOM < MAX_ZOOM.
26
+ # See https://github.com/openmaptiles/openmaptiles-tools/pull/383
27
+ # MID_ZOOM=11
28
+
25
29
# Use true (case sensitive) to allow data updates
26
30
DIFF_MODE = false
27
31
28
- # Hide some output from Mapnik tile generation for clarity
29
- FILTER_MAPNIK_OUTPUT = 1
30
-
31
32
# Some area data like openstreetmap.fr can contain invalid references
32
33
# that must be cleaned up before using it for borders -- set it to true.
33
34
BORDERS_CLEANUP = false
@@ -49,7 +50,5 @@ MAX_PARALLEL_PSQL=5
49
50
# Number of parallel threads to use when generating vector map tiles
50
51
COPY_CONCURRENCY = 10
51
52
52
- # Variables for generate tiles using PGquery
53
+ # Variables for generate tiles using tilelive-pgquery
53
54
PGHOSTS_LIST =
54
- NO_GZIP = 1
55
- USE_KEY_COLUMN = 1
Original file line number Diff line number Diff line change @@ -163,12 +163,7 @@ jobs:
163
163
# Get database total size, in MB
164
164
# Once Makefile has a few more improvements, we can use this approach instead:
165
165
# echo $'\\set QUIET on \\a \\x off \\t \\\\ select pg_database_size(current_database())/1024/1024;' | make -s psql
166
- if grep -qE '^ import-osm:$' docker-compose.yml; then
167
- # old version using dedicated import-osm docker image
168
- DB_SIZE_MB=$(docker-compose run --rm -u $(id -u):$(id -g) import-osm ./psql.sh -qtAc 'select pg_database_size(current_database())/1024/1024;')
169
- else
170
- DB_SIZE_MB=$(docker-compose run --rm -u $(id -u):$(id -g) openmaptiles-tools psql.sh -qtAc 'select pg_database_size(current_database())/1024/1024;')
171
- fi
166
+ DB_SIZE_MB=$(docker-compose run --rm -u $(id -u):$(id -g) openmaptiles-tools psql.sh -qtAc 'select pg_database_size(current_database())/1024/1024;')
172
167
docker-compose run --rm -u $(id -u):$(id -g) openmaptiles-tools pg_dump --schema-only > "${PROFILE_DIR}/schema.sql"
173
168
echo "$DB_SIZE_MB" > "${PROFILE_DIR}/db_size.tsv"
174
169
}
@@ -188,6 +183,7 @@ jobs:
188
183
git reset --hard ${CURRENT_SHA}^1
189
184
fi
190
185
186
+ docker-compose pull
191
187
PROFILE_DIR=../perf_cache
192
188
create_db
193
189
if [ ! -f ../ci_cache/wikidata-cache.json ]; then
@@ -209,6 +205,7 @@ jobs:
209
205
echo "Found cached performance results"
210
206
fi
211
207
208
+ docker-compose pull
212
209
pushd ../perf_cache
213
210
echo "Should be in perf_cache"
214
211
pwd
You can’t perform that action at this time.
0 commit comments