We recently upgraded to Geoserver 2.5 from 2.2.4 and discovered our custom
dimensions are no longer being recognized in a WMS GetMap request.
i.e. Given an invalid analysis time (dim_analysis_time=INVALID_TIME) should
return an error. Instead, the KVP is being ignored.
http://localhost:8080/geoserver/NAVGEM/wms?service=WMS&version=1.3.0&request=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_xml&CRS=CRS%3A84&layers=NAVGEM:global_360x181.air_temp.ht_sfc&bbox=-180.5,-90.5,180.5,90.5&time=2014-09-17T18:00:00.000Z&elevation=2.0&dim_analysis_time=INVALID_TIME&width=660&height=330&format=image/png
I tracked the error down to the WMS.java class in package org.geoserver.wms
when it tries to pass down custom dimensions to the readParameters. It seems
to be looking for 'custom_dimension_ANALYSIS_TIME' in the metadata map instead
of 'custom_dimension_analysis_time'.
Our metadata map is as follows:
{time=DimensionInfoImpl [attribute=null, endAttribute=null, enabled=true,
units=null, unitSymbol=null, presentation=LIST, resolution=null],
elevation=DimensionInfoImpl [attribute=null, endAttribute=null, enabled=true,
units=meter, unitSymbol=m, presentation=LIST, resolution=null],
custom_dimension_analysis_time=DimensionInfoImpl [attribute=null,
endAttribute=null, enabled=true, units=ISO8601, unitSymbol=null,
presentation=LIST, resolution=null]}
Does anyone know of a workaround or fix?
Thanks,
Kristine
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel