merlinnot / nominatim-docker

Fully-featured container for geocoding, reverse geocoding and address lookup based on Nominatim and Open Street Map data.
MIT License
55 stars 35 forks source link

ERROR: No Data during build #18

Open Cloudmersive opened 5 years ago

Cloudmersive commented 5 years ago

osm2pgsql version 0.96.0 (64 bit id space)

Allocating memory for dense node cache Allocating dense node cache in one big chunk Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=12000MB, maxblocks=192000*65536, allocation method=11 Mid: pgsql, cache=12000 Setting up table: planet_osm_nodes Setting up table: planet_osm_ways Setting up table: planet_osm_rels Parsing gazetteer style file '/srv/nominatim/Nominatim/settings/import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping

Reading in file: /srv/nominatim/src/data.osm.pbf Using PBF parser. Processing: Node(358820k 707.7k/s) Way(0k 0.00k/s) Relation(0 0.00/s)string(7) "No Data" ERROR: No Data The command '/bin/sh -c service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop' returned a non-zero code: 255

Cloudmersive commented 5 years ago

Even with 128GB of RAM I am getting this error:

Removing intermediate container 73a43611068b ---> 4ac1a37d37c5 Step 49/68 : RUN service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop ---> Running in a3414236a884

Allocating memory for dense node cache Allocating dense node cache in one big chunk Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=60000MB, maxblocks=960000*65536, allocation method=11 Mid: pgsql, cache=60000 Setting up table: planet_osm_nodes Setting up table: planet_osm_ways Setting up table: planet_osm_rels Parsing gazetteer style file '/srv/nominatim/Nominatim/settings/import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping

Reading in file: /srv/nominatim/src/data.osm.pbf Using PBF parser. Processing: Node(3416720k 1998.1k/s) Way(0k 0.00k/s) Relation(0 0.00/s)ERROR: No Data string(7) "No Data" The command '/bin/sh -c service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop' returned a non-zero code: 255 adm101@buildslave:~/nsfw/geocode$