Interface ForwardCoding

    • Method Detail

      • getGeoPos

        GeoPos getGeoPos​(PixelPos pixelPos,
                         GeoPos geoPos)
        Returns the latitude and longitude value for a given pixel co-ordinate.
        Parameters:
        pixelPos - the pixel's coordinates given as x,y
        geoPos - an instance of GeoPos to be used as return value. If this parameter is null, the method creates a new instance which it then returns.
        Returns:
        the geographical position as lat/lon in the coordinate system determined by the underlying CRS
      • initialize

        void initialize​(GeoRaster geoRaster,
                        boolean containsAntiMeridian,
                        PixelPos[] poleLocations)
        Initializes the ForwardCoding. Passes in the geo_raster and allows initializing.
        Parameters:
        geoRaster - the geoRaster
        containsAntiMeridian - whether the data crosses the anti-meridian or not
        poleLocations - locations of the poles - o3 a leght zero array if no poles are contained in the data
      • getKey

        String getKey()
        A ForwardCoding shall be instanced only by ComponentFactory using a String key. Such an instance must be able to return the key, in order to persist the ForwardCoding and recreate such an instance via ComponentFactory if the Product shall be opened again.
        Returns:
        the key String used while instantiating via ComponentFactory
      • dispose

        void dispose()
        Free all resources allocated
      • clone

        ForwardCoding clone()
        Create a shallow copy of the ForwardCoding, rasterdata is shared;
        Returns:
        the clone