[GRASS-dev] r.unpack: unhelpful error message when projection info does not match

Luca Delucchi lucadeluge at gmail.com
Sun Mar 2 23:36:40 PST 2014


On 2 March 2014 04:23, Anna Petrášová <kratochanna at gmail.com> wrote:
>
>
>
> On Fri, Feb 28, 2014 at 5:14 PM, Luca Delucchi <lucadeluge at gmail.com> wrote:
>>
>> On 28 February 2014 15:38, Markus Neteler <neteler at osgeo.org> wrote:
>>
>> >
>> > Ideas? thanks
>> >
>>
>> I think the attached patch should fix the problem (I have no time to
>> test it), but I don't know if it broke something else.
>> I saw the function compare_key_value_text_files is used only in
>> r/v.unpack and temporal/stds_import.py, Soeren the attached patch
>> could create problem in this file?
>
>
>
> The diff looks reasonable. Since it is used in the temporal framework for
> the same purpose, it should be fine I think.

committed in r59173.

> As Glynn mentioned, this
> function shouldn't be in core, so how about creating
> python/scripts/utils.py? Some of the functions in gui could be moved there
> too.
>

I would like to call it python/scripts/functions.py because we already
have python/pygrass/functions.py, what do you think?

> Anna
>


-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list