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

Frank Warmerdam warmerdam at pobox.com
Sun Feb 21 12:32:45 EST 2010


Howard Butler wrote:
> All,
> 
> I would like to put forward MS RFC 37 to provide a mechanism for layer
> drivers to be able to provide their projection information automatically.
> This feature would be opt-in, and it would require users to set the
> following in their mapfile:
> 
> PROJECTION AUTO END
> 
> <http://mapserver.org/development/rfc/ms-rfc-37.html>
> 
> The other items that were once in this RFC, like allowing users to set
> projection information using data types other than proj.4 have been removed.
> It is now simply an implementation for AUTO support and the virtual table
> methods required to allow drivers to optionally implement support for it.

Howard,

A few points:

1) What will happen if PROJECTION AUTO is used for a layer type that does
not implement LayerGetAutoProjection?  I hope an error will be issued.

2) Are you proposing to do the implementation for shapefile, OGR, GDAL Raster,
ArcSDE and PostGIS?  I'd be happy to do it for GDAL Raster if you wish.

3) I think it would have been worth nothing that OGR and raster already
supported AUTO though this wasn't widely used or known.  I don't anticipate
any compatability issues with changing to this approach.

I am +1 on the RFC.

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