Hello, I want to filter anything from a OSM file without a name, as I noticed there is alot of unnamed data in the planet files and I don't need them for my particular project. I thought I could achieve this with --keep="name=" with osmfilter.exe unfortunately, when I imported the data into a DB I found I still have data with no names. (using osm2pgsql) Am I doing this wrong or is there a better way to do this? asked 08 Jul '16, 22:00 AwDogsGo2Heaven |
Without seeing the entire command being used, it's impossible to tell what's happening. That being said, it may be doing exactly what you want. Keep in mind that even when you do this, you'll most likely still have some objects with no name because those objects are part of a higher-level object. For example, if you keep a highway with a name, the unnamed nodes that compose that way will also be present in the results. Likewise, if you keep a relation describing the boundary of a country, you'll also get the unnamed ways that create that boundary (as well as the unnamed nodes that compose each of those ways). Therefore, unless you're working solely with nodes, you're probably going to have lots of unnamed objects in your results. answered 01 Nov '19, 16:36 alester |
Hi, have you managed to solve this, please?