[mapserver-users] Providing multiple projection options for layersserved through WCS
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Tue Aug 11 11:33:35 PDT 2009
Hi,
It should work out of the box. Reading http://www.mapserver.org/ogc/wcs_server.html?searchterm=wcs shows for example this example:
The following are optional GetCoverage parameters according to the WCS spec:
RESPONSE_CRS=epsg_code: Coordinate Reference System in which to express coverage responses.
So to follow our above examples, a valid DescribeCoverage request would look like:
http://my.host.com/cgi-bin/mapserv?map=mywcs.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage
&coverage=bathymetry&CRS=EPSG:42304&BBOX=-2200000,-712631,3072800,3840000
&WIDTH=3199&HEIGHT=2833&FORMAT=GTiff
So all that is needed is to change the CRS and BBOX parameters in the request. In addition, on Mapserver side there must be a PROJECTION block in mapfile to tell Mapserver what is the native projection of coverage data.
-Jukka Rahkonen-
Dillabough, Craig wrote:
I am using MapServer as a Web Coverage Server. The native projection of
my coverages is a rather obscure projection. I would like to provide the
option for clients to access that data in other more common projections.
>From what I've learned about WCS1.1.1 this should be possible. A
getCoverageDescription request can return among other things a
<SupportedCRS> which informs clients that coverages can be requested in
a projection other than the coverages native format.
Is this possible with MapServer? If so can someone please give an
example of how to configure a .MAP file to allow this (or point me to
existing documentation on how to do this). Unfortunately, the secion on
SRS (CRS) '9.9.6' in the MapServer documentation is empty ... maybe it
was written by the same person who wrote the Geoserver WCS
documentation?
Thanks for any help.
Regards,
Craig Dillabaugh
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list