[GRASS-dev] [GRASS GIS] #3714: v.out.ogr: segfault with -n

GRASS GIS trac at osgeo.org
Thu Dec 20 10:53:52 PST 2018


#3714: v.out.ogr: segfault with -n
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  7.4.4
 Component:  Vector       |    Version:  unspecified
Resolution:  fixed        |   Keywords:  v.out.ogr
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [ticket:3714 neteler]:
 > At time -n crashes the command (tested also in G74 and later):
 >
 > {{{
 > GRASS 7.7.svn (nc_spm_08):~ > v.out.ogr in=zipcodes_wake type=area
 out=filename.shp format=ESRI_Shapefile  -n
 > Segmentation fault (core dumped)
 > }}}

 Note that the example is wrong because `output` must be a OGR datasource,
 not a OGR layer, and `filename.shp` is a OGR layer. You can specify a OGR
 layer name with `output_layer`.

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



More information about the grass-dev mailing list