[GRASS-dev] [GRASS GIS] #3549: pygrass wrongly reports lines for point vector maps

#3549: pygrass wrongly reports lines for point vector maps
---------------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.4.1
Component: PyGRASS | Version: 7.4.0
Keywords: pygrass,vector,info | CPU: Unspecified
Platform: All |
---------------------------------+-------------------------
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
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3549&gt;
GRASS GIS <https://grass.osgeo.org>

#3549: pygrass wrongly reports lines for point vector maps
--------------------------+---------------------------------
  Reporter: sbl | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.4.2
Component: PyGRASS | Version: 7.4.0
Resolution: | Keywords: pygrass,vector,info
       CPU: Unspecified | Platform: All
--------------------------+---------------------------------
Changes (by martinl):

* owner: grass-dev@… => martinl
* cc: grass-dev@… (added)
* status: new => assigned

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3549#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3549: pygrass wrongly reports lines for point vector maps
--------------------------+---------------------------------
  Reporter: sbl | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.4.2
Component: PyGRASS | Version: 7.4.0
Resolution: | Keywords: pygrass,vector,info
       CPU: Unspecified | Platform: All
--------------------------+---------------------------------

Comment (by martinl):

In [changeset:"73393" 73393]:
{{{
#!CommitTicketReference repository="" revision="73393"
pygrass wrongly reports lines for point vector maps, see #3549
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3549#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3549: pygrass wrongly reports lines for point vector maps
--------------------------+---------------------------------
  Reporter: sbl | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone: 7.4.2
Component: PyGRASS | Version: 7.4.0
Resolution: | Keywords: pygrass,vector,info
       CPU: Unspecified | Platform: All
--------------------------+---------------------------------

Comment (by martinl):

In [changeset:"73395" 73395]:
{{{
#!CommitTicketReference repository="" revision="73395"
pygrass wrongly reports lines for point vector maps, see #3549 (g76: merge
r73393 from trunk)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3549#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3549: pygrass wrongly reports lines for point vector maps
--------------------------+---------------------------------
  Reporter: sbl | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.4.2
Component: PyGRASS | Version: 7.4.0
Resolution: fixed | Keywords: pygrass,vector,info
       CPU: Unspecified | Platform: All
--------------------------+---------------------------------
Changes (by martinl):

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

Comment:

In [changeset:"73397" 73397]:
{{{
#!CommitTicketReference repository="" revision="73397"
pygrass wrongly reports lines for point vector maps, closes #3549 (g74:
merge r73393 from trunk)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3549#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>