[OSM-talk] Command-line program to remove untagged, unconnected nodes from .osm file

Juan Lucas Domínguez Rubio juan_lucas_dr at yahoo.com
Wed May 14 09:49:43 UTC 2014


Thanks. I'm starting to think that the task is too ambitious especially if the .osm file is a large one.

Regards,
Juan
On Wednesday, May 14, 2014 11:30 AM, Peter Wendorff <wendorff at uni-paderborn.de> wrote:
 
Unfortuately you're wrong here, as it does not keep untagged, but
connected nodes.

regards
Peter


Am 14.05.2014 11:16, schrieb Dominik George:
> Hi,
> 
>> I am trying to find a way to get rid of untagged, unconnected nodes in a
>> .osm file. I know JOSM can do this but I need a command-line application.
>> I've been trying to do it with osmosis and osmfilter without success
>> (pattern *=* not allowed). Any ideas?
> 
> If your data file is well-formed, a simple grep will do:
> 
>   grep -v "<node .*/>"
> 
> Cheers,
> Nik
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
> 


_______________________________________________
talk mailing list
talk at openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20140514/2d82bae5/attachment-0001.html>


More information about the talk mailing list