[GRASS-dev] [GRASS GIS] #3010: PyGRASS fails to write vector map with attributes

GRASS GIS trac at osgeo.org
Fri Nov 11 02:04:09 PST 2016


#3010: PyGRASS fails to write vector map with attributes
-------------------------+-------------------------------------------------
  Reporter:  annakrat    |      Owner:  grass-dev@…
      Type:  defect      |     Status:  reopened
  Priority:  major       |  Milestone:  7.2.0
 Component:  PyGRASS     |    Version:  svn-trunk
Resolution:              |   Keywords:  vector, API break, backwards
       CPU:              |  compatibility
  Unspecified            |   Platform:  All
-------------------------+-------------------------------------------------

Comment (by zarch):

 Replying to [comment:5 huhabla]:
 > IMHO the former implementation was close to be a bug that was fixed in
 trunk. For every new feature a new category was created by default, except
 a category was already attached to the c_cat field in the geometry. It was
 not obvious howto use the same category for different features.

 I do think that the current version is better than it was.

 But it breaks things and this is why I've informally ask to Markus N. if
 it would be possible to have a grass addons directory grass70 and
 grass72... But he want to avoid to have further differentiation of the
 grass folders.
 Because the code is not portable between these two versions.

 [off topic] Perhaps git would be an option where you use a dedicate branch
 for grass6/grass70/grass7x.

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



More information about the grass-dev mailing list