The following doesn't work:
gdal_translate -of KEA /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH.kea
The following does work (add '_test' to the output filename).
gdal_translate -of KEA /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH_test.kea
I checked the file info with gdalinfo and it says the first is still an ENVI and the second is a KEA. When using '-of GTiff' it correctly identifies the output as a tif without having to add '_test.tif'' (e.g. gdal_translate -of GTiff /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH /Users/nmthomas/Downloads/S02W080_96_MOS/S02W080_96_sl_HH.tif)
Im guessing something is not being done correctly when renaming the file??
Thanks, Nathan
--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.