[mapserver-users] MapServer as WMS

David Hildebrand David.Hildebrand at afsc.ca
Tue Nov 9 13:08:46 EST 2010


I am trying to configure MapServer as a WMS service and would like some
clarity on projection information.  I have several layers in differing
projections but would like the final output to be in Transverse
Mercator.  For each layer I have defined the "wms_srs" and "wms_extent"
tags.  In the top-level map file do I now define the "wms_srs" tag as a
list of projections which are defined in the layers or is there a
wildcard specification I can use?  Furthermore, I want to be able to
specify the bounding box in lat/lon rather than Transverse Mercator
coordinates, the desired output projection.  I suppose I need to have a
CGI script call a projection utility to return the bounding box
coordinates projected to Transverse Mercator and then pass those to
mapserv.  On a related note, how do I set the output WIDTH and HEIGHT to
be proportional to the BBOX?

 

Thanks.

 

===========================
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca <about:www.afsc.ca>  <http://www.afsc.ca
<http://www.afsc.ca/> >
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101109/81a65542/attachment.html


More information about the mapserver-users mailing list