Matthew Perry ha scritto:
> Hey all,
>
> I'm having trouble importing shp -> grass with qgis 0.9.1 on windows
> (http://download.qgis.org/qgis/win32/qgis_setup0.9.1.18_12_2007.exe)
>
> The spatial data comes in fine but the attribute table does not
> ("Cannot select attributes from table..." and attribute table only
> shows cat).  I get this behavior with the GUI tool as well as the
> shell:
>
>    v.in.ogr -o dsn=C:\\GIS\\SB0363\\train1_utm.shp output=train1
> layer=train1_utm min_area=0.0001 type=boundary snap=-1
>
> The equivalent command and the exact same shapefile work fine on Linux.
>
> Any ideas on where I'm going wrong here?
>
>   
Hi all,
this is a knowed bug of Windows QGIS 0.9.1, it doesn't support dbf
driver so when you try to create a new GRASS vector the table is not
imported.
The bug will be fixed in 0.9.2 but if you need to work set SQLite driver
instead dbf driver.
To do that use db.connect setting it as follows:

db.connect driver=sqlite
database=$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/sqlite.db

and try again!

See http://www.sqlite.org/
http://grass.itc.it/grass62/manuals/html62_user/grass-sqlite.html
about SQLite

Regards
Leonardo
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

Reply via email to