[GRASS-dev] Temporal framework: error when trying to register vector maps using register_map_object_list()

Sören Gebbert soerengebbert at googlemail.com
Sat Mar 4 23:57:03 PST 2017


This bug is hopefully fixed in trunk, please test.

After testing this will be backported to grass 7.2.

Best regards
Soeren

2017-02-17 21:19 GMT+01:00 Sören Gebbert <soerengebbert at googlemail.com>:
> Its a bug, i will try to fix it.
>
> Best regards
> Soeren
>
> 2017-02-17 3:48 GMT+01:00 Anna Petrášová <kratochanna at gmail.com>:
>> On Thu, Feb 16, 2017 at 9:28 PM, Laurent C. <lrntct at gmail.com> wrote:
>>> Hello all,
>>>
>>> I'm trying to register a list of VectorDataset objects in a STVDS
>>> using tgis.register.register_map_object_list().
>>>
>>> The same function works fine when trying to register a list of
>>> RasterDataset objects.
>>> However, when using it with VectorDataset objects, I get the following error:
>>> ```
>>>   File "/usr/lib/grass72/etc/python/grass/temporal/register.py", line
>>> 480, in register_map_object_list
>>>     if map_layer.metadata.get_min() is None and \
>>> AttributeError: 'VectorMetadata' object has no attribute 'get_min'
>>> ```
>>>
>>> Do I do something wrong or should I fill up a Trac issue?
>>
>> I didn't investigate, but that looks like a bug to me, so yes, please
>> create a ticket.
>>
>> Anna
>>
>>>
>>> Thanks for your help,
>>>
>>> Laurent
>>> _______________________________________________
>>> grass-dev mailing list
>>> grass-dev at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/grass-dev
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list