[GRASS-user] Switching databases for holding attributes in Grass 7.4.1

Paul Shapley p.shapley at gmail.com
Tue Jul 3 01:48:09 PDT 2018


Hi Marcus,

In the end i just removed the details in the 'VAR' file and saved it and it
now defaults back to sqlite.

Many thanks everyone for your help as always.

On 3 July 2018 at 07:48, Markus Metz <markus.metz.giswork at gmail.com> wrote:

>
>
> On Tue, Jul 3, 2018 at 8:09 AM, Moritz Lennert <
> mlennert at club.worldonline.be> wrote:
> >
> >
> >
> > Am 2. Juli 2018 21:06:15 MESZ schrieb Markus Metz <
> markus.metz.giswork at gmail.com>:
> > >On Mon, Jul 2, 2018 at 4:54 PM, Moritz Lennert
> > ><mlennert at club.worldonline.be>
> > >wrote:
> > >>
> > >> Le Mon, 2 Jul 2018 16:36:30 +0200,
> > >> Markus Metz <markus.metz.giswork at gmail.com> a écrit :
> > >>
> > >> > On Mon, Jul 2, 2018 at 4:04 PM, Paul Shapley <p.shapley at gmail.com>
> > >> > wrote:
> > >> > >
> > >> > > Hi Markus,
> > >> > >
> > >> > > Used 'db.connect' driver=sqlite
> > >> > database=$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
> > >> > >
> > >> > > I had to delete 'database schema=grass_gis'
> > >> > >
> > >> > > I had to delete 'default group=postgis_reader'
> > >> >
> > >> > That seems to be a bug in db.connect, apparently it is not possible
> > >to
> > >> > reset schema and group. Can you please open a ticket?
> > >>
> > >> AFAIR, schema= and group= (i.e. without any value) should reset these
> > >> parameters.
> > >
> > >That means no answer to schema and group would be a reasonable default
> > >answer in order to easily change the current connection parameters?
> >
> > No, should was the wrong word: does would have been better. AFAIR,
> explicitly setting them to no answer already did reset them.
>
> True. However, the manual says
>
> *schema*=*name* Database schema Do not use this option if schemas are not
> supported by driver/database server
> Markus M
>
> >
> > Moritz
> >
> >
>



-- 
*Paul J. Shapley *MSc CGeog (GIS) FRGS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180703/14ead45b/attachment.html>


More information about the grass-user mailing list