<p>Hello Maarten!</p>
<p>Josm's "Simplify area" plugin should do something similar to what you are seeking, given correct settings.</p>
<div class="gmail_quote">On May 5, 2013 7:58 PM, "Maarten Deen" <<a href="mailto:mdeen@xs4all.nl">mdeen@xs4all.nl</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
is there a tool already existing that can simplify ways in an .osm file?<br>
<br>
What I'm looking for is something that removes all intermediate nodes from a way, as long as they are not used in another way.<br>
<br>
Example:<br>
<way id="1"><br>
        <nd ref="1"/><br>
        <nd ref="2"/><br>
        <nd ref="3"/><br>
        <nd ref="4"/><br>
        <nd ref="5"/><br>
        <nd ref="6"/><br>
</way><br>
<way id="2"><br>
        <nd ref="3"/><br>
        <nd ref="7"/><br>
        <nd ref="8"/><br>
        <nd ref="9"/><br>
        <nd ref="10"/><br>
</way><br>
<br>
After simplifying:<br>
<way id="1"><br>
        <nd ref="1"/><br>
        <nd ref="3"/><br>
        <nd ref="6"/><br>
</way><br>
<way id="2"><br>
        <nd ref="3"/><br>
        <nd ref="10"/><br>
</way><br>
<br>
And then also remove the unused nodes from the osm files.<br>
<br>
Regards,<br>
Maarten<br>
<br>
______________________________<u></u>_________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.<u></u>org/listinfo/dev</a><br>
</blockquote></div>