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

GRASS GIS trac at osgeo.org
Sat Jun 4 12:36:40 PDT 2016


#3010: PyGRASS fails to write vector map with attributes
--------------------------+-------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  major        |  Milestone:  7.2.0
 Component:  PyGRASS      |    Version:  svn-trunk
Resolution:  fixed        |   Keywords:  vector
       CPU:  Unspecified  |   Platform:  All
--------------------------+-------------------------
Changes (by annakrat):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 OK, the API changed in r66016 and the documentation was not updated. Fixed
 in r68603 and backported in r68604 to releasebranch 7.2.

 The right syntax is now:
 {{{
 new.write(point0, cat=1, attrs=('pub',))
 }}}

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



More information about the grass-dev mailing list