[OSM-dev] Osmosis patch for filtering ways

Brett Henderson brett at bretth.com
Thu Apr 3 12:03:47 BST 2008


Cool, thanks for that.  Patch is applied.

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