area kivagas-megjelenites nem megy...

Dániel Vásárhelyi asdmin at gmail.com
2009. Nov. 30., H, 11:46:27 UTC


Csao,

kuzdok az osmosis-sal es az osmrender.pl-lel, de nem tudom oket kozos
nevezore hozni. Alapvetoen a hungary.osm.bz2-bol vagok ki egy
negyzetet, ami budapestnek felel meg tobbe-kevesbe, es azt renderelnem
le.

Alul van egy printout, hogy mit csinalok es milyen commandokat hivok
meg, csatoltam egy kepet arrol, hogy ez mit kreal.  Hasznalhatatlan
vacakot.

Ugy tunik, hogy az osmosis levag olyan dolgokat is az osm filebol,
amire az osmrender-nek szuksege lenne, es ezert hulyeseg jon ki az
osmrenderbol. Ezt onnan gondolom, hogy az osmrender egy csomo
marhasagot ir ki az stderr-re, amikor dolgozik, azert van mogotte a
2>/dev/null. Ilyesmiket:
Use of uninitialized value $y1 in division (/) at
gary68-osmtool/OSM/osm.pm line 742, <$file> line 156956.
Use of uninitialized value $y1 in subtraction (-) at
gary68-osmtool/OSM/osm.pm line 741, <$file> line 156956.
Use of uninitialized value $y2 in subtraction (-) at
gary68-osmtool/OSM/osm.pm line 741, <$file> line 156956.
Use of uninitialized value $x1 in subtraction (-) at
gary68-osmtool/OSM/osm.pm line 742, <$file> line 156956.
Use of uninitialized value $x2 in subtraction (-) at
gary68-osmtool/OSM/osm.pm line 742, <$file> line 156956.

Tud valaki segiteni, en megakadtam a debugolassal.

asd


bzcat input/hungary-`date +%Y%m%d`.osm.bz2 |
osmosis-0.31.3/bin/osmosis --read-xml enableDateParsing=no
file=/dev/stdin --bounding-box top=47.63 left=18.88 bottom=47.33
right=19.35 --write-xml file="tmp/budapest-`date +%Y%m%d`.osm"
Nov 30, 2009 12:40:15 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.31.3
Nov 30, 2009 12:40:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Nov 30, 2009 12:40:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Nov 30, 2009 12:40:16 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Nov 30, 2009 12:40:25 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
Nov 30, 2009 12:40:25 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 9972 milliseconds.
perl -I gary68-osmtool gary68-osmtool/osmrender.pl tmp/budapest-`date
+%Y%m%d`.osm output/hungary-`date +%Y%m%d`.png 1000 2>/dev/null

osmrender.pl 2.0 for file tmp/budapest-20091130.osm
get node information...
draw areas...
draw ways...
draw places...
draw other information...

osmrender.pl finished after 0 hours, 0 minutes and 12 seconds

asd at locutus:~/osmdiff$

-- 
Dániel Vásárhelyi

“He who asks a question is a fool for five minutes; he who does not
ask a question remains a fool forever”
Chinese proverb
--------- következő rész ---------
A non-text attachment was scrubbed...
Name: budapest-20091130.png
Type: image/png
Size: 1143171 bytes
Desc: nem elérhető
URL: <http://lists.openstreetmap.org/pipermail/talk-hu/attachments/20091130/a8fff28e/attachment.png>


További információk a(z) Talk-hu levelezőlistáról