mapfilter for tdb