Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#2408 closed enhancement (fixed)

Force reading of VAR and GISRC files in libgis

Reported by: huhabla Owned by: grass-dev@…
Priority: major Milestone: 7.2.0
Component: LibGIS Version: svn-trunk
Keywords: environment, GISRC, VAR Cc:
CPU: Unspecified Platform: Unspecified

Description

I would like to extent the GIS library environment variable management to support the re-reading of the environment (gisrc and VAR files) in libgis. At the moment this is not possible, environmental files are only read into memory at initialization time. Hence, the reading of environmental variable from different mapsets in the same process is not possible.

I have attached a patch that introduces two new functions to force the reading of env files and a patch that implements the according tests using the gunittest testsuite.

I would like to commit the changes next week if there are no objections. This modification is fundamental to allow distributed temporal databases, so that they are by default created in the current mapsets.

Attachments (2)

libgis_env.diff (2.8 KB ) - added by huhabla 10 years ago.
libgis_env_testsuite.diff (2.6 KB ) - added by huhabla 10 years ago.

Download all attachments as: .zip

Change History (4)

by huhabla, 10 years ago

Attachment: libgis_env.diff added

by huhabla, 10 years ago

Attachment: libgis_env_testsuite.diff added

comment:1 by huhabla, 10 years ago

Resolution: fixed
Status: newclosed

I have applied the patches in revision r61956 and r61957.

comment:2 by neteler, 8 years ago

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.