[Gdal-dev] ERMapper .ers ?

Tyler Mitchell TMitchell at lignum.com
Thu Apr 29 14:35:14 EDT 2004


Hi Ben, the ers file is a text file that describes the dataset - bands, 
projection,  and sundry other details.  I'll paste an example for you. I'm 
not sure of its utility and whether or not gdal reads or writes it.

Tyler
------------
DatasetHeader Begin
        Version         = "6.0"
        Name            = "93B040_2001ortho.ers"
        LastUpdated     = Wed Mar 06 09:45:59 GMT 2002
        DataFile        = "93B040_2001ortho.ecw"
        DataSetType     = Translated
        DataType        = Raster
        ByteOrder       = LSBFirst
        CoordinateSpace Begin
                Datum           = "NAD83"
                Projection      = "NUTM10"
                CoordinateType  = EN
                Rotation        = 0:0:0.0
        CoordinateSpace End
        RasterInfo Begin
                CellType        = Unsigned8BitInteger
                CellInfo Begin
                        Xdimension      = 0.5
                        Ydimension      = 0.49999999999955286
                CellInfo End
                NrOfLines       = 22910
                NrOfCellsPerLine        = 27860
                RegistrationCoord Begin
                        Eastings        = 554369.99999999942
                        Northings       = 5806149.9999999898
                RegistrationCoord End
                NrOfBands       = 3
                BandId Begin
                        Value           = "Red"
                BandId End
                BandId Begin
                        Value           = "Green"
                BandId End
                BandId Begin
                        Value           = "Blue"
                BandId End
                RegionInfo Begin
                        Type            = Polygon
                        RegionName      = "All"
                        SubRegion       = {
                                0       0
                                0       22910
                                27860   22910
                                27860   0
                        }
                RegionInfo End
        RasterInfo End
DatasetHeader End




More information about the Gdal-dev mailing list