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-------"); }
.getCode() .equals(AbstractGridFormat.READ_GRIDGEOMETRY2D.getName().toString())) { final GridGeometry2D gg = (GridGeometry2D) param.getValue(); state.setRequestedEnvelope((GeneralEnvelope) gg.getEnvelope()); dim = gg.getGridRange2D().getBounds(); .getName() .toString())) { outputTransparentColor = (Color) param.getValue(); } else if (param.getDescriptor() .getName() .getCode() .equals(ImageMosaicJDBCFormat.BACKGROUND_COLOR.getName().toString())) { backgroundColor = (Color) param.getValue();
final ReferenceIdentifier name = param.getDescriptor().getName(); if (name.equals(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName())) { gtParams = (GeoToolsWriteParams) param.getValue(); continue; writeTfw = (Boolean) param.getValue(); continue; listener = (ProgressListener) param.getValue(); continue; retainAxesOrder = (Boolean) param.getValue(); continue; writeNodata = (Boolean) param.getValue(); continue;
.getName() .toString())) { gtParams = (GeoToolsWriteParams) param.getValue();
final double[] bgValues; if (bgValueParam != null && bgValueParam instanceof Parameter<?>) { bgValues = ((Parameter<double[]>) bgValueParam).getValue(); } else { bgValues = null;
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();
descriptor = (ParameterDescriptor) parameter.getDescriptor(); validValues = descriptor.getValidValues(); assertEquals("value", AxisDirection.NORTH, parameter.getValue()); assertEquals("name", "Test", descriptor.getName().getCode()); assertNull("unit", descriptor.getUnit());
&& readOverview.getValue() != null) { paramList.add(readOverview);
final ReferenceIdentifier name=param.getDescriptor().getName(); if (name.equals(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName())) { gtParams = (GeoToolsWriteParams) param.getValue(); continue; writeTfw = (Boolean) param.getValue(); continue; listener = (ProgressListener) param.getValue(); continue;
AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) { gtParams = (GeoToolsWriteParams) param.getValue();
.toString())) { final GridGeometry2D gg = (GridGeometry2D) param .getValue(); requestedEnvelope = new GeneralEnvelope((Envelope) gg .getEnvelope2D());
styles = styles + (String) parameter.getValue();
.toString())) { final GridGeometry2D gg = (GridGeometry2D) param .getValue(); requestedEnvelope = new GeneralEnvelope((Envelope) gg .getEnvelope2D());
AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) { gtParams = (GeoToolsWriteParams) param.getValue();
AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName() .toString())) { gtParams = (GeoToolsWriteParams) param.getValue();
final double [] bgValues; if (bgValueParam != null && bgValueParam instanceof Parameter<?>){ bgValues = ((Parameter<double[]>)bgValueParam).getValue(); } else { bgValues = null;