<div dir="ltr">Hi Users,<div><br></div><div>I want to use 'r.to.vect' but it seems to default to a 'Postgis' table that has no geometry column just a table with a 'cat' id. I would like to export to 'sqlite'. I have both postgres an sqlite login details stored in 'db.login'. How do i switch between the two or at least make sqlite the default? If I change settings with 'db.connect' to 'sqlite' it fails (error below) but still keeps holding onto the 'grass_gis' schema form the Postgis connection!</div><div><br></div><div><div>r.to.vect input=APGB_aerial_2_i_segment_drained_peat_with_exposed_haggs@PERMANENT output=test1 type=area</div><div>DBMI-SQLite driver error:</div><div>Error in sqlite3_prepare():</div><div>unknown database grass_gis</div><div>DBMI-SQLite driver error:</div><div>Error in sqlite3_prepare():</div><div>unknown database grass_gis</div><div>ERROR: Unable to create table: create table grass_gis.test1 ( cat integer, value integer, label varchar(10))</div><div>WARNING: Table <grass_gis.test1> linked to vector map <test1> does not exist</div><div><br></div><div>Is there a preferred option to change databases more cleanly.</div><div><br></div><div>Many thanks,</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><b>Paul J. Shapley </b><span style="font-family:"times new roman",serif"><font size="2"><span style="font-family:arial,helvetica,sans-serif">MSc CGeog (GIS) FRGS</span></font><br></span><b><br></b></div></div>
</div></div>