private void logRequestParams(GeneralParameterValue[] params) { LOGGER.info("----PARAMS START-------"); for (int i = 0; i < params.length; i++) { Parameter<Object> p = (Parameter<Object>) params[i]; LOGGER.info(p.getDescriptor().getName().toString() + ": " + p.getValue()); } LOGGER.info("----PARAMS END-------"); }
Parameter<Object> param = (Parameter<Object>) generalParameterValue; if (param.getDescriptor() .getName() .getCode() state.setRequestedEnvelope((GeneralEnvelope) gg.getEnvelope()); dim = gg.getGridRange2D().getBounds(); } else if (param.getDescriptor() .getName() .getCode() .toString())) { outputTransparentColor = (Color) param.getValue(); } else if (param.getDescriptor() .getName() .getCode()
for (int i = 0; i < parameters.length; i++) { Parameter param = (Parameter) parameters[i]; String name = param.getDescriptor().getName().toString(); if (param.getDescriptor() .getName() .getCode()
for (int i = 0; i < length; i++) { param = (Parameter) params[i]; final ReferenceIdentifier name = param.getDescriptor().getName(); if (name.equals(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName())) { gtParams = (GeoToolsWriteParams) param.getValue();
Parameter<AxisDirection> param = Parameter.create("Test", AxisDirection.class, AxisDirection.DISPLAY_UP); ParameterDescriptor op = param.getDescriptor(); assertEquals( "Set<AxisDirection>",
descriptor = group.getDescriptor(); content = group.values(); automatic = (Parameter) v3.getDescriptor().createValue(); descriptor = group.getDescriptor(); content = group.values(); automatic = (Parameter) v3.getDescriptor().createValue();
descriptor = parameter.getDescriptor(); assertNull("unit", parameter.getUnit()); assertEquals("intValue", 14, parameter.intValue()); descriptor = (ParameterDescriptor) parameter.getDescriptor(); assertEquals("intValue", 3, parameter.intValue()); assertEquals("doubleValue", 3, parameter.doubleValue(), 0); descriptor = (ParameterDescriptor) parameter.getDescriptor(); validValues = descriptor.getValidValues(); assertEquals("value", AxisDirection.NORTH, parameter.getValue());
final Parameter<Object> param = (Parameter<Object>) generalParameterValue; if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.READ_GRIDGEOMETRY2D.getName().toString())) { final GridGeometry2D gg = (GridGeometry2D) param.getValue(); requestedEnvelope = (GeneralEnvelope) gg.getEnvelope(); dim = gg.getGridRange2D().getBounds(); } else if (param.getDescriptor().getName().getCode().equals( GeoWaveGTRasterFormat.OUTPUT_TRANSPARENT_COLOR.getName().toString())) { outputTransparentColor = (Color) param.getValue(); } else if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.BACKGROUND_COLOR.getName().toString())) { backgroundColor = (Color) param.getValue(); } else if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.INTERPOLATION.getName().toString())) { interpolation = (Interpolation) param.getValue();
for (int i = 0; i < length; i++) { param = (Parameter) params[i]; if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) {
param = (Parameter) params[i]; if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.READ_GRIDGEOMETRY2D.getName() .toString())) {
+ parameter.getDescriptor().getName().getCode(); styles = styles + (String) parameter.getValue();
for (int i = 0; i < length; i++) { param = (Parameter) params[i]; final ReferenceIdentifier name=param.getDescriptor().getName(); if (name.equals(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName())) { gtParams = (GeoToolsWriteParams) param.getValue();
for (int i = 0; i < params.length; i++) { final Parameter param = (Parameter) params[i]; if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.READ_GRIDGEOMETRY2D.getName() .toString())) {
for (int i = 0; i < parameters.length; i++) { Parameter param = (Parameter) parameters[i]; String name = param.getDescriptor().getName().toString(); if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) {
for (int i = 0; i < parameters.length; i++) { Parameter param = (Parameter) parameters[i]; String name = param.getDescriptor().getName().toString(); if (param.getDescriptor().getName().getCode().equals( AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) {
ReferenceIdentifier name = parameter.getDescriptor().getName(); if (name.equals(AbstractGridFormat.READ_GRIDGEOMETRY2D.getName())) {