I've recently began to dig deeper into manipulation raw osm data and later convert them to *.mbtiles to serve vector tiles to my web application. As the map only needs to be of low detail (is mainly used for displaying aviation data), I don't need buildings but want to keep some details (parks, airports, waterways etc. for aesthetic reasons).
So far I've tried using osmium and osmosis with okayish results. It still takes forever processing just one country (I'd need the whole of europe for now). Removing buildings in osmosis produces a smaller file than in osmium? Probably my settings are wrong. Maybe there's even an other tool which might be better for the job?
Can you please point me in the right direction? I think having streets, water, airports placelabels and parks/forests present would be sufficient for now.
So far I've tried it with the commands below which still takes forever to import with openmaptiler in a c4.large instance on aws.
osmosis --read-pbf germany.osm.pbf --tf reject-ways building=* --used-node --write-pbf germany-wo-buildings.osm.pbf
My second approach was using osmium
osmium tags-filter -i germany.osm.pbf nrw/building=* -o germany-wo-buildingsg.osm.pbf
I'd really appreciate some help here to get a better understanding of working with osm data.
Thanks a lot!