Class SpatialReferenceInfo


  • public class SpatialReferenceInfo
    extends java.lang.Object
    SpatialReferenceInfo is a Java class mapped to the XML element SpatialReferenceInfo in the Oracle Spatial GeoRaster metadata.

    • Field Detail

      • MODEL_DIMENSION_X

        public static final java.lang.String MODEL_DIMENSION_X
        A string indicating the X dimension in the GeoRaster model space.
        See Also:
        Constant Field Values
      • MODEL_DIMENSION_Y

        public static final java.lang.String MODEL_DIMENSION_Y
        A string indicating the Y dimension in the GeoRaster model space.
        See Also:
        Constant Field Values
      • MODEL_DIMENSION_Z

        public static final java.lang.String MODEL_DIMENSION_Z
        A string indicating the Z dimension in the GeoRaster model space.
        See Also:
        Constant Field Values
      • MODEL_DIMENSION_T

        public static final java.lang.String MODEL_DIMENSION_T
        A string indicating the T dimension in the GeoRaster model space.
        See Also:
        Constant Field Values
      • MODEL_DIMENSION_S

        public static final java.lang.String MODEL_DIMENSION_S
        A string indicating the S dimension in the GeoRaster model space.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_UNKNOWN

        public static final int GEOREFERENCE_TYPE_UNKNOWN
        An integer indicating geoReference type UNKNOWN.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_AFFINE

        public static final int GEOREFERENCE_TYPE_AFFINE
        An integer indicating geoReference type affine.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_DLT

        public static final int GEOREFERENCE_TYPE_DLT
        An integer indicating geoReference type DLT.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_RPC

        public static final int GEOREFERENCE_TYPE_RPC
        An integer indicating geoReference type RPC.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_QUADRATICPOLYNOMIAL

        public static final int GEOREFERENCE_TYPE_QUADRATICPOLYNOMIAL
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_CUBICPOLYNOMIAL

        public static final int GEOREFERENCE_TYPE_CUBICPOLYNOMIAL
        An integer indicating geoReference type CubicPolynomial.
        See Also:
        Constant Field Values
      • GEOREFERENCE_TYPE_QUADRATICRATIONAL

        public static final int GEOREFERENCE_TYPE_QUADRATICRATIONAL
        An integer indicating geoReference type QuadraticRational.
        See Also:
        Constant Field Values
      • GCPPOINT_TYPE_CONTROLPOINT

        public static final int GCPPOINT_TYPE_CONTROLPOINT
        An integer indicating gcpPoint type ControlPoint.
        See Also:
        Constant Field Values
      • GCPPOINT_TYPE_CHECKPOINT

        public static final int GCPPOINT_TYPE_CHECKPOINT
        An integer indicating gcpPoint type CheckPoint.
        See Also:
        Constant Field Values
      • GCPPOINT_STATUS_MEASURED

        public static final int GCPPOINT_STATUS_MEASURED
        An integer indicating gcpPointStatus Measured.
        See Also:
        Constant Field Values
      • GCPPOINT_STATUS_REMOVED

        public static final int GCPPOINT_STATUS_REMOVED
        An integer indicating gcpPointStatus Removed.
        See Also:
        Constant Field Values
      • GCPPOINT_STATUS_ESTIMATED

        public static final int GCPPOINT_STATUS_ESTIMATED
        An integer indicating gcpPointStatus Estimated.
        See Also:
        Constant Field Values
      • GCPPOINT_STATUS_VALIDATED

        public static final int GCPPOINT_STATUS_VALIDATED
        An integer indicating gcpPointStatus Validated.
        See Also:
        Constant Field Values
      • GCPPOINT_STATUS_INVALID

        public static final int GCPPOINT_STATUS_INVALID
        An integer indicating gcpPointStatus Invalidated.
        See Also:
        Constant Field Values
      • MDGRX_SRM_RIGOROUS

        public static final int MDGRX_SRM_RIGOROUS
        An integer indicating modelType RigorousModel.
        See Also:
        Constant Field Values
      • MDGRX_SRM_STOREDFUNC

        public static final int MDGRX_SRM_STOREDFUNC
        An integer indicating modelType StoredFunction.
        See Also:
        Constant Field Values
      • MDGRX_SRM_FUNCFITTING

        public static final int MDGRX_SRM_FUNCFITTING
        An integer indicating modelType FunctionalFitting.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SpatialReferenceInfo

        protected SpatialReferenceInfo​(JGeoRasterMeta geoRasterMeta)
    • Method Detail

      • isReferenced

        public java.lang.Boolean isReferenced()
        Returns true if the current GeoRaster object is georeferenced.
        Returns:
        true if the current GeoRaster object is georeferenced.
      • setReferenced

        public void setReferenced​(java.lang.Boolean isReferenced)
        Sets true if the current GeoRaster object is georeferenced.
        Parameters:
        isReferenced - true if the current GeoRaster object is georeferenced
      • isRectified

        public java.lang.Boolean isRectified()
        Returns true if the current GeoRaster object is rectified.
        Returns:
        true if the current GeoRaster object is rectified.
      • setRectified

        public void setRectified​(java.lang.Boolean isRectified)
        Sets true if the current GeoRaster object is rectified.
        Parameters:
        isRectified - true if the current GeoRaster object is rectified
      • isOrthoRectified

        public java.lang.Boolean isOrthoRectified()
        Returns true if the current GeoRaster object is orthorectified.
        Returns:
        true if the current GeoRaster object is orthorectified.
      • setOrthoRectified

        public void setOrthoRectified​(java.lang.Boolean isOrthoRectified)
        Sets true if the current GeoRaster object is orthorectified.
        Parameters:
        isOrthoRectified - true if the current GeoRaster object is orthorectified
      • getDescription

        public java.lang.String getDescription()
        Returns the georeference description.
        Returns:
        georeference description.
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the georeference description.
        Parameters:
        description - georeference description
      • getModelSRID

        public java.lang.Integer getModelSRID()
        Returns the SRID.
        Returns:
        SRID.
      • setModelSRID

        public void setModelSRID​(java.lang.Integer SRID)
        Sets the SRID.
        Parameters:
        SRID - SRID
      • getVerticalSRID

        public java.lang.Integer getVerticalSRID()
        Returns the vertical SRID.
        Returns:
        vertical SRID.
      • setVerticalSRID

        protected void setVerticalSRID​(java.lang.Integer verticalSRID)
        Sets the vertical SRID.
        Parameters:
        verticalSRID - vertical SRID
      • getModelDimensionDescription

        public java.lang.String getModelDimensionDescription()
        Returns the model dimension description.
        Returns:
        model dimension description.
      • setModelDimensionDescription

        public void setModelDimensionDescription​(java.lang.String modelDimensionDescription)
        Sets the model dimension description.
        Parameters:
        modelDimensionDescription - model dimension description
      • getSpatialResolution

        public java.lang.Double getSpatialResolution​(java.lang.String dimension)
        Returns the spatial resolution of the specified dimension stored in the XML without verification and computing; this means return value might be different from the value returned by the method computeSpatialResolutions.
        Parameters:
        dimension - specified dimension string
        Returns:
        spatial resolution of specified dimension.
      • computeSpatialResolutions

        public double[] computeSpatialResolutions​(int pyramidLevel)
        Computes the spatial resolution based on GeoReference information.
        Parameters:
        pyramidLevel - specified pyramid level
        Returns:
        spatial resolution of X and Y dimension, if pyramidLevel<0 then return spatial resolution of pyramid level 0.
      • setSpatialResolution

        public void setSpatialResolution​(java.lang.String dimension,
                                         java.lang.Double resolution)
        Sets the spatial resolution of the specified dimension.
        Parameters:
        dimension - specified dimension string
        resolution - spatial resolution of specified dimension.
      • getSpatialTolerance

        public java.lang.Double getSpatialTolerance()
        Returns the spatial tolerance.
        Returns:
        spatial tolerance.
      • setSpatialTolerance

        public void setSpatialTolerance​(java.lang.Double spatialTolerance)
        Sets the spatial tolerance.
        Parameters:
        spatialTolerance - spatial tolerance
      • getModelCoordinateLocation

        public java.lang.String getModelCoordinateLocation()
        Returns the model coordinate location.
        Returns:
        model coordinate location.
      • setModelCoordinateLocation

        public void setModelCoordinateLocation​(java.lang.String modelCoordinateLocation)
        Sets the model coordinate location.
        Parameters:
        modelCoordinateLocation - model coordinate location
      • getModelType

        public int getModelType()
        Returns the model type.
        Returns:
        model type.
      • setModelType

        public void setModelType​(int modelType)
        Sets the model type.
        Parameters:
        modelType - model type
      • getPolynomialRowOff

        protected java.lang.Double getPolynomialRowOff()
        Returns the polynomial row offset.
        Returns:
        polynomial row offset.
      • setPolynomialRowOff

        protected void setPolynomialRowOff​(java.lang.Double rowOffset)
        Sets the polynomial row offset.
        Parameters:
        rowOffset - polynomial row offset
      • getPolynomialColumnOff

        protected java.lang.Double getPolynomialColumnOff()
        Returns the polynomial column offset.
        Returns:
        polynomial column offset.
      • setPolynomialColumnOff

        protected void setPolynomialColumnOff​(java.lang.Double columnOffset)
        Sets the polynomial column offset.
        Parameters:
        columnOffset - polynomial column offset
      • getPolynomialXOff

        protected java.lang.Double getPolynomialXOff()
        Returns the polynomial x offset.
        Returns:
        polynomial x offset.
      • setPolynomialXOff

        protected void setPolynomialXOff​(java.lang.Double xOffset)
        Sets the polynomial x offset.
        Parameters:
        xOffset - polynomial x offset
      • getPolynomialYOff

        protected java.lang.Double getPolynomialYOff()
        Returns the polynomial y offset.
        Returns:
        polynomial y offset.
      • setPolynomialYOff

        protected void setPolynomialYOff​(java.lang.Double yOffset)
        Sets the polynomial y offset.
        Parameters:
        yOffset - polynomial y offset
      • getPolynomialZOff

        protected java.lang.Double getPolynomialZOff()
        Returns the polynomial z offset.
        Returns:
        polynomial z offset.
      • setPolynomialZOff

        protected void setPolynomialZOff​(java.lang.Double zOffset)
        Sets the polynomial z offset.
        Parameters:
        zOffset - polynomial z offset
      • getPolynomialRowScale

        protected java.lang.Double getPolynomialRowScale()
        Returns the polynomial row scale.
        Returns:
        polynomial row scale.
      • setPolynomialRowScale

        protected void setPolynomialRowScale​(java.lang.Double rowScale)
        Sets the polynomial row scale.
        Parameters:
        rowScale - row scale
      • getPolynomialColumnScale

        protected java.lang.Double getPolynomialColumnScale()
        Returns the polynomial column scale.
        Returns:
        polynomial column scale.
      • setPolynomialColumnScale

        protected void setPolynomialColumnScale​(java.lang.Double columnScale)
        Sets the polynomial column scale.
        Parameters:
        columnScale - column scale
      • getPolynomialXScale

        protected java.lang.Double getPolynomialXScale()
        Returns the polynomial x scale.
        Returns:
        polynomial x scale.
      • setPolynomialXScale

        protected void setPolynomialXScale​(java.lang.Double xScale)
        Sets the polynomial x scale.
        Parameters:
        xScale - x scale
      • getPolynomialYScale

        protected java.lang.Double getPolynomialYScale()
        Returns the polynomial y scale.
        Returns:
        polynomial y scale.
      • setPolynomialYScale

        protected void setPolynomialYScale​(java.lang.Double yScale)
        Sets the polynomial y scale.
        Parameters:
        yScale - y scale
      • getPolynomialZScale

        protected java.lang.Double getPolynomialZScale()
        Returns the polynomial z scale.
        Returns:
        polynomial z scale.
      • setPolynomialZScale

        protected void setPolynomialZScale​(java.lang.Double zScale)
        Sets the polynomial z scale.
        Parameters:
        zScale - z scale
      • getPolynomialRowRMS

        protected java.lang.Double getPolynomialRowRMS()
        Returns the polynomial row RMS.
        Returns:
        polynomial row RMS.
      • setPolynomialRowRMS

        protected void setPolynomialRowRMS​(java.lang.Double rowRMS)
        Sets the polynomial row RMS.
        Parameters:
        rowRMS - row RMS
      • getPolynomialColumnRMS

        protected java.lang.Double getPolynomialColumnRMS()
        Returns the polynomial column RMS.
        Returns:
        polynomial column RMS.
      • setPolynomialColumnRMS

        protected void setPolynomialColumnRMS​(java.lang.Double columnRMS)
        Sets the polynomial column RMS.
        Parameters:
        columnRMS - column RMS
      • getPolynomialTotalRMS

        protected java.lang.Double getPolynomialTotalRMS()
        Returns the polynomial total RMS.
        Returns:
        polynomial total RMS.
      • setPolynomialTotalRMS

        protected void setPolynomialTotalRMS​(java.lang.Double totalRMS)
        Sets the polynomial total RMS.
        Parameters:
        totalRMS - total RMS
      • get_pPolynomial_pType

        protected java.lang.Integer get_pPolynomial_pType()
        Returns the pType of p polynomial.
        Returns:
        pType of p polynomial.
      • set_pPolynomial_pType

        protected void set_pPolynomial_pType​(java.lang.Integer pType)
        Sets the pType of p polynomial.
        Parameters:
        pType - pType of p polynomial
      • get_pPolynomial_nVars

        protected java.lang.Integer get_pPolynomial_nVars()
        Returns the nVars of p polynomial.
        Returns:
        nVars of p polynomial.
      • set_pPolynomial_nVars

        protected void set_pPolynomial_nVars​(java.lang.Integer nVars)
        Sets the nVars of p polynomial.
        Parameters:
        nVars - nVars of p polynomial
      • get_pPolynomial_order

        protected java.lang.Integer get_pPolynomial_order()
        Returns the order of p polynomial.
        Returns:
        order of p polynomial.
      • set_pPolynomial_order

        protected void set_pPolynomial_order​(java.lang.Integer order)
        Sets the order of p polynomial.
        Parameters:
        order - order of p polynomial
      • get_pPolynomial_nCoefficients

        protected java.lang.Integer get_pPolynomial_nCoefficients()
        Returns the nCoefficients of p polynomial.
        Returns:
        nCoefficients of p polynomial.
      • set_pPolynomial_polynomial_nCoefficients

        protected void set_pPolynomial_polynomial_nCoefficients​(java.lang.Integer nCoefficients)
        Sets the nCoefficients of p polynomial.
        Parameters:
        nCoefficients - nCoefficients of p polynomial
      • get_pPolynomial_polynomialCoefficients

        protected java.util.Vector get_pPolynomial_polynomialCoefficients()
        Returns the coefficients of p polynomial.
        Returns:
        coefficients of p polynomial.
      • set_pPolynomial_polynomialCoefficients

        protected void set_pPolynomial_polynomialCoefficients​(java.util.Vector coefficients)
        Sets the coefficients of p polynomial.
        Parameters:
        coefficients - coefficients of p polynomial
      • get_qPolynomial_pType

        protected java.lang.Integer get_qPolynomial_pType()
        Returns the pType of q polynomial.
        Returns:
        pType of q polynomial.
      • set_qPolynomial_pType

        protected void set_qPolynomial_pType​(java.lang.Integer pType)
        Sets the pType of q polynomial.
        Parameters:
        pType - pType of q polynomial
      • get_qPolynomial_nVars

        protected java.lang.Integer get_qPolynomial_nVars()
        Returns the nVars of q polynomial.
        Returns:
        nvars of q polynomial.
      • set_qPolynomial_nVars

        protected void set_qPolynomial_nVars​(java.lang.Integer nVars)
        Sets the nVars of q polynomial.
        Parameters:
        nVars - nVars of q polynomial
      • get_qPolynomial_order

        protected java.lang.Integer get_qPolynomial_order()
        Returns the order of q polynomial.
        Returns:
        order of q polynomial.
      • set_qPolynomial_order

        protected void set_qPolynomial_order​(java.lang.Integer order)
        Sets the order of q polynomial.
        Parameters:
        order - order of q polynomial
      • get_qPolynomial_nCoefficients

        protected java.lang.Integer get_qPolynomial_nCoefficients()
        Returns the nCoefficients of q polynomial.
        Returns:
        nCoefficients of q polynomial.
      • set_qPolynomial_polynomial_nCoefficients

        protected void set_qPolynomial_polynomial_nCoefficients​(java.lang.Integer nCoefficients)
        Sets the nCoefficients of q polynomial.
        Parameters:
        nCoefficients - nCoefficients of q polynomial
      • get_qPolynomial_polynomialCoefficients

        protected java.util.Vector get_qPolynomial_polynomialCoefficients()
        Returns the coefficients of q polynomial.
        Returns:
        coefficients of q polynomial.
      • set_qPolynomial_polynomialCoefficients

        protected void set_qPolynomial_polynomialCoefficients​(java.util.Vector coefficients)
        Sets the coefficients of q polynomial.
        Parameters:
        coefficients - coefficients of q polynomial
      • get_rPolynomial_pType

        protected java.lang.Integer get_rPolynomial_pType()
        Returns the pType of r polynomial.
        Returns:
        pType of r polynomial.
      • set_rPolynomial_pType

        protected void set_rPolynomial_pType​(java.lang.Integer pType)
        Sets the pType of r polynomial.
        Parameters:
        pType - pType of r polynomial
      • get_rPolynomial_nVars

        protected java.lang.Integer get_rPolynomial_nVars()
        Returns the nVars of r polynomial.
        Returns:
        nvars of r polynomial.
      • set_rPolynomial_nVars

        protected void set_rPolynomial_nVars​(java.lang.Integer nVars)
        Sets the nVars of r polynomial.
        Parameters:
        nVars - nVars of r polynomial
      • get_rPolynomial_order

        protected java.lang.Integer get_rPolynomial_order()
        Returns the order of r polynomial.
        Returns:
        order of r polynomial.
      • set_rPolynomial_order

        protected void set_rPolynomial_order​(java.lang.Integer order)
        Sets the order of r polynomial.
        Parameters:
        order - order of r polynomial
      • get_rPolynomial_nCoefficients

        protected java.lang.Integer get_rPolynomial_nCoefficients()
        Returns the nCoefficients of r polynomial.
        Returns:
        nCoefficients of r polynomial.
      • set_rPolynomial_polynomial_nCoefficients

        protected void set_rPolynomial_polynomial_nCoefficients​(java.lang.Integer nCoefficients)
        Sets the nCoefficients of r polynomial.
        Parameters:
        nCoefficients - nCoefficients of r polynomial
      • get_rPolynomial_polynomialCoefficients

        protected java.util.Vector get_rPolynomial_polynomialCoefficients()
        Returns the coefficients of r polynomial.
        Returns:
        coefficients of r polynomial.
      • set_rPolynomial_polynomialCoefficients

        protected void set_rPolynomial_polynomialCoefficients​(java.util.Vector coefficients)
        Sets the coefficients of r polynomial.
        Parameters:
        coefficients - coefficients of r polynomial
      • get_sPolynomial_pType

        protected java.lang.Integer get_sPolynomial_pType()
        Returns the pType of s polynomial.
        Returns:
        pType of s polynomial.
      • set_sPolynomial_pType

        protected void set_sPolynomial_pType​(java.lang.Integer pType)
        Sets the pType of s polynomial
        Parameters:
        pType - pType of s polynomial.
      • get_sPolynomial_nVars

        protected java.lang.Integer get_sPolynomial_nVars()
        Returns the nVars of s polynomial.
        Returns:
        nVars of s polynomial.
      • set_sPolynomial_nVars

        protected void set_sPolynomial_nVars​(java.lang.Integer nVars)
        Sets the nVars of s polynomial.
        Parameters:
        nVars - nVars of s polynomial
      • get_sPolynomial_order

        protected java.lang.Integer get_sPolynomial_order()
        Returns the order of s polynomial.
        Returns:
        order of s polynomial.
      • set_sPolynomial_order

        protected void set_sPolynomial_order​(java.lang.Integer order)
        Sets the order of s polynomial.
        Parameters:
        order - order of s polynomial
      • get_sPolynomial_nCoefficients

        protected java.lang.Integer get_sPolynomial_nCoefficients()
        Returns the nCoefficients of s polynomial.
        Returns:
        nCoefficients of s polynomial.
      • set_sPolynomial_polynomial_nCoefficients

        protected void set_sPolynomial_polynomial_nCoefficients​(java.lang.Integer nCoefficients)
        Sets the nCoefficients of s polynomial.
        Parameters:
        nCoefficients - nCoefficients of s polynomial
      • get_sPolynomial_polynomialCoefficients

        protected java.util.Vector get_sPolynomial_polynomialCoefficients()
        Returns the coefficients of s polynomial.
        Returns:
        coefficients of s polynomial.
      • set_sPolynomial_polynomialCoefficients

        protected void set_sPolynomial_polynomialCoefficients​(java.util.Vector coefficients)
        Sets the coefficients of s polynomial.
        Parameters:
        coefficients - coefficients of s polynomial
      • getGcpFFMethod

        public int getGcpFFMethod()
        Returns the GCP FFMethod.
        Returns:
        GCP FFMethod.
      • setGcpFFMethod

        public void setGcpFFMethod​(int FFMethod)
        Sets the GCP FFMethod.
        Parameters:
        FFMethod - GCP FFMethod
      • getGcpPoints

        public java.util.Vector getGcpPoints()
        Returns the GCP points.
        Returns:
        GCP points.
      • setGcpPoints

        public void setGcpPoints​(java.util.Vector points)
        Sets the GCP points.
        Parameters:
        points - a vector of GCP points
      • addGcpPoints

        public void addGcpPoints​(java.util.Vector points)
        Append the GCP points to existing GCP points.
        Parameters:
        points - a vector of GCP points
      • getGcpTableName

        public java.lang.String getGcpTableName()
        Returns the GCP table name.
        Returns:
        GCP table name.
      • setGcpTableName

        public void setGcpTableName​(java.lang.String gcpTableName)
        Sets the GCP table name.
        Parameters:
        gcpTableName - GCP table name
      • getFunctionalFittingModel

        public GeorFunctionalFittingModel getFunctionalFittingModel()
        Returns a GeorFunctionFittingModel object based on XML metadata.
        Returns:
        GeorFunctionFittingModel object.
      • setWorldFile

        public void setWorldFile​(double A,
                                 double B,
                                 double C,
                                 double D,
                                 double E,
                                 double F)
                          throws GeoRasterException
        Initiates attribute values based on given parameters in a world file.
        Parameters:
        A - parameter A defined in the worldfile
        B - parameter B defined in the worldfile
        C - parameter C defined in the worldfile
        D - parameter D defined in the worldfile
        E - parameter E defined in the worldfile
        F - parameter F defined in the worldfile
        Throws:
        GeoRasterException
      • setFunctionFittingModel

        public void setFunctionFittingModel​(GeorFunctionalFittingModel srs)
        Initiates attribute values based on a given GeorFunctionFittingModel object.
        Parameters:
        srs - GeorFunctionFittingModel object.
      • getGeoreferenceType

        public int getGeoreferenceType()
        Returns the georeference type.
        Returns:
        georeference type.
      • getModelCoordinate

        public double[] getModelCoordinate​(double row,
                                           double column,
                                           long pyramidLevel)
        calculate model coordinates based on given cell coordinates.
        Parameters:
        row - row number in cell space, which already counts in row ULTCoordinate.
        column - column number in cell space, which already counts in column ULTCoordinate.
        pyramidLevel - pyramid level.
        Returns:
        model coordinates array (x,y)
      • getModelCoordinate

        public double[] getModelCoordinate​(double row,
                                           double column,
                                           long pyramidLevel,
                                           double height)
        calculate model coordinates based on given cell coordinates.
        Parameters:
        row - row number in cell space, which already counts in row ULTCoordinate
        column - column number in cell space, which already counts in column ULTCoordinate
        pyramidLevel - pyramid level
        height - height
        Returns:
        model coordinates array (x,y)
      • getModelCoordinate

        public JGeometry getModelCoordinate​(JGeometry geometry,
                                            int pyramidLevel,
                                            int targetSRID)
                                     throws java.lang.Exception
        Transforms a geometry in the raster space of the GeoRaster object to a geometry in the ground coordinate system. The SRID of ground coordinate system is specified by parameter targetSRID.
        Parameters:
        geometry - a geometry in the cell space
        pyramidLevel - pyramid level
        targetSRID - target SRID; must be greater than zero
        Returns:
        a geometry in the ground coordinate system
        Throws:
        java.lang.Exception
      • getModelCoordinate

        public JGeometry getModelCoordinate​(JGeometry geometry,
                                            int pyramidLevel,
                                            int targetSRID,
                                            double height)
                                     throws java.lang.Exception
        Transforms a geometry in the raster space of the GeoRaster object to a geometry in the ground coordinate system. The SRID of ground coordinate system is specified by parameter targetSRID.
        Parameters:
        geometry - a geometry in the cell space
        pyramidLevel - pyramid level
        targetSRID - target SRID; must be greater than zero
        height - height
        Returns:
        a geometry in the ground coordinate system
        Throws:
        java.lang.Exception
      • getCellCoordinate

        public double[] getCellCoordinate​(double x,
                                          double y,
                                          long pyramidLevel)
        Calculates cell coordinates based on given model coordinates.
        Parameters:
        x - x in model space
        y - y in model space
        pyramidLevel - pyramid level
        Returns:
        cell coordinates array (row,column).
      • getCellCoordinate

        public double[] getCellCoordinate​(double x,
                                          double y,
                                          long pyramidLevel,
                                          double height)
        Calculates cell coordinates based on given model coordinates.
        Parameters:
        x - x in model space
        y - y in model space
        pyramidLevel - pyramid level
        height - height
        Returns:
        cell coordinates array (row,column)
      • getCellCoordinate

        public JGeometry getCellCoordinate​(JGeometry geometry,
                                           int pyramidLevel)
        Transforms a geometry in the ground coordinate system to the location of a geometry in the raster space of the GeoRaster object.
        Parameters:
        geometry - a geometry in the ground coordinate system
        pyramidLevel - pyramid level
        Returns:
        a geometry in the raster space of the GeoRaster object
      • getCellCoordinate

        public JGeometry getCellCoordinate​(JGeometry geometry,
                                           int pyramidLevel,
                                           double height)
        Transforms a geometry in the ground coordinate system to the location of a geometry in the raster space of the GeoRaster object.
        Parameters:
        geometry - a geometry in the ground coordinate system
        pyramidLevel - pyramid level
        height - number specifying the Z value for three-dimensional (X, Y, Z) georeferencing
        Returns:
        a geometry in the raster space of the GeoRaster object
      • initialize

        protected void initialize()
      • populateMetadata

        protected void populateMetadata​(org.w3c.dom.Node node)
      • getJSONString

        protected java.lang.String getJSONString​(java.lang.StringBuilder jsonString)
                                          throws GeoRasterException
        Returns a JSON string represented by this GeoRaster Metadata subcomponent.
        Returns:
        a JSON string.
        Throws:
        GeoRasterException