[GRASS-dev] i.rectify should test for illegal file names before
launching rectification
Moritz Lennert
mlennert at club.worldonline.be
Mon Nov 5 11:10:24 EST 2007
On 05/11/07 16:25, Markus Neteler wrote:
> Moritz Lennert wrote on 11/05/2007 04:09 PM:
>> Hello,
>>
>> If you give an illegal output name to i.rectify, this is only tested
>> after rectification. This should be done before in order to have to wait
>> for the whole process to finish to then notice it won't work.
>>
> Right - I guess
> G_legal_filename()
> at the beginning would do the job.
Yes, just make sure to check the given output filename + the given
extension.
BTW anyone know how to give an empty extension in the tcltk gui ? On the
command line I can use extension="", but in the gui I get an error
because of an illegal ".
Moritz
More information about the grass-dev
mailing list