#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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev