WMS and SRS

Frank Warmerdam warmerdam at POBOX.COM
Thu Jul 27 07:46:14 EDT 2006


Daniel Goetz wrote:
> But now every time I change the SRS block in my WMS-GetMap-request from
> "SRS=EPSG:31468" to "SRS=EPSG:4326" mapserver returns a blank image. I even
> tried to set the BBOX to latlon-coordinates when using "SRS=EPSG:4326" but
> even this failed. I also testes other SRSs (both geographic ones and real
> projections) but with no success.
> 
> Could anybody please give me some help or hints what to do and what went
> wrong and why did this happen? I would be very glad and thankful. Thank you
> so much.

Daniel,

I think your approach of adding items to the wms_srs metadata is correct.
But if you make your request in SRS=EPSG:4326 instead of SRS=EPSG:31468
you will also need to express your BBOX in 31468.  That is, you need
to reproject your BBOX values into 4326.  Did you do that?

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    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list