[Gdal-dev] Possible bug: numeric file name and gcps
Asger Petersen
asger at jo-informatik.dk
Mon May 9 07:54:28 EDT 2005
Hi
I grew some gray hair finding out, that you can´t have a numeric filename when you use gcps with gdal_translate.
This works:
gdal_translate -of JP2KAK -gcp 0 0 702530.030 6172016.512 ht200414_06_7631.ecw ht200414_06_7631gcp.jp2
This doesn't work:
gdal_translate -of JP2KAK -gcp 0 0 702530.030 6172016.512 200414_06_7631.ecw 200414_06_7631gcp.jp2
If you don't use gcps, there are no problems with numeric filenames. So this also works:
gdal_translate -of JP2KAK 200414_06_7631.ecw 200414_06_7631gcp.jp2
(I have only tried with gdal from fwtools 0.9.8.)
Regards
Asger Petersen
More information about the Gdal-dev
mailing list