[mapserver-dev] MS RFC 37: AUTO Projection Support

Devin Blakley devin.blakley at newlighttechnologies.com
Mon Feb 22 11:55:46 EST 2010


All,

To add another level of debugging / information for the user, a message
could be spit out to the GetCapabilities return data indicating what was
done for the projection if this case were encountered.



Sincerely,
Devin

-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org
[mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Frank Warmerdam
Sent: Monday, February 22, 2010 11:54 AM
To: Howard Butler
Cc: MapServer Dev Mailing List
Subject: Re: [mapserver-dev] MS RFC 37: AUTO Projection Support

Howard Butler wrote:
>> - I'm not sure if this is the same question as Frank's, but, what happens
>> when no projection info can be read from the source file, when using
>> PROJECTION AUTO?

Jeff,

Good question.

> It will be an unfilled projectionObj, which is what a layer with no
> PROJECTION object currently ends up with.

Howard,

I'm not sure I'm happy with this answer.  If the person puts PROJECTION AUTO
and MapServer just silently treats this as a layer with no projection
information because there is nothing available from the file, this could
be very misleading. I'd like to suggest instead that an error be issued
by MapServer in this situation, suggesting the PROJECTION block be commented
out or manually filled as MapServer is unable to automatically provide
coordinate system information for the dataset in question.

Also, we should ensure there is a nicely formatted debug message reporting
on the projection value substituted for AUTO so that folks who are
trying to peak under the hood will know what is actually happening.

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

_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list