[OSM-dev] Osmosis patch for filtering ways
Christoph Sommer
openstreetmap at 2008.expires.deltadevelopment.de
Thu Mar 27 22:58:18 GMT 2008
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