Opened 7 years ago
Closed 6 years ago
#3549 closed defect (fixed)
pygrass wrongly reports lines for point vector maps
Reported by: | sbl | Owned by: | martinl |
---|---|---|---|
Priority: | normal | Milestone: | 7.4.2 |
Component: | PyGRASS | Version: | 7.4.0 |
Keywords: | pygrass, vector, info | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | All |
Description
Tested on both Windows and Linux. Here an example using NC data set:
v.info busstopsall_uncont layer=1 -t nodes=0 points=108 lines=0 boundaries=0 centroids=0 areas=0 islands=0 primitives=108 map3d=0
So, no lines n the map. However, when I try to get the same info from pygrass, 108 lines are reported in addition to the 108 points:
from grass.pygrass.vector import VectorTopo in_vect = VectorTopo('busstopsall_uncont', layer=1) in_vect.open(mode='r') in_vect.is_open() True in_vect.number_of('points') 108 in_vect.number_of('lines') 108
Change History (5)
comment:1 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:2 by , 6 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
In 73393: