[mapserver-dev] Re: [mapserver-users] Using e00 files
Howard Butler
hobu.inc at gmail.com
Tue Feb 2 14:27:54 EST 2010
On Feb 2, 2010, at 1:20 PM, Paul Ramsey wrote:
> On Tue, Feb 2, 2010 at 11:03 AM, Brent Fraser <bfraser at geoanalytic.com> wrote:
>> Hmm. I see the problem. The current Mapserver behavior is "if the LAYER
>> proj is not specified, assume it to be the same as the MAP proj and don't
>> re-project the coordinates".
>
> I don't see that a behavior of
> - if PROJECTION defined use that
> - if ! PROJECTION but source SRS is available use that
> - if no information assume same as MAP
> would necessarily break any map files
> (except those where the data is actually living in a state with
> invalid source SRS information, in which case blaming mapserver for
> breaking backwards compat is a bit harsh)
The problem with case #2 is we use the source SRS and it's negligibly different, we trigger unnecessary reprojection. The only test we have is to compare proj.4 strings, which in many cases can have functionally equivalent but not identical proj.4 representations.
opt-in, or opt-out. We have to choose. My RFC was opt-in and bends over backwards to do so.
Howard
More information about the mapserver-dev
mailing list