[Tile-serving] [osm2pgsql] Error reading file (#492)
luzhskij
notifications at github.com
Mon Nov 2 05:42:49 UTC 2015
Hi! I'm trying to expand at the planet . I use Linux , Ubuntu.
There is such a mistake -
$ osm2pgsql --create --database allworld --latlong -U postgres -W -H localhost --keep-coastlines --number-processes 4 --cache 24000 --unlogged --flat-nodes /media/node.cache --slim --style /media/openstreetmap.style /media/planet-latest.osm.pbf
osm2pgsql SVN version 0.89.0-dev (64 bit id space)
Using built-in tag processing pipeline
Using projection SRS 4326 (Latlong)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
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=24000MB, maxblocks=384000*65536, allocation method=11
Mid: loading persistent node cache from /media/node.cache
Allocated space for persistent node cache file
Maximum node in persistent node cache: 0
Mid: pgsql, scale=10000000 cache=24000
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Reading in file: /media/planet-latest.osm.pbf
Using PBF parser.
Processing: Node(3068847k 3939.5k/s) Way(241475k 20.40k/s) Relation(0 0.00/s)terminate called after throwing an instance of 'osmium::pbf_error'
what(): PBF error: truncated data (EOF encountered)
This is due to the file by the planet-latest.osm.pbf, or not?
Sincerely.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151101/835f845c/attachment.html>
More information about the Tile-serving
mailing list