<div class="gmail_quote">On Fri, Apr 29, 2011 at 10:49 AM, Ben Supnik <span dir="ltr"><<a href="mailto:bsupnik@xsquawkbox.net">bsupnik@xsquawkbox.net</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. Duplicate nodes need to be merged, especially in the flowline files. The<br>
data currently have duplicate nodes a every point where one reach intersects<br>
another. This creates many duplicate nodes. The Corine data import folks<br>
wrote a java tool to remove these<br>
(<a href="http://wiki.openstreetmap.org/wiki/WikiProject_Corine_Land_Cover/Corine_Data_Import" target="_blank">http://wiki.openstreetmap.org/wiki/WikiProject_Corine_Land_Cover/Corine_Data_Import</a>)<br>
which I use to remove the duplicate nodes.<br>
</blockquote>
<br>
With some modification, that seems to have worked.<br></blockquote><div><br></div><div>I've been meaning to add a "node dedupe" step to the shp-to-osm suite. I'd love to see what you had to modify to get it to work. I'd also like to add a "way dedupe" at some point, too (to handle abutting areas like boundaries).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
g. In points and lines files there were many things that had no osm tags<br>
including gauging stations and nonearthen shores. We should not import things<br>
that have no osm tags.<br>
</blockquote>
<br>
Hrm...interesting. The tools don't currently strip untagged data, do they? Is there an existing tool that strips 'null' data?<br>
<br></blockquote><div><br></div><div>There is an option (I think it's the "-t" flag?) to shp-to-osm to only include OSM primitives that had tags applied.</div></div>