lambdajack / sequentially-generate-planet-mbtiles

Generate vector tiles for the entire planet on relatively low spec hardware.
https://wiki.openstreetmap.org/wiki/Sequentially-generate-planet-mbtiles
MIT License
100 stars 15 forks source link

mbtiles.go:63: exit status 139 #21

Open mingganglee opened 1 year ago

mingganglee commented 1 year ago

Error: mbtiles.go:63: exit status 139

env

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

Download pbf

Command:

sudo ./sequentially-generate-planet-mbtiles--unix-amd64-v3.1.0 -p beijing.pbf

Output:

2023/07/18 13:51:48 attempting to use not more than 13824 MB of ram
2023/07/18 13:51:48 using tileserver-gl-basic style target
2023/07/18 13:51:48 #
2023/07/18 13:51:48 loggers.go:26: #
2023/07/18 13:51:48 #
2023/07/18 13:51:48 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
2023/07/18 13:51:50 sequentially-generate-planet-mbtiles started: &{srcFileProvided:true PbfFile:/home/art/work/osm_data/beijing.pbf WorkingDir:/home/art/work/osm_data/data OutDir:/home/art/work/osm_data/data/out ExcludeOcean:false ExcludeLanduse:false TilemakerConfig:/home/art/.cache/sequentially-generate-planet-mbtiles/tilemaker/resources/config-openmaptiles.json TilemakerProcess:/home/art/.cache/sequentially-generate-planet-mbtiles/tilemaker/resources/process-openmaptiles.lua MaxRamMb:13824 OutAsDir:false SkipSlicing:false MergeOnly:false SkipDownload:false}
2023/07/18 13:51:50 git repo /home/art/.cache/sequentially-generate-planet-mbtiles/gdal already exists, skipping clone
2023/07/18 13:51:50 git repo /home/art/.cache/sequentially-generate-planet-mbtiles/osmium/osmium-tool already exists, skipping clone
2023/07/18 13:51:50 git repo /home/art/.cache/sequentially-generate-planet-mbtiles/osmium/libosmium already exists, skipping clone
2023/07/18 13:51:50 git repo /home/art/.cache/sequentially-generate-planet-mbtiles/tilemaker already exists, skipping clone
2023/07/18 13:51:50 git repo /home/art/.cache/sequentially-generate-planet-mbtiles/tippecanoe already exists, skipping clone
2023/07/18 13:51:50 docker image sequential-osmium already built - proceeding without cached rebuild
2023/07/18 13:51:50 docker image sequential-gdal already built - proceeding without cached rebuild
2023/07/18 13:51:50 docker image sequential-tilemaker already built - proceeding without cached rebuild
2023/07/18 13:51:50 docker image sequential-tippecanoe already built - proceeding without cached rebuild
2023/07/18 13:51:50 source file provided - skipping planet download https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf
2023/07/18 13:51:50 water-polygons-split-4326.zip already exists; skipping download.
2023/07/18 13:51:50 ne_10m_urban_areas.zip already exists; skipping download.
2023/07/18 13:51:50 ne_10m_antarctic_ice_shelves_polys.zip already exists; skipping download.
2023/07/18 13:51:50 ne_10m_glaciated_areas.zip already exists; skipping download.
2023/07/18 13:51:50 unzipping /home/art/work/osm_data/data/water-polygons-split-4326.zip
2023/07/18 13:52:01 unzipping /home/art/work/osm_data/data/ne_10m_urban_areas.zip
2023/07/18 13:52:01 unzipping /home/art/work/osm_data/data/ne_10m_antarctic_ice_shelves_polys.zip
2023/07/18 13:52:01 unzipping /home/art/work/osm_data/data/ne_10m_glaciated_areas.zip
2023/07/18 13:52:02 previous progress detected; attempting to continue...
2023/07/18 13:52:06 previously incomplete: 117.535000, 39.420000, 117.525000, 41.080000
2023/07/18 13:52:08 slicing already complete; moving on to tile generation
2023/07/18 13:52:08 generating temporary mbtiles: /home/art/work/osm_data/data/mbtiles/9426803175.mbtiles from /home/art/work/osm_data/data/pbf/slices/3306528744-tmp.osm.pbf; directory output: false
Layer place (z0-14)
Layer boundary (z0-14)
Layer poi (z12-14)
Layer poi_detail (z14-14) -> poi
Layer housenumber (z14-14)
Layer waterway (z8-14)
Layer waterway_detail (z12-14) -> waterway
Layer transportation (z4-14)
Layer transportation_name (z8-14)
Layer transportation_name_mid (z12-14) -> transportation_name
Layer transportation_name_detail (z14-14) -> transportation_name
Layer building (z13-14)
Layer water (z6-14)
Layer ocean (z0-14) -> water
Layer water_name (z14-14)
Layer water_name_detail (z14-14) -> water_name
Layer aeroway (z11-14)
Layer aerodrome_label (z10-14)
Layer park (z11-14)
Layer landuse (z4-14)
Layer urban_areas (z4-8) -> landuse
Layer landcover (z0-14)
Layer ice_shelf (z0-9) -> landcover
Layer glacier (z2-9) -> landcover
Layer mountain_peak (z11-14)
Bounding box 116.45, 39.42, 117.525, 41.08
Reading .shp ocean
Reading .shp urban_areas
Reading .shp ice_shelf
Reading .shp glacier
Sorting loaded shapes
Reading .pbf /src/3306528744-tmp.osm.pbf
Block 122/138 ways 0 relations 0
Sorting nodes
terminate called after throwing an instance of 'std::out_of_range'
  what():  Could not find node with id 3589214908
2023/07/18 13:52:10 mbtiles.go:63: exit status 139