map encoding filter