Questions tagged [osmfilter]

osmfilter is a command line tool used to filter OpenStreetMap data files for specific tags.

Filter by
Sorted by
Tagged with
1
vote
1answer
18 views

OpenStreetMap modify tags based on multiple criteria

I have and .osm file and I would like the modify the tags based on the following criteria. If highway = "unclassified" and has a cycleway tag Then change highway to "tertiary" I know that with ...
0
votes
0answers
44 views

Filter geofabrik to Mapbox Style

GeoFabrik's extracts - as expected - have a massive amount of unnecessary information for most applications. Filtering this information is a critical step to decrease the map's size, especially for ...
1
vote
0answers
41 views

How to use osmfilter to drop features with non-empty values on a key?

I know one can use --drop="key=value" option with osmfilter to filter out OSM features for which key has a value of value. For example, I can use osmfilter input.o5m --drop="service=parking_aisle" -...
0
votes
0answers
39 views

Extract nodes from within a `boundary=administrative` in OpenStreetMap

Does osmfilter allow extracting all nodes within a given boundary=administrative based on name? If so, how?
8
votes
0answers
248 views

Missing roads from OpenStreetMap data with osmosis

I am currently trying to extract road networks from OpenStreetMap dumps downloaded on Geofabrik. I am using the following osmosis (version 0.45) command to extract roads: osmosis \ --rbf input.osm....
0
votes
0answers
231 views

How to create a file with the names of cities and the state of the city from OpenStreetMap?

Is it posible to extract data from OpenStreetMap that only contains the name of a city and the name of the state from these city? I want to build a CSV file, where each row contains "city;state". ...
2
votes
1answer
479 views

Osmfilter - filter every node with at least one tag

I'm using osm data and the osmfilter tool but I can't achieve to filter all nodes with at least one tag. I want to drop nodes with no tags. My approch is: osmfilter DataOSM.o5m --keep-nodes= --...
4
votes
2answers
1k views

How to filter OSM data for addr keys with Osmosis

I'm trying to import the address data of a specific country from an OSM file into a MySQL DB. I tried to insert the data with osmosis and also to filter them with osmfilter before running OSM but ...