[GRASS-dev] [GRASS GIS] #1862: Corrections GRASS 7.0 help files db.connect and v.db.connect

Markus Metz markus.metz.giswork at gmail.com
Sat Jan 26 05:15:42 PST 2013


On Fri, Jan 25, 2013 at 9:50 AM, Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> On Fri, Jan 25, 2013 at 9:31 AM, Paulo van Breugel
> <p.vanbreugel at gmail.com> wrote:
>> Hi Markus,
>>
>> OK, as an example, in db.connect, the 'offending' text is under the
>> 'Parameter' heading. The default driver name and the default database name
>> should change (marked with  >>):
>>
>> -----------------
>>
>> driver=name
>>
>>    Name of database driver
>>
>>    Options: pg, odbc, mysql, ogr, dbf, sqlite
>>
>>    >> Default: sqlite
>>
>> database=name
>>
>>    Name of database
>>
>>    >> Default: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
>>
>> schema=name
>>
>>    Database schema
>>
>>    Do not use this option if schemas are not supported by driver/database
>> server
>>
>> group=string
>>
>>    Default group of database users to which select privilege is granted
>>
>> --------------------
>>
>>
>> Just for my understanding, these parts of the manual page are not in the
>> html file
>> (http://svn.osgeo.org/grass/grass/trunk/db/db.connect/db.connect.html) and
>> I
>> assume they are generated / parsed from the actual code? With no
>> understanding of the source code (I had a look out of curiosity, but that
>> was an exercise in futility), I was wondering how/if I could suggest
>> changes
>> that would actually be more helpful then just mentioning them like above.
>
> I think the demolocation in the source tree needs to be changed to
> sqlite, because db.connect and v.db.connect use
> db_get_default_*_name().

The demolocation adjusted for trunk in r54771. The manuals will be
updated after make distclean; configure; make.

Markus M

>>
>> Cheers,
>>
>> Paulo
>>
>>
>>
>>
>>
>>
>> On Fri 25 Jan 2013 07:09:56 AM CET, Markus Neteler wrote:
>>
>>
>> Hi Paulo,
>>
>> not at all. You may post the change suggestions even as email and
>> we'll merge them in manually, not too much work in this case.
>> I just don't manage to write the better examples myself in this period.
>>
>> Thanks,
>> Markus
>>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list