Opened 13 years ago
Closed 12 years ago
#3892 closed defect (fixed)
PostGIS Raster driver: Error reading Arc/Info ASCII and Binary Grid files loaded in PostGIS Raster
Reported by: | jorgearevalo | Owned by: | jorgearevalo |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.7.3 |
Severity: | critical | Keywords: | postgis_raster aaigrid aig |
Cc: | jorge.arevalo@…, pcav |
Description (last modified by )
AAIGrid (ASCII): A user reported a problem. Nodata values are filled with zeros when trying to read a PostGIS Raster file with GDAL 1.7.3 released 2010/11/10 (OLD version of PostGIS Raster driver with that release).
AIG (Binary): Another user reported a different problem. When trying to execute gdal_translate (GDAL 1.7.2 from debian experimental, OLD version of PostGIS Raster driver with that release) over a .adf file loaded in PostGIS Raster, he got this error:
"ERROR 1: Can't get georeference coordinates from database (...) ERROR 1: Sorry, but couldn't create the structure to read the raster on memory, aborting."
Attachments (1)
Change History (10)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
Status: | new → assigned |
---|
comment:3 by , 13 years ago
Cc: | added |
---|
by , 13 years ago
Attachment: | gdal-1.7.2-wktraster.patch added |
---|
comment:4 by , 13 years ago
About the second bug (AIG one): The problem is the driver tries to read 2 fields of raster_columns table that have changed their names (pixelsize_x and pixelsize_y now are scale_x, scale_y). So, there are 2 possible solutions:
- Recommended solution: Use a trunk GDAL version up to r20912 (new version of PostGIS Raster driver on that release)
- Apply the change in the attached patch (gdal-1.7.2-wktraster.patch) to the original 1.7.2 sources
comment:5 by , 13 years ago
About the first bug, doesn't happen with the new version of the driver (included in GDAL trunk on r20912).
comment:6 by , 13 years ago
Milestone: | 1.8.1 → 1.8.2 |
---|
comment:8 by , 12 years ago
Keywords: | postgis_raster added |
---|
comment:9 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I can't reproduce this bug. I think it works with the changes suggested in comments. I close the ticket.
Little patch to fix wktraster driver