<br><br><div class="gmail_quote">On Tue, Nov 17, 2009 at 12:10 PM, Ian Dees <span dir="ltr"><<a href="mailto:ian.dees@gmail.com">ian.dees@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Tue, Nov 17, 2009 at 2:02 PM, Pieren <span dir="ltr"><<a href="mailto:pieren3@gmail.com" target="_blank">pieren3@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


On Tue, Nov 17, 2009 at 8:20 PM, Emilie Laffray<br>
<<a href="mailto:emilie.laffray@gmail.com" target="_blank">emilie.laffray@gmail.com</a>> wrote:<br>
<div>> Ian Dees wrote:<br>
>> Who wrote the Java program? I'd love to integrate that in to shp-to-osm.<br>
> Pieren did.<br>
><br>
<br>
</div>I'm sure it can be coded in a better way, especially with a real xml<br>
parsing but it's fast and worked well:<br>
<a href="http://wiki.openstreetmap.org/wiki/WikiProject_Corine_Land_Cover/Corine_Data_Import#Removing_duplicate_nodes" target="_blank">http://wiki.openstreetmap.org/wiki/WikiProject_Corine_Land_Cover/Corine_Data_Import#Removing_duplicate_nodes</a><br>



<font color="#888888"><br></font></blockquote></div><div>Ah, so this is only removing duplicate nodes and not creating boundary relations out of exactly-overlapping ways.<br></div></div><br></blockquote><div><br>I think thats 3 separate bugs.  Where this this one handles nodes of a way.  and the next challenge is to handle polygons.  and the next, multi-polygon.<br>

<br>It sound like thats the solution which would solve the 'railways/rivers/powerlines/roads' map features of canvec.   Sweet!<br><br>It appears that scripts are around for each of them, it would be wild if the script could 'detect; in the shp file as to if it's a polygon or a multi-polygon.<br>

<br>... tipping beyond my comprehension, but its wild to see it all fall together. :)<br><br>and on another (similar note)<br><br>Cool, so to answer my own question.  Yes, it can be included as part of
the python script routeen, as another step, making a new .osm file.   :) <br>
<br>
Has anyone figured out how to slice that .osm file into a grid?  So
that each grid piece can be made available (for people to manually copy
in what they like)   (so that full.osm file is ALSO available)<br>
<br>
The only way that i know of is gpsbabel (might be able todo that).  So i think it would be a matter of having a script measure the size of the area, and find the mid-point, and draw a line through the area.   (just like how in JOSM you can copy the top half and make a new layer and past it, then delete) (in other words 'cut' and 'paste')  but doing this as part of a script instead of this manual way.<br>


<br>Cheers,<br>Sam<br></div></div><input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>