[GRASS-user] SQLite Error

Moritz Lennert mlennert at club.worldonline.be
Thu Feb 12 00:35:46 PST 2015


On 12/02/15 02:14, Mark Wynter wrote:
>
> #(2) RESET THE DATABASE DRIVER FOR THE CURRENT MAPSET TO SQLITE
> db.connect driver=sqlite
> database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' schema=grass
> db.connect -p
>
> #Output
> driver: sqlite
> database: /var/tmp/nodeclean/PERMANENT/sqlite/sqlite.db
> schema: grass
> group:

[...]

> #(5) Run v.net.allpairs….
> g.remove -f type=vector pattern="temp**"
> v.net.allpairs  --overwrite in=nsw_road_network_final_connected_copy
> cats=1-10  out=temp_8 afcolumn=fwdcost abcolumn=bwdcost
> DBMI-SQLite driver error:
> Error in sqlite3_prepare():
> unknown database grass
>
> DBMI-SQLite driver error:
> Error in sqlite3_prepare():
> unknown database grass

I don't think SQLite supports schemas.

Moritz


More information about the grass-user mailing list