[OSM-talk] Osmosis exception
Carsten Nielsen
list_reply at toensberg.dk
Sun Dec 5 16:52:19 GMT 2010
I now finaly fond the time to reorganize my stuff so it is all placed on same disk and
paths without spaces.
I use a command like this
call "%OSMTOOLS%\Osmosis\osmosis-0.37\bin\osmosis.bat" --read-bin
"%DATADIR%\europe.osm.pbf" --bounding-polygon file="%DATADIR%\CTN OSM DK mm.poly.txt"
--write-xml file="%DATADIR%\denmark_mm.osm"
And I actually get an denmark_mm.osm file but it dont contain any <way id=xx> elements but
a lot of <node id=xx> elemets,
the europe.osm.pbf file is downloaded from geofabrik and has a size of 4232.793.
Since the input file is pbf format I dont know how to verify that it contains ways, but
assuming it is ok it must be my osmosis arguments that are wrong, or the polygon file.
The polygon file contains the points listed below, and is used to work
Danmark
1
7.756207319697012 57.17811114244406
8.122594433896197 54.68542279355479
8.772571888815218 53.85912300120899
9.250266351894227 53.87320365806346
10.66898056896869 53.75668842833822
10.93022352993368 53.84640031897176
11.12155571155283 54.05808521807632
13.35762574640139 54.77019857454743
13.35762574640139 54.77019857454743
15.73963894254106 54.7487272064959
15.19043058475876 55.39229018737169
12.64819507638499 55.23659923627502
12.87130748255543 55.60615224672924
12.64369438952046 55.91525904110308
12.6523968241681 56.04250834511427
12.58172181799832 56.08257976119043
10.94988684158892 57.98475542747029
7.768299604349267 57.32327528330718
END
END
Any clues to why I dont get any ways in my OSM file ?
Carsten
Den 09-11-2010 03:51, Brett Henderson skrev:
> On Tue, Nov 9, 2010 at 2:51 AM, Carsten Nielsen <list_reply at toensberg.dk
> <mailto:list_reply at toensberg.dk>> wrote:
>
> Hi
>
> Thankyou for the answer.
>
> There are a no spaces in the path %OSMTOOLS%, but there are two in the %DATADIR% path
> The thow paths are pointing to seperate drives, yes.
>
> Are there no workarounds for these issues besides having to put all the stuff on the
> same drive ?
>
>
> Not that I'm aware of. I only found out about the problem a few days ago. My batch
> file skillz are sorely lacking and I haven't tried to fix it. The other option is to
> edit the osmosis.bat file and do some hard-coding for your environment. That's possibly
> your best option right now.
>
> Brett
>
>
>
> Ingen virus fundet i denne indkommende meddelelse.
> Kontrolleret af AVG - www.avg.com
> Version: 9.0.864 / Virusdatabase: 271.1.1/3244 - Udgivelsesdato: 11/08/10 08:34:00
>
-------------- n?ste del --------------
En HTML-vedh?ftning blev fjernet...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20101205/a47314d4/attachment.html>
More information about the talk
mailing list