Steve Roberts wrote:
Adding the following code to the subroutine msProjectRect in mapproject.c just before the line "if( failure > 0 )" would do the trick:
Steve, Would you mind submitting this as a bugzilla bug report, ideally along with a small map+dataset demonstrating the problem. Something I could include in the test suite (ie. < 30K of data or so). I'm concerned that the patch may do undesirable things in some cases, but I'd like to put it in place. However, given the risks, I want to keep a good "documentation and test" trail for the changes. Note that msReprojectRect() is used for things other than just search rectangles for features, so the -180 to 180 problem across the dateline could be even serious than false positives in the search sometimes. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org
