Hello!
I want to filter some administrative boundaries out. It works fine when city/village name consist of one word. But if there is a whitespace in the name it goes like this:
$ ./osmfilter -v --keep='name="Новые Ляды"' perm.osm
osmfilter Parameter: --keep=name="Новые Ляды"
osmfilter: Filter: keep nodes:
osmfilter: Filter: "name" = ""Новые"
osmfilter: Filter: "Ляды"" = "(anything)"
osmfilter: Filter: keep ways:
osmfilter: Filter: "name" = ""Новые"
osmfilter: Filter: "Ляды"" = "(anything)"
osmfilter: Filter: keep relations:
osmfilter: Filter: "name" = ""Новые"
osmfilter: Filter: "Ляды"" = "(anything)"
osmfilter Parameter: perm.osm
Interrelational hierarchy 1: 0 dependencies.
osmfilter: Relation hierarchies: 0 of maximal 12.
osmfilter: Number of bytes read: 56401798
(3 lines of OSM XML)
osmfilter: Last processed: relation 3496144
It fails to filter tag values with whitespaces.
So the question is — is it a feature, a bug or there is a way to insert whitespace in query?
asked
13 Feb '14, 07:07
alsv
46●1●1●5
accept rate:
0%