Package org.geotools.parameter

Examples of org.geotools.parameter.DefaultParameterDescriptorGroup


            info1.put("description", //$NON-NLS-1$
                    "A raster file accompanied by a spatial data file"); //$NON-NLS-1$
            info1.put("vendor", "Geotools"); //$NON-NLS-1$ //$NON-NLS-2$
            info1.put("docURL", "http://www.geotools.org/WorldImageReader+formats"); //$NON-NLS-1$ //$NON-NLS-2$
            info1.put("version", "1.0"); //$NON-NLS-1$ //$NON-NLS-2$
            this.readParams = new ParameterGroup(new DefaultParameterDescriptorGroup(info1,
                    new GeneralParameterDescriptor[] { gridGeometryDescriptor }));
        }
        return this.readParams;
    }
View Full Code Here


            info1.put("description", //$NON-NLS-1$
                    "A raster file accompanied by a spatial data file"); //$NON-NLS-1$
            info1.put("vendor", "Geotools"); //$NON-NLS-1$ //$NON-NLS-2$
            info1.put("docURL", "http://www.geotools.org/WorldImageReader+formats"); //$NON-NLS-1$ //$NON-NLS-2$
            info1.put("version", "1.0"); //$NON-NLS-1$ //$NON-NLS-2$
            return new ParameterGroup(new DefaultParameterDescriptorGroup(info1,
                    new GeneralParameterDescriptor[]{crs, gridGeometryDescriptor}));

        } catch (MalformedURLException e) {
            CatalogPlugin.getDefault().getLog().log(
                    new org.eclipse.core.runtime.Status(IStatus.WARNING,
View Full Code Here

      DefaultParameterDescriptor<GridGeometry> gridGeometryDescriptor = new DefaultParameterDescriptor<GridGeometry>(
          AbstractGridFormat.READ_GRIDGEOMETRY2D.getName()
              .toString(), GridGeometry.class, null, world);

      ParameterGroup readParams = new ParameterGroup(
          new DefaultParameterDescriptorGroup(
              "Test", //$NON-NLS-1$
              new GeneralParameterDescriptor[] { gridGeometryDescriptor }));

      List<GeneralParameterValue> list = readParams.values();
      GeneralParameterValue[] values = list
View Full Code Here

      DefaultParameterDescriptor<GridGeometry> gridGeometryDescriptor = new DefaultParameterDescriptor<GridGeometry>(
          AbstractGridFormat.READ_GRIDGEOMETRY2D.getName()
              .toString(), GridGeometry.class, null, world);

      ParameterGroup readParams = new ParameterGroup(
          new DefaultParameterDescriptorGroup(
              "Test", //$NON-NLS-1$
              new GeneralParameterDescriptor[] { gridGeometryDescriptor }));

      List<GeneralParameterValue> list = readParams.values();
      GeneralParameterValue[] values = list
View Full Code Here

      DefaultParameterDescriptor<GridGeometry> gridGeometryDescriptor = new DefaultParameterDescriptor<GridGeometry>(
          AbstractGridFormat.READ_GRIDGEOMETRY2D.getName()
              .toString(), GridGeometry.class, null, world);

      ParameterGroup readParams = new ParameterGroup(
          new DefaultParameterDescriptorGroup(
              "Test", //$NON-NLS-1$
              new GeneralParameterDescriptor[] { gridGeometryDescriptor }));

      List<GeneralParameterValue> list = readParams.values();
      GeneralParameterValue[] values = list
View Full Code Here

    /**
     * Constructs a {@code "Resample"} operation.
     */
    public Resample() {
        super(new DefaultParameterDescriptorGroup(Citations.OGC, "Resample",
              new ParameterDescriptor[] {
                    SOURCE_0,
                    INTERPOLATION_TYPE,
                    COORDINATE_REFERENCE_SYSTEM,
                    GRID_GEOMETRY,
View Full Code Here

                final Map<String,Object> properties = generateProperties(name, epsg, remarks);
                if (formula != null) {
                    properties.put(OperationMethod.FORMULA_KEY, formula);
                }
                method = new DefaultOperationMethod(properties, sourceDimensions, targetDimensions,
                         new DefaultParameterDescriptorGroup(properties, descriptors));
                returnValue = ensureSingleton(method, returnValue, code);
            }
        } catch (SQLException exception) {
            throw databaseFailure(OperationMethod.class, code, exception);
        }
View Full Code Here

    info.put("version", "1.0");
    mInfo = info;

    // reading parameters
    readParameters = new ParameterGroup(
        new DefaultParameterDescriptorGroup(
            mInfo,
            new GeneralParameterDescriptor[] { READ_GRIDGEOMETRY2D, }));

    // writing parameters
    writeParameters = new ParameterGroup(
        new DefaultParameterDescriptorGroup(mInfo,
            new GeneralParameterDescriptor[] { FORMAT }));
  }
View Full Code Here

    mInfo.put("version", "1.1");
    mInfo.put("docURL""http://www.remotesensing.org/geotiff/spec/geotiffhome.html");

    // reading parameters
    readParameters = new ParameterGroup(
        new DefaultParameterDescriptorGroup(
            mInfo,
            new GeneralParameterDescriptor[] { READ_GRIDGEOMETRY2D,INPUT_TRANSPARENT_COLOR,SUGGESTED_TILE_SIZE }));

    // writing parameters
    writeParameters = new ParameterGroup(
        new DefaultParameterDescriptorGroup(
            mInfo,
            new GeneralParameterDescriptor[] {RETAIN_AXES_ORDER,AbstractGridFormat.GEOTOOLS_WRITE_PARAMS,AbstractGridFormat.PROGRESS_LISTENER }));

  }
View Full Code Here

    info.put("docURL", "");
    info.put("version", "1.0");
    mInfo = info;

        // reading parameters
        readParameters = new ParameterGroup(new DefaultParameterDescriptorGroup(mInfo,
                new GeneralParameterDescriptor[]{
            READ_GRIDGEOMETRY2D,
            INPUT_TRANSPARENT_COLOR,
                ImageMosaicFormat.OUTPUT_TRANSPARENT_COLOR,
                USE_JAI_IMAGEREAD,
View Full Code Here

TOP

Related Classes of org.geotools.parameter.DefaultParameterDescriptorGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.