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

Peter Wendorff wendorff at uni-paderborn.de
Wed May 14 09:29:18 UTC 2014


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
> 




More information about the talk mailing list