[Geoserver-users] Can raster data be reprojected on the fly?

Hello,

I have a .png file with an associated .pgw which renders fine when I
specify EPSG:4326 as the value of the srs parameter in my WMS URL, but all
I get is a blank image when I specify a different value (such as a UTM
projection). Can anyone tell me whether reprojection of raster data should
work?

Any help on this would be GREATLY appreciated!!

Thank you in advance,
Deb

Debbie_Sikora@anonymised.com ha scritto:

Hello,

I have a .png file with an associated .pgw which renders fine when I
specify EPSG:4326 as the value of the srs parameter in my WMS URL, but all
I get is a blank image when I specify a different value (such as a UTM
projection). Can anyone tell me whether reprojection of raster data should
work?

Yeah, just add a .prj file with the proper wkt information and you should be ok. That is, xxx.png, xxx.pgw and xxx.prj. Use the same wkt that geoserver configuration panel shows you, but on a single line.

Alessio, since that world image does not have a native CRS, Geoserver
should have forced the declared one into it before sending it to
the renderer. Or not?

Oh, make sure your request with projected crs has a bbox in projected coordinates too.

Cheers
Andrea