Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slicing fails with germany-latest.osm.pbf #12

Open
rednaz1337 opened this issue Sep 13, 2022 · 0 comments
Open

Slicing fails with germany-latest.osm.pbf #12

rednaz1337 opened this issue Sep 13, 2022 · 0 comments

Comments

@rednaz1337
Copy link

Describe the bug
I tried to use this with germany-latest.osm.pbf from Geofabrik, but with fails to slice the file.
The extract should work, because I extracted a smaller region from with with osmium. tilemaker successfully creates tiles from that extract, but not from the whole thing, because I don't have enough RAM.
I don't know if this also happens with other extracts or the whole planet, I don't have enough storage to try it with the whole thing

To Reproduce
Steps to reproduce the behavior:

  1. Download germany-latest.osm.pbf from Geofabrik
  2. set the file pbfFile parameter in config.json to the downloaded file.
  3. run ./sequentially-generate-planet-mbtiles--unix-amd64-v3.1.0 -c config.json

Expected behavior
The program slices the file and then generates tiles.

Screenshots

2022/09/13 16:49:07 attempting to use not more than 13746 MB of ram
2022/09/13 16:49:07 using tileserver-gl-basic style target
2022/09/13 16:49:07 #
2022/09/13 16:49:07 loggers.go:26: #
2022/09/13 16:49:07 #
2022/09/13 16:49:07 resumption of a previously stopped execution with different parameters detected
UNKNOWN THINGS CAN HAPPEN WHEN RESUMING WITH DIFFERENT PARAMETERS. You should only proceed if you are not confident that your changed parameters will have no adverse affect on the end result or are prepared to accept the outcome; otherwise you should clean the working/output directories and start again (you can save and replace downloaded files if requried). DO YOU WISH TO CONTINUE? yes/no
yes
2022/09/13 16:49:09 sequentially-generate-planet-mbtiles started: &{srcFileProvided:true PbfFile:/home/hz/Dokumente/osm/planet-sequencial/germany-latest.osm.pbf WorkingDir:/home/hz/Dokumente/osm/planet-sequencial/data OutDir:/home/hz/Dokumente/osm/planet-sequencial/build ExcludeOcean:false ExcludeLanduse:false TilemakerConfig:/home/hz/.cache/sequentially-generate-planet-mbtiles/tilemaker/resources/config-openmaptiles.json TilemakerProcess:/home/hz/.cache/sequentially-generate-planet-mbtiles/tilemaker/resources/process-openmaptiles.lua MaxRamMb:13746 OutAsDir:false SkipSlicing:false MergeOnly:false SkipDownload:false}
2022/09/13 16:49:09 git repo /home/hz/.cache/sequentially-generate-planet-mbtiles/gdal already exists, skipping clone
2022/09/13 16:49:09 git repo /home/hz/.cache/sequentially-generate-planet-mbtiles/osmium/osmium-tool already exists, skipping clone
2022/09/13 16:49:09 git repo /home/hz/.cache/sequentially-generate-planet-mbtiles/osmium/libosmium already exists, skipping clone
2022/09/13 16:49:09 git repo /home/hz/.cache/sequentially-generate-planet-mbtiles/tilemaker already exists, skipping clone
2022/09/13 16:49:09 git repo /home/hz/.cache/sequentially-generate-planet-mbtiles/tippecanoe already exists, skipping clone
2022/09/13 16:49:09 docker image sequential-osmium already built - proceeding without cached rebuild
2022/09/13 16:49:09 docker image sequential-gdal already built - proceeding without cached rebuild
2022/09/13 16:49:09 docker image sequential-tilemaker already built - proceeding without cached rebuild
2022/09/13 16:49:10 docker image sequential-tippecanoe already built - proceeding without cached rebuild
2022/09/13 16:49:10 source file provided - skipping planet download https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf
2022/09/13 16:49:10 water-polygons-split-4326.zip already exists; skipping download.
2022/09/13 16:49:10 ne_10m_urban_areas.zip already exists; skipping download.
2022/09/13 16:49:10 ne_10m_antarctic_ice_shelves_polys.zip already exists; skipping download.
2022/09/13 16:49:10 ne_10m_glaciated_areas.zip already exists; skipping download.
2022/09/13 16:49:10 unzipping /home/hz/Dokumente/osm/planet-sequencial/data/water-polygons-split-4326.zip
2022/09/13 16:49:10 unzipping /home/hz/Dokumente/osm/planet-sequencial/data/ne_10m_urban_areas.zip
2022/09/13 16:49:10 unzipping /home/hz/Dokumente/osm/planet-sequencial/data/ne_10m_antarctic_ice_shelves_polys.zip
2022/09/13 16:49:10 unzipping /home/hz/Dokumente/osm/planet-sequencial/data/ne_10m_glaciated_areas.zip
2022/09/13 16:49:10 slice generation started; there may be significant gaps between logs
2022/09/13 16:49:10 target file size: 916 MB
2022/09/13 16:49:10 operating on: /home/hz/Dokumente/osm/planet-sequencial/germany-latest.osm.pbf
2022/09/13 16:49:10 tree.go:35: extract.go | Slicer | Failed to get extent: exit status 1

It does not change anything if I delete the working and output directories.

Desktop (please complete the following information):

  • OS: Fedora Workstation 36
  • Docker: podman-docker version 4.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant