You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update make to detect existing osm.pbf files of hierarchical area names like europe/monaco.
For example:
$ make download area=europe/monaco
Followed by
$ ls data/europe/monaco.osm.pbf
data/europe/monaco.osm.pbf
$ make import-osm
Starting postgres docker compose target using default image (no recreate if exists)
Creating openmaptiles_postgres_1 ... done
ERROR: The 'area' parameter or environment variable have not been set, and there is no data/*.osm.pbf file
make import-osm area=<area-id>
To download an area, use make download <area-id>
To list downloadable areas, use make list-geofabrik and/or make list-bbbike
Makefile:343: recipe for target 'import-osm' failed
make: *** [import-osm] Error 1
The text was updated successfully, but these errors were encountered:
zstadler
added a commit
to zstadler/openmaptiles
that referenced
this issue
Sep 29, 2020
- Use `find` instead of `wildcard` to detect existing `.osm.pbf` files
- Use `patsubst` to extract an `area` from a filename
- Clarify messssage, especially for errors
Resolveopenmaptiles#1008
- Use `find` instead of `wildcard` to detect existing `.osm.pbf` files
- Use `patsubst` to extract an `area` from a filename
- Clarify messssage, especially for errors
Resolve#1008
Update
make
to detect existingosm.pbf
files of hierarchical area names likeeurope/monaco
.For example:
Followed by
The text was updated successfully, but these errors were encountered: