Hi all,
This is a call to know if anyone of you is relying on the setting of TIME and
ELEVATION parameters in WMS GetMap.
Take this as an alert, since I'm going to delete some code that, as far as
aaime, simboss and myself can say, its unused.
I don't even fully understand what it does, but that's because I'm fairly
ignorant about coverages processing.
The code in question is, for trunk, at GetMapResponse.execute, lines 346 to
378, and is copied bellow.
Some says the geotools NETCDF plugin may be relying on it.
Gabriel
/*
* Test if the parameter "TIME" is present in the WMS
* request, and by the way in the reading parameters.
If
* it is the case, one can adds it to the request. If
an
* exception is thrown, we have nothing to do.
*/
try {
ParameterValue time =
reader.getFormat().getReadParameters().parameter(
"TIME");
if (time != null && request.getTime() != null) {
time.setValue(request.getTime());
}
} catch (ParameterNotFoundException p) {
}
// uncomment when the DIM_RANGE vendor parameter will be
enabled
// try {
// ParameterValue dimRange =
reader.getFormat().getReadParameters()
// .parameter("DIM_RANGE");
// if (dimRange != null && request.getDimRange() !=
null) {
// dimRange.setValue(request.getDimRange());
// }
// } catch (ParameterNotFoundException p) {
// }
try {
ParameterValue elevation =
reader.getFormat().getReadParameters()
.parameter("ELEVATION");
if (elevation != null && request.getElevation() !=
null) {
elevation.setValue(request.getElevation().intValue());
}
} catch (ParameterNotFoundException p) {
}
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel