Hi John,
in WMS 1.3.0 EPSG:4326 uses lat/lon order whereas CRS:84 uses lon/lat.
So, to make your request work with EPSG:4326 and WMS 1.3.0 you have to
flip the bounding box coordinates:
http://oos.soest.hawaii.edu/thredds/wms/hioos/roms_forec_regridded/hiig/ROMS_Hawaii_Regional_Ocean_Model_Regridded_best.ncd?service=WMS&version=1.3.0&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=water_temp&CRS=EPSG:4326&BBOX=20.17714549791179,202.12371826171875,21.50418550077842,204.46517944335938&WIDTH=1705&HEIGHT=1034&TIME=2013-04-15T00:00:00Z&ELEVATION=-5&STYLES=boxfill/rainbow&NUMCOLORBANDS=256&COLORSCALERANGE=24.02441,26.03417
Cheers!
On 04/12/2013 06:46 PM, John Maurer wrote:
Hi TDS and/or ncWMS folks,
I recently upgraded from TDS 4.2.10 to 4.3.16 and am noticing
something strange in my WMS output. GetMap URL's that used to work
fine in TDS 4.2.10 are coming up blank in 4.3.16. As a workaround, I
discovered that changing my CRS from EPSG:4326 to CRS:84 fixes the
problem. Seems like a bug with using EPSG:4326??
Here's an example using a ROMS ocean forecast of water temperature
over central Hawaii. Using EPSG:4326 gives a blank map:
http://oos.soest.hawaii.edu/thredds/wms/hioos/roms_forec_regridded/hiig/ROMS_Hawaii_Regional_Ocean_Model_Regridded_best.ncd?service=WMS&version=1.3.0&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=water_temp&CRS=EPSG:4326&BBOX=202.12371826171875,20.17714549791179,204.46517944335938,21.50418550077842&WIDTH=1705&HEIGHT=1034&TIME=2013-04-15T00:00:00Z&ELEVATION=-5&STYLES=boxfill/rainbow&NUMCOLORBANDS=256&COLORSCALERANGE=24.02441,26.03417
In contrast, if I switch this to CRS:84 I now get a color map as expected:
http://oos.soest.hawaii.edu/thredds/wms/hioos/roms_forec_regridded/hiig/ROMS_Hawaii_Regional_Ocean_Model_Regridded_best.ncd?service=WMS&version=1.3.0&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=water_temp&CRS=CRS:84&BBOX=202.12371826171875,20.17714549791179,204.46517944335938,21.50418550077842&WIDTH=1705&HEIGHT=1034&TIME=2013-04-15T00:00:00Z&ELEVATION=-5&STYLES=boxfill/rainbow&NUMCOLORBANDS=256&COLORSCALERANGE=24.02441,26.03417
Oh... And I just found another workaround. If I switch to WMS 1.1.1
instead of 1.3.0, EPSG:4326 also works:
http://oos.soest.hawaii.edu/thredds/wms/hioos/roms_forec_regridded/hiig/ROMS_Hawaii_Regional_Ocean_Model_Regridded_best.ncd?service=WMS&version=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=water_temp&SRS=EPSG:4326&BBOX=202.12371826171875,20.17714549791179,204.46517944335938,21.50418550077842&WIDTH=1705&HEIGHT=1034&TIME=2013-04-15T00:00:00Z&ELEVATION=-5&STYLES=boxfill/rainbow&NUMCOLORBANDS=256&COLORSCALERANGE=24.02441,26.03417
In short, I'm hoping that somebody can fix the WMS so that EPSG:4326
will not give me blank maps in WMS 1.3.0, but I have workarounds in
the meantime so it's not pressing.
Thanks!,
John Maurer
Pacific Islands Ocean Observing System (PacIOOS)
University of Hawaii at Manoa
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/