[GRASS-dev] [GRASS GIS] #3425: regression in v.in.ogr -f 7.3 7 Oct (possibly earlier)

GRASS GIS trac at osgeo.org
Wed Oct 11 04:22:39 PDT 2017


#3425: regression in v.in.ogr -f 7.3 7 Oct (possibly earlier)
--------------------------+-------------------------
  Reporter:  rsbivand     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by rsbivand):

 Regression resolved with revision 61:

 {{{
     gv <- unname(read.dcf(textConnection(gsub("=", ":",
       execGRASS("g.version", flags="g", intern=TRUE))))[1,1])
     if (gv < "7.3") {
       ogrDGRASSs <- gsub(" ", "_", sapply(strsplit(ogrDGRASS, ": "), "[",
 2))
     } else {
       strs <- sapply(strsplit(ogrDGRASS, ": "), "[", 1)
       ogrDGRASSs <- gsub(" ", "_", gsub(" $", "",
         substring(strs, 2, nchar(strs)-5)))
     }
 }}}

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



More information about the grass-dev mailing list