[OSM-talk] Command-line program to remove untagged, unconnected nodes from .osm file
Dominik George
nik at naturalnet.de
Wed May 14 09:16:09 UTC 2014
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
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigr��e : 905 bytes
Beschreibung: This is a digitally signed message part.
URL : <http://lists.openstreetmap.org/pipermail/talk/attachments/20140514/ed205750/attachment.pgp>
More information about the talk
mailing list