[GRASS-dev] [GRASS GIS] #3289: Setting delete_empty=True register_map_object_list() when using vector map ends up in crashing

GRASS GIS trac at osgeo.org
Fri Feb 17 09:07:19 PST 2017


#3289: Setting delete_empty=True register_map_object_list() when using vector map
ends up in crashing
----------------------------+-------------------------
 Reporter:  lrntct          |      Owner:  grass-dev@…
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:  7.2.1
Component:  Temporal        |    Version:  7.2.0
 Keywords:  stvds register  |        CPU:  x86-64
 Platform:  Linux           |
----------------------------+-------------------------
 When trying to register a list of VectorDataset objects in a STVDS
 using register_map_object_list(delete_empty=True), it ends up with 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'
 }}}

 A minimum working example is attached.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3289>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list