mapserver/mapserver — pull request #4756 by tbonfort (2013-09-16 14:41:37+00:00)
Title: Avoid erroneous hittest results for clipped shapes

Use a GEOS intersection to determine if a shape intersects the map extent or not. The previous methoud which only clipped the shape would fail in this case, as the degenerate geometries it can create fooled us into thinking the feature was present when it would in fact be eliminated by the renderers.