Excalib65 ha scritto:Salve ragazzi, la discussione si sta facendo veramente interessante, ma mi si è presentato un problema nell'utilizzo della routine merge per unire più ecw in un unico file. La ho utilizzato in questo modo:
>gdal_merge.bat -o 564.ecw -of ECW -co ="LARGE_OK=TRUE" 564010.ecw 564020.ecw 564030.ecw 564040.ecw 564050.ecw 564060.ecw 564070.ecw 564080.ecw
ed ho ottenuto il seguente messaggio di errore:
ERROR 6: GDALDriver::Create() ... no create method implemented for this format.
Traceback (most recent call last):
File "C:\PROGRA~1\FWTOOL~1.0A8\bin\gdal_merge.py", line 453, in ?
t_fh.SetGeoTransform( geotransform )
AttributeError: 'NoneType' object has no attribute 'SetGeoTransform'
Ora, non sono ancora andato a spulciare il sorgente in py, in quanto non particolarmente esperto. Qualcuno ha un suggerimento da darmi?
Hai ragione l'ECW ha solo il CreateCopy

Vuol solo dire che devi passare attraverso un altro formato ( per esempio GTiff )
Prova :
> gdal_merge.bat -o 564.tif -of GTiff -co ="LARGE_OK=TRUE" 564010.ecw 564020.ecw 564030.ecw 564040.ecw 564050.ecw 564060.ecw 564070.ecw 564080.ecw
e poi trasforma il tiff in ecw :
> gdal_translate -of ECW co ="LARGE_OK=TRUE" 564.tif 564.ecw
Fammi sapere