[GRASS-dev] [GRASS GIS] #3249: v.what.rast: segfault with map without topology

GRASS GIS trac at osgeo.org
Fri Jan 13 12:13:28 PST 2017


#3249: v.what.rast: segfault with map without topology
--------------------------+----------------------------------
  Reporter:  sbl          |      Owner:  martinl
      Type:  defect       |     Status:  assigned
  Priority:  normal       |  Milestone:  7.4.0
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.what.rast, level 1
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------------

Comment (by martinl):

 > * probably also Vect_get_num_primitives should be modified to return -1
 if topology is missing

 Or the routine could return number of primitives by reading all features,
 this issue is related conceptually with #3244. For now I changed module
 back to require level2 (r70366).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3249#comment:11>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list