[Qgis-developer] grass fails importing shp

Paolo Cavallini cavallini at faunalia.it
Wed Oct 7 10:29:49 EDT 2009


Hi all.
The GRASS plugin (v.in.ogr.qgis) fails to import shapefiles:
Unable to open data source
In fact, the command is
v.in.ogr -o 'dsn=/home/paolo/Desktop/Dati_corso_QGIS/fiumi-princ.shp|layerid=0'
output=fiumi
instead of
v.in.ogr -o 'dsn=/home/paolo/Desktop/Dati_corso_QGIS/fiumi-princ.shp' output=fiumi
which works. Also plain v.in.ogr works.
The diff is:
<         <ogr key="dsn" layeroption="layer" whereoption="where" label="OGR vector
layer" />
---
>       <file key="dsn" type="old" label="OGR file" />
Any reason to use layeroption?
Looks an easy fix, anybody available?
All the best, and many thanks.
-- 
Paolo Cavallini: http://www.faunalia.it/pc


More information about the Qgis-developer mailing list