Class ReprojectionOp


  • @OperatorMetadata(alias="Reproject",
                      category="Raster/Geometric",
                      version="1.0",
                      authors="Marco Z\u00fchlke, Marco Peters, Ralf Quast, Norman Fomferra",
                      copyright="(c) 2009 by Brockmann Consult",
                      description="Reprojection of a source product to a target Coordinate Reference System.")
    public class ReprojectionOp
    extends Operator

    The reprojection operator is used to geo-reference data products. Beside plain reprojection it is able to use a Digital Elevation Model (DEM) to orthorectify a data product and to collocate one product with another.

    The following XML sample shows how to integrate the Reproject operator in a processing graph (an Lambert_Azimuthal_Equal_Area projection using the WGS-84 datum):

        <node id="reprojectNode">
            <operator>Reproject</operator>
            <sources>
                <sourceProducts>readNode</sourceProducts>
            </sources>
            <parameters>
                <wktFile/>
                <crs>
                  PROJCS["Lambert_Azimuthal_Equal_Area / World Geodetic System 1984",
                    GEOGCS["World Geodetic System 1984",
                       DATUM["World Geodetic System 1984",
                          SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
                       AUTHORITY["EPSG","6326"]],
                       PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
                       UNIT["degree", 0.017453292519943295],
                       AXIS["Geodetic longitude", EAST],
                       AXIS["Geodetic latitude", NORTH]],
                    PROJECTION["Lambert_Azimuthal_Equal_Area"],
                    PARAMETER["latitude_of_center", 0.0],
                    PARAMETER["longitude_of_center", 0.0],
                    PARAMETER["false_easting", 0.0],
                    PARAMETER["false_northing", 0.0],
                    UNIT["m", 1.0],
                    AXIS["Easting", EAST],
                    AXIS["Northing", NORTH]]
                </crs>
                <resampling>Nearest</resampling>
                <referencePixelX>0.5</referencePixelX>
                <referencePixelY>0.5</referencePixelY>
                <easting>9.5</easting>
                <northing>56.84</northing>
                <orientation>0.0</orientation>
                <pixelSizeX>0.012</pixelSizeX>
                <pixelSizeY>0.012</pixelSizeY>
                <width>135010246</width>
                <height>116629771</height>
                <orthorectify>false</orthorectify>
                <elevationModelName/>
                <noDataValue>NaN</noDataValue>
                <includeTiePointGrids>true</includeTiePointGrids>
                <addDeltaBands>false</addDeltaBands>
            </parameters>
        </node>
     
    Since:
    BEAM 4.7
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • ReprojectionOp

        public ReprojectionOp()
    • Method Detail

      • dispose

        public void dispose()
        Description copied from class: Operator
        Releases the resources the operator has acquired during its lifetime. The default implementation does nothing.

        Overrides should make sure to call super.dispose() as well.

        Overrides:
        dispose in class Operator
      • validateCrsParameters

        protected void validateCrsParameters()