[gdal-dev] gdal_translate takes negative values as an option (?)

Ivan Lucena ivan.lucena at princeton-ma.us
Fri Jun 1 13:23:25 PDT 2012


That is great! Thanks Even.

>  -------Original Message-------
>  From: Even Rouault <even.rouault at mines-paris.org>
>  To: gdal-dev at lists.osgeo.org, Ivan Lucena <ivan.lucena at princeton-ma.us>
>  Subject: Re: [gdal-dev] gdal_translate takes negative values as an option (?)
>  Sent: Jun 01 '12 15:10
>  
>  Le vendredi 01 juin 2012 17:17:46, Ivan Lucena a écrit :
>  > It turns out that gdal_translate -scale doesn't parse exponential by using
>  > the function ArgIsNumeric:
>  >
>  > http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdal_translate.cpp#L1258
>  >
>  > It works fine with -0.0000000000000000000000000000000000034
>  
>  I've fixed ArgIsNumeric() in r24528, so values in scientific notation should now
>  be recognized properly.
>  


More information about the gdal-dev mailing list