[GRASS-dev] Re: [GRASS-trac] #7: Location wizard: should predefine
DB connection for new location
GRASS-trac
trac at osgeo.org
Mon Dec 31 18:36:31 EST 2007
#7: Location wizard: should predefine DB connection for new location
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by hamish):
As mentioned before, I do not think that the VAR file should be a part of
the default MAPSET folder specification.
see http://thread.gmane.org/gmane.comp.gis.grass.devel/22676
e.g. for users who mainly work with rasters this is unneeded filesystem
noise.
C modules which require a DB to be set should be exiting with an error if
none is found (suggesting to run db.connect). Scripts like v.db.add* can
run that automatically if needed. Any other module bugs can be fixed,
exiting with an error is not much work if that doesn't happen already,
just check a return code.
Since I commented out the auto-set to DBF in 6.3cvs's init.sh 3 months ago
there have been no complaints about the change. This is not done in 6.2
either, no complaints there.
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/7#comment:4>
GRASS-trac <http://grass.osgeo.org>
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.
More information about the grass-dev
mailing list