<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style=""><span class="" style="">Thanks. I'm starting to think that the task is too ambitious especially if the .osm file is a large one.</span></div><div style="background-color: transparent;" class=""><span class="" style=""><br class="" style=""></span></div><div style="background-color: transparent;" class=""><span class="" style="">Regards,</span></div><div class="" style=""><span class="" style=""></span></div><div style="background-color: transparent;" class=""><span style="font-family: arial, helvetica, sans-serif;" class="">Juan</span></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue,
 Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Wednesday, May 14, 2014 11:30 AM, Peter Wendorff <wendorff@uni-paderborn.de> wrote:<br class="" style=""> </font> </div>  <div class="" style="">Unfortuately you're wrong here, as it does not keep untagged, but<br clear="none" class="" style="">connected nodes.<br clear="none" class="" style=""><br clear="none" class="" style="">regards<br clear="none" class="" style="">Peter<br clear="none" class="" style=""><div class="" id="yqtfd72652" style=""><br clear="none" class="" style="">Am 14.05.2014 11:16, schrieb Dominik George:<br clear="none" class="" style="">> Hi,<br clear="none" class="" style="">> <br clear="none" class="" style="">>> I am trying to find a way to get rid of untagged, unconnected nodes in a<br clear="none" class="" style="">>> .osm file. I know JOSM can do
 this but I need a command-line application.<br clear="none" class="" style="">>> I've been trying to do it with osmosis and osmfilter without success<br clear="none" class="" style="">>> (pattern *=* not allowed). Any ideas?<br clear="none" class="" style="">> <br clear="none" class="" style="">> If your data file is well-formed, a simple grep will do:<br clear="none" class="" style="">> <br clear="none" class="" style="">>   grep -v "<node .*/>"<br clear="none" class="" style="">> <br clear="none" class="" style="">> Cheers,<br clear="none" class="" style="">> Nik</div><br clear="none" class="" style="">> <br clear="none" class="" style="">> <br clear="none" class="" style="">> <br clear="none" class="" style="">> _______________________________________________<br clear="none" class="" style="">> talk mailing list<br clear="none" class="" style="">> <a shape="rect"
 ymailto="mailto:talk@openstreetmap.org" href="mailto:talk@openstreetmap.org" class="" style="">talk@openstreetmap.org</a><br clear="none" class="" style="">> <a shape="rect" href="https://lists.openstreetmap.org/listinfo/talk" target="_blank" class="" style="">https://lists.openstreetmap.org/listinfo/talk</a><br clear="none" class="" style="">> <br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">talk mailing list<br clear="none" class="" style=""><a shape="rect" ymailto="mailto:talk@openstreetmap.org" href="mailto:talk@openstreetmap.org" class="" style="">talk@openstreetmap.org</a><br clear="none" class="" style=""><a shape="rect" href="https://lists.openstreetmap.org/listinfo/talk" target="_blank" class="" style="">https://lists.openstreetmap.org/listinfo/talk</a><div class="" id="yqtfd71329" style=""><br
 clear="none" class="" style=""></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div> </div></body></html>