x

Re: Gelöst&Howto: osmconvert "verliert" ways beim schneiden von srtm-daten


Geschrieben von extremecarver (Gast) am 05. Januar 2012 10:08:42: [flux]

Als Antwort auf: Gelöst&Howto: osmconvert "verliert" ways beim schneiden von srtm-daten geschrieben von laufkaefer (Gast) am 30. November 2011 14:12:

Hmm, irgendwie check ich die Vorgehensweise noch nicht ganz. Zuerst hab ich mit phyghtmap die Alpen berechnet. Allerdings hab ich jetzt halt zu viele Tiles - daher möchte ich diese mergen. Mit osmosis ist das leider ein Krampf - bzw bekomme ich derzeit weder unter windows 7 noch unter opensuse osmosis zum laufen - also habe ich osmconvert versucht zu benutzen - jetzt hab ich aber obwohl ich max-nodes=250 bei phyghtmap benutzt hab -folgendes Problem:
openSUSE-114-64-minimal:/contourlines # ./osmconvert *.osm.gz --max-refs=2000000 --out-statistics -o=alps.osm .pbf --out-pbf -t=alps.osm.pbf.tmp
osmconvert Warning: wrong order at way 10000004 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000005
osmconvert Warning: wrong order at way 10000009 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000010
osmconvert Warning: wrong order at way 10000014 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000015
osmconvert Warning: wrong sequence at way 217375200
osmconvert Warning: next object is node 217375201
osmconvert Warning: wrong sequence at way 217375213
osmconvert Warning: next object is node 217375214
osmconvert Warning: wrong sequence at way 217375224
osmconvert Warning: next object is node 217375225
lon min: 5.5754630
lon max: 16.6883333
lat min: 45.2852778
lat max: 48.6591667
nodes: 272668
ways: 1340850
relations: 0
node id min: 10000000
node id max: 217637655
way id min: 10000004
way id max: 217637656
keyval pairs max: 3
noderefs max: 250


Und anstelle des korrekten Outputs bekomme ich gar keinen output.... -- Außerdem scheint osmconvert nicht mit 11GB Memory zufrienden zu sein. Weil es lädt einfach den RAM voll (gut 1GB braucht OS)...

Auch folgender Aufruf ist nicht besser:
./osmconvert *.osm.gz --out-statistics -alps.osm
osmconvert Warning: wrong order at way 10000004 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000005
osmconvert Warning: wrong order at way 10000009 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000010
osmconvert Warning: wrong order at way 10000014 in file alps_lon5.56_6.00lat45.25_46.00_view1.osm.gz
osmconvert Warning: next object is node 10000015
osmconvert Warning: wrong sequence at way 217375200
osmconvert Warning: next object is node 217375201
osmconvert Warning: wrong sequence at way 217375213
osmconvert Warning: next object is node 217375214
osmconvert Warning: wrong sequence at way 217375224
osmconvert Warning: next object is node 217375225
lon min: 5.5754630
lon max: 16.6883333
lat min: 45.2852778
lat max: 48.6591667
nodes: 272668
ways: 1340850
relations: 0
node id min: 10000000
node id max: 217637655
way id min: 10000004
way id max: 217637656
keyval pairs max: 3
noderefs max: 250

und ich hab eine 0bit große alps.osm Datei als Resultat. Einzelne Kacheln zusammenfügen funktioniert aber...

Unter Windows dagegen kommt immer wenn eine Wildcard im Namen der Files ist folgendes:
osmconvert Error: could not get 183500800 bytes of memory.

was natürlich auch Schwachsinn ist.