Opened 20 years ago
Last modified 20 years ago
#535 closed defect (fixed)
Can't open ECW files from an image web server
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I'm having trouble reading ECW files from an image web server. gdalinfo ecwp://www.earthetc.com/images/usa/1meterCalif.ecw returns: ERROR 4: `ecwp://www.earthetc.com/images/usa/1meterCalif.ecw' does not exist in the file system, and is not recognised as a supported dataset name. I think that it is due to the change made in ecwdataset.cpp Rev 1.12 if( !EQUAL(CPLGetExtension(poOpenInfo->pszFilename),"ecw") || poOpenInfo->fp == NULL ) return( NULL ); poOpenInfo->fp seems to be NULL (not suprisingly) when accessing an image web server, removing that condition makes it work.
Note:
See TracTickets
for help on using tickets.