msClipPolygonRect() / msClipPolylineRect()

Daniel Morissette dmorissette at DMSOLUTIONS.CA
Thu Mar 24 13:44:02 EST 2005

Frank Warmerdam wrote:
> Looking at this code, I can't help but wonder if we couldn't avoid reading
> all the geometry for shapes that are ourside our current rendering window
> if we did slightly closer integration between the mapshape.c shape reading
> code and the higher level layer logic for shapes.   However, this is outside
> the scope of my current optimization efforts focused on S-57 input.

I think the prefiltering based on map extents that you suggest is
already done by msLayerWhichShapes(), prior to reading shapes from the
file. Steve should be able to comment on that.

  Daniel Morissette               dmorissette at
  DM Solutions Group    

More information about the mapserver-dev mailing list