Ticket #2348 (closed defect: fixed)
Cannot open a USGS DEM file?
| Reported by: | dmalav | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.2 |
| Component: | GDAL_Raster | Version: | 1.5.1 |
| Severity: | blocker | Keywords: | usgsdem |
| Cc: |
Description
Hi,
I could not open this USGS DEM file using GDAL. I checked the file with other dem viewing programs and it looks fine there.
I am using the following code.
GDALAllRegister();
poDataset = (GDALDataset *) GDALOpen( DemFile?, GA_ReadOnly ); if( poDataset == NULL ) {
acad_printf("Error opening file %s\n%s\n",DemFile?, CPLGetLastErrorMsg()); CPLFreeConfig(); return 0;
}
It comes with an error "not recognised as a supported file format."
File is attached, if you do not see the file please let me know. Any help would be greatly appreciated. Thanks, Dinesh
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

