[OSM-dev] Osmosis patch for filtering ways

Brett Henderson brett at bretth.com
Thu Apr 3 14:09:19 BST 2008

Hi Christoph,

Could you please add documentation to the wiki describing the usage of 
your new tasks?  I've released a new binary version of osmosis which is 
what the wiki is aligned with.  I've documented all of my new tasks but 
I'm not exactly sure how yours works.


Christoph Sommer wrote:
> Hi Brett,
> Brett Henderson wrote:
>> The UsedNodeFilter uses a HashSet<Long> to track the node ids.  Could you use a BitSetIdTracker or even better use the IdTracker interface[...]
> Sure - here's an updated version of the patch:
> <http://www.deltadevelopment.de/users/christoph/download/sommer-wayfilter02.patch>
> Note that the UsedNodeFilterFactory now uses some of the code from the
> AreaFilterFactory(?) for determining the IdTracker to use. Maybe it
> would be better to move this to a more generic base class.
> Regards,
>   Christoph

More information about the dev mailing list