Trying to reproject WMS layers in geoserver from the default of EPSG:4326 to EPSG:3574
Using the default projection works fine.
url = /geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=ENSEMBLE:global_360x181.air_temp.ht_sfc,base_layers:coastlines&styles=,line&bbox=-180.5,-90.5,180.5,90.5&width=658&height=330&srs=EPSG:4326&format=application/openlayers
results in:
Changing only the SRS and BBOX only renders the vector data, not the raster data: url = /geoserver/wms?service=WMS&version=1.3.0&request=GetMap&layers=base_layers:coastlines,ENSEMBLE:global_360x181.air_temp.ht_sfc&styles=line,&bbox=-1054375,-105875,2584375,2596875&width=658&height=330&srs=EPSG:3574&format=application/openlayers
The raster layer is there - I can make a getFeatureInfo request, but geoserver styles it as completely transparent. There is absolutely nothing in the geoserver log. I have logging turned on at the 'INFO' level.
I tried editing the WCS Settings on the publishing tab for this layer and explicitly added EPSG:3574 to the Current Request and Response SRS List. No effect. I also verified that in the WMS Settings Limited SRS List, EPSG:3574 is listed.
The GeoWebCache is disabled for this layer.
I am completely stumped. Half-baked ideas welcome.
Update
I just recreated this behavior in both Geoserver 2.7.1 and 2.2.4, so either I am doing something completely wrong, or this behavior has been in geoserver for a long time, which seems remarkable.
Update #2
In an attempt to eliminate any configuration issues in my geoserver:
- Downlaoded the latest stable geoserver.war, 2.7.1.1 and installed in Tomcat.
- Request the nurc:Img_Sample in EPSG:4326, OK
- Request the topp:states in EPSG:4326, OK
- Request the nurc:Img_Sample in EPSG:32615, not OK
- Request the topp:states in EPSG:32615. works fine.
I get the exact same results as originally described. Transparent image, responds to get feature info requests.
Img_Sample URL in UTM 15N projection:
Update #3
There is one raster in the default data set in a non-EPSG:4326 projection. The native projection for sfdem is EPSG:26713. This layer renders in both EPSG:26713 and EPSG:4326. Is it possible that geoserver will only reproject when the native SRS is a 'PROJCS'? EPSG:4326 is a 'GEOGCS' - might this make a difference?
url = /geoserver/wms?service=WMS&version=1.3.0&request=GetMap&layers=base_layers:coastlines,ENSEMBLE:global_360x181.air_temp.ht_sfc&styles=line,&bbox=-1054375,-105875,2584375,2596875&width=658&height=330&srs=EPSG:3574&format=application/openlayers
There is an error in this request, for a WMS 1.3.0 request the you need to useCRS=EPSG:3574
notsrs=EPSG:3574
this will also affect the order of the coordinates in the bounding box.