<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I now finaly fond the time to reorganize my stuff so it is all
placed on same disk and paths without spaces.<br>
<br>
I use a command like this<br>
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"<br>
<br>
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,<br>
the europe.osm.pbf file is downloaded from geofabrik and has a size
of 4232.793.<br>
<br>
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.<br>
<br>
The polygon file contains the points listed below, and is used to
work<br>
Danmark<br>
1<br>
7.756207319697012 57.17811114244406 <br>
8.122594433896197 54.68542279355479<br>
8.772571888815218 53.85912300120899<br>
9.250266351894227 53.87320365806346 <br>
10.66898056896869 53.75668842833822 <br>
10.93022352993368 53.84640031897176 <br>
11.12155571155283 54.05808521807632 <br>
13.35762574640139 54.77019857454743 <br>
13.35762574640139 54.77019857454743<br>
15.73963894254106 54.7487272064959<br>
15.19043058475876 55.39229018737169<br>
12.64819507638499 55.23659923627502<br>
12.87130748255543 55.60615224672924<br>
12.64369438952046 55.91525904110308<br>
12.6523968241681 56.04250834511427<br>
12.58172181799832 56.08257976119043<br>
10.94988684158892 57.98475542747029<br>
7.768299604349267 57.32327528330718<br>
END<br>
END<br>
<br>
<br>
Any clues to why I dont get any ways in my OSM file ?<br>
<br>
<br>
Carsten<br>
<br>
<br>
Den 09-11-2010 03:51, Brett Henderson skrev:
<blockquote
cite="mid:AANLkTimLgL9x83er-P4FGHer0kDHfRmD3VbdydS0swLu@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Tue, Nov 9, 2010 at 2:51 AM, Carsten
Nielsen <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:list_reply@toensberg.dk">list_reply@toensberg.dk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> Hi<br>
<br>
Thankyou for the answer.<br>
<br>
There are a no spaces in the path %OSMTOOLS%, but there are
two in the %DATADIR% path<br>
The thow paths are pointing to seperate drives, yes.<br>
<br>
Are there no workarounds for these issues besides having to
put all the stuff on the same drive ?<br>
</div>
</blockquote>
<div><br>
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.<br>
<br>
Brett<br>
</div>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
Ingen virus fundet i denne indkommende meddelelse.
Kontrolleret af AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 9.0.864 / Virusdatabase: 271.1.1/3244 - Udgivelsesdato: 11/08/10 08:34:00
</pre>
</blockquote>
</body>
</html>