Ticket #4187 (closed defect: fixed)
Open a .ecw with EPSG PCS/GCS code -1 fails
| Reported by: | bkrangnes | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | GDAL_Raster | Version: | 1.8.1 |
| Severity: | normal | Keywords: | EPSG -1 ECW SWIG Exception |
| Cc: |
Description
We use Gdal 1-8-1 and the following code to open an .ecw file with :
OSGeo.GDAL.Gdal.Open(fileName, 0) The following error is returned:
“EPSG PCS/GCS code -1 not found in EPSG support files. Is this a valid EPSG coordinate system?”
Gdalinfo reports the following on the .ecw file: ERROR 6: EPSG PCS/GCS code -1 not found in EPSG support files. Is this a valid EPSG coordinate system?
When using an older version of gdal the .ecw file is opened ok.
Is -1 a valid code to use or is gdal not handling this correctly?
Change History
Note: See
TracTickets for help on using
tickets.
