[GRASS-dev] [GRASS GIS] #2702: G7: vector vrt not recognized by "v.in.ogr - import common formats"/can't be opened

GRASS GIS trac at osgeo.org
Thu Jul 9 04:50:25 PDT 2015


#2702: G7: vector vrt not recognized by "v.in.ogr - import common formats"/can't
be opened
--------------------------+---------------------------------
  Reporter:  hellik       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.1
 Component:  Default      |    Version:  svn-releasebranch70
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by mlennert):

 The problem is simply the path to the csv file. In your vrt you have:

 <SrcDataSource>gbif_gisinput.csv</SrcDataSource>

 which (IIUC) means that v.in.ogr will search for the csv file in the CWD,
 not in the same directory as the vrt file.

 So either use an absolute path, or cd to the directory in which the two
 files are and then launch v.in.ogr.

 Leaving the ticket open for you to confirm that this is the issue.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2702#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list