<div dir="ltr"><div><div><div><div><div><div><br></div>Hi,<br><br></div>I made a .osm file but they are NOT relationalized. :)<br>So please do not upload them directory.<br><a href="https://www.dropbox.com/sh/89qkkql46k61zj0/W5xTa9zW4h">https://www.dropbox.com/sh/89qkkql46k61zj0/W5xTa9zW4h</a><br>
<br></div>I think it is better to wait Jo's work.<br><br></div>> source file<br></div><div>seems contain some errors.(e.g. self crossing ways, suspicious small enclave, or so)<br></div><div>might need some validation step, in case of.<br>
</div><div><br></div><div><br></div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/22 Jo <span dir="ltr"><<a href="mailto:winfixit@gmail.com" target="_blank">winfixit@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I'm looking into converting your shapefiles into proper OSM relations automatically. It will take a while (a few days) though to finish the script.<br>
<br></div>I sent you a file yesterday, but it's better to wait a bit. That was the result of some manual practice to find out how to automate it.<br>
<br></div>Polyglot<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/21 Aggrey Muhebwa <span dir="ltr"><<a href="mailto:muhebwa.grey@gmail.com" target="_blank">muhebwa.grey@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello folks,<div><br></div><div>Following Ketty's proposal for the<a href="https://lists.openstreetmap.org/pipermail/imports/2014-January/002584.html" target="_blank"> Uganda imports</a>, i decided to start by running the shape file for one district (specifically dokolo district), but for some reason, the generated .osm file has <way>....<.way> instead of <relation>...</relation>. Somewhere, she indicates that of 112 districts, only a couple of them are being processed!! Could it be an issue of wrong data in the shape file that is being fed to the ogr2osm.py script?? </div>


<div><br></div><div>More to that, along the iway in the discussion, someone(my apologies for not mentioning the name) states that there should be a work-around to that, but that's unclear, given the fact that the ogr2osm.py algorithm follows specific steps (and it doesn't seem to be handling checks for worst case scenarios), then it will always give you wrong output if you feed it wrong imput.. (garbage in, garbage out..). </div>


<div><br></div><div>My proposal is to make sure that the shape file at the input is correct. is there any way of validating the shape file before running it through the script ?.</div><div><br></div><div>Thanks<span><font color="#888888"><br clear="all">


<div><br></div>-- <br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">Yours Faithfully</font></div><div><font face="arial, helvetica, sans-serif">Aggrey  Muhebwa</font></div><div><font face="arial, helvetica, sans-serif"><a href="tel:%28%2B256%29774561760" value="+256774561760" target="_blank">(+256)774561760</a>/701909434<br>


</font></div><font face="arial, helvetica, sans-serif">Twitter:@m_aggrey</font><div><div><font face="arial, helvetica, sans-serif">Skype:Aggrey Robotboy</font></div><div><font face="arial, helvetica, sans-serif">IRC: AggreyMuhebwa-Robotboy</font></div>


<div><font face="arial, helvetica, sans-serif"><i><b>"Creativity is Intelligence having fun"</b></i></font></div></div></div>
</font></span></div></div>
<br></div></div>_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org" target="_blank">Imports@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/imports" target="_blank">https://lists.openstreetmap.org/listinfo/imports</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org">Imports@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/imports" target="_blank">https://lists.openstreetmap.org/listinfo/imports</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Satoshi IIDA<br>mail: <a href="mailto:nyampire@gmail.com" target="_blank">nyampire@gmail.com</a><br>twitter: @nyampire
</div>