update osm with osmosis fails with "Unknown file format 'auto'."

المشرف العام

Administrator
طاقم الإدارة
I try to update update my data for europe, but it fails.

this is how i imported the data:

osm2pgsql --slim -d gis -C 20000 --number-processes 6 -S /usr/local/share/osm2pgsql/default.style --flat-nodes /usr/local/share/maps/planet/europe_nodes.bin /usr/local/share/maps/planet/europe-latest.osm.pbfI downloaded the state file the same day, which was:

curl -o /home/osm/osmosisworkingdir/state.txt http://download.geofabrik.de/europe-updates/000/001/017.state.txtand this is the update i mostly got from a question here 94352:

osmosis --read-replication-interval workingDirectory=/home/osm/osmosisworkingdir/ --simplify-change --write-xml-change | \osm2pgsql --append -d gis -C 20000 --slim --number-processes 6 -S /usr/local/share/osm2pgsql/default.style --flat-nodes /usr/local/share/maps/planet/europe_nodes.bin -but it does not work:

osm2pgsql SVN version 0.89.0-dev (64 bit id space)Using built-in tag processing pipelineUsing projection SRS 900913 (Spherical Mercator)Setting up table: planet_osm_pointSetting up table: planet_osm_lineSetting up table: planet_osm_polygonSetting up table: planet_osm_roadsAllocating memory for dense node cacheAllocating dense node cache in one big chunkAllocating memory for sparse node cacheSharing dense sparseNode-cache: cache=20000MB, maxblocks=320000*65536, allocation method=11Mid: loading persistent node cache from /usr/local/share/maps/planet/europe_nodes.binMaximum node in persistent node cache: 3909091327Mid: pgsql, scale=100 cache=20000Setting up table: planet_osm_nodesSetting up table: planet_osm_waysSetting up table: planet_osm_relsReading in file: -Maximum node in persistent node cache: 3909091327node cache: stored: 0(-nan%), storage efficiency: -nan% (dense blocks: 0, sparse nodes: 0), hit rate: -nan%Osm2pgsql failed due to ERROR: Unknown file format 'auto'.Dec 30, 2015 3:25:57 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Osmosis Version 0.40.1Dec 30, 2015 3:25:57 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Preparing pipeline.Dec 30, 2015 3:25:57 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Launching pipeline execution.Dec 30, 2015 3:25:57 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Pipeline executing, waiting for completion.Dec 30, 2015 3:26:29 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Pipeline complete.Dec 30, 2015 3:26:29 PM org.openstreetmap.osmosis.core.Osmosis runINFO: Total execution time: 32153 milliseconds.i could not find a good tutorial on setting up an import from geofakrikand keeping it current. Maybe someone here knows one or could show me the complete list of commands necessary? (i am aiming for Europe, but e.g. Hamburg or Berlin are pretty fast to import)

thanks for any help!



أكثر...
 
أعلى