msClipPolygonRect() / msClipPolylineRect()

Frank Warmerdam fwarmerdam at GMAIL.COM
Thu Mar 24 14:57:50 EST 2005


On Thu, 24 Mar 2005 13:53:37 -0600, Steve Lime
<steve.lime at dnr.state.mn.us> wrote:
> Correct. Filtering based purely on bboxes is done very early in the
> process. msLayerWhichShapes (in the case of shapefiles) sets up a bit
> array (ideally from a quadtree index) of shapes *in* the rendering
> window and processing (via msLayerNextShape) list limited to those
> shapes.

Steve,

Ah, you are way ahead of me on this one.  Forget I brought up the
possibility.

Likewise, we keep the clipping, though there might be room for
additional optimizations within it.

Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-dev mailing list