trim polygons which exceed map bounds