[OSM-dev] Filtering out elements from a planet extract
Flo Ledermann
ledermann at ims.tuwien.ac.at
Wed Feb 8 20:00:13 GMT 2012
Hi Ciprian,
On 02/08/2012 08:39 PM, Ciprian Talaba wrote:
> Hi,
>
> I am trying to filter our the "landuse=*" ways and the corresponding
> nodes from a planet extract.
I recently created similar extracts for railways and motorways using
Osmium [1]. It's C++ based, so you need to know how to run a compiler
and basic programming knowledge, but when you get it running it's orders
of magnitude faster than Osmosis and allows for complete customization
of the filtering by writing your own filtering code.
I've written about it on my blog at
http://www.floledermann.com/blog/tech/filtering-and-conversion-osm-files-osmium/
(I mostly discuss issues of processing a whole planet dump on low-end
machines there, but there is some source code to get you started.)
Hope it helps,
Flo
[1] http://wiki.openstreetmap.org/wiki/Osmium
More information about the dev
mailing list