[OSM-dev] Osmosis to filter ways on exclusion keys?

Brett Henderson brett at bretth.com
Sun Sep 7 23:40:13 BST 2008


On Sun, Sep 7, 2008 at 11:09 PM, <osm at na1400.info> wrote:

>
> Osmosis currently supports inclusion filtering on ways and nodes based on
> keys and values (e.g. the --way-key-value option). For the OpenStreetMap
> routing service I would like to exclude ways and nodes that are irellevant
> to routing (I'm talking about Gosmore) such as the natural.*, landuse.* and
> boundary.* keys. I'm trying to accomplish this currently using the inclusion
> filters (wkv) but this has two main disadvantages:
> - as long as the inclusion list isn't complete routing will be crippled.
> - the list of key/values pairs is growing rapidly (way beyond all the
> highway key/value pairs).
>
> In short: would it be possible add exclusion filters to Osmosis?


Sure.  I didn't write the tag tasks but it should be straightforward to add
exclusion filters.

Add it as a feature request to trac so it doesn't get lost.  I've been
working on API 0.6 support but other than that there isn't too much work
outstanding.  Hopefully I can get to it fairly soon.  Alternatively you can
send me a patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080908/befe7434/attachment.html>


More information about the dev mailing list