Opened 7 years ago
Last modified 6 years ago
#3569 new defect
pyGRASS: vector attributes return None — at Initial Version
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.5 |
Component: | PyGRASS | Version: | unspecified |
Keywords: | VectorTopo, attributes table | Cc: | |
CPU: | All | Platform: | All |
Description
If you try to open a vector map in a Mapset different from the current it seems not possible to read attributes. Running the following code from user1 mapset of nc_spm_08
#counties = VectorTopo('boundary_county') counties = VectorTopo('boundary_county', mapset='PERMANENT') counties.open('r') first = counties[1] first first.attrs.values()
Note:
See TracTickets
for help on using tickets.