[GRASS-dev] [GRASS GIS] #3572: v.vect.stats creates cat & cat_ then fails

GRASS GIS trac at osgeo.org
Tue Jun 5 00:34:00 PDT 2018


#3572: v.vect.stats creates cat & cat_ then fails
--------------------------+------------------------------
  Reporter:  simondedman  |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  7.4.0
Resolution:               |   Keywords:
       CPU:  x86-64       |   Platform:  MSWindows CygWin
--------------------------+------------------------------

Comment (by mmetz):

 Replying to [comment:4 simondedman]:
 > Not make it an option i.e. general users probably don't need the cat
 column and therefore the -s switch could be on by default at all times?
 (Just want to make sure I understand correctly!)

 Yes, because in the beginning (in the OGR vector) there is most probably
 no cat column, therefore there is no need to export it. The cat column is
 automatically generated by v.in.ogr when importing into GRASS.
 >
 > What does the -m switch do? I was looking for v.out.ogr info in the
 v.vect.stats help & code but I guess I'm looking in the wrong places.

 See G7:v.out.ogr. With the -m switch, multi-features (e.g..
 multilinestrings, multipolygons) are exported from GRASS to OGR.

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



More information about the grass-dev mailing list