<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset" text="#660000"
bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 15/02/2013 01:42, Hamish wrote:<br>
</div>
<blockquote
cite="mid:1360885359.38356.YahooMailClassic@web140001.mail.bf1.yahoo.com"
type="cite">
<pre wrap="">Markus Metz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In GRASS 6.4.1- it was possible to have a separate sqlite db
for each vector in $MAPSET/vector/$MAP/sqlite.db. I have no
idea why this option has been disabled. The VAR file can be
DB_DRIVER: sqlite
DB_DATABASE:
$GISDBASE/$LOCATION_NAME/$MAPSET/vector/$MAP/sqlite.db
Should we revert the changes that make it now impossible to
have a separate sqlite db for each vector?
</pre>
</blockquote>
<pre wrap="">
AFAIK it's still possible to have a separate sqlite db for each
vector if you use v.db.connect (see v.pack.py), it's just that
you can't tell db.connect to make that the default for all new
maps.
perhaps if [v.]db.connect understood to parse '$MAP' you could
have a portable
database='$GISDBASE/$LOCATION_NAME/$MAPSET/vector/$MAP/sqlite.db'
string saved in the VAR file? (and so, by default but user-
alterable, all sqlite layers for that map saved in the same file)
"db.sqlite" or "sqlite.db" for the filename?
</pre>
</blockquote>
<br>
If the $MAP variable is available, I'd like to see the database
names as <br>
'$GISDBASE/$LOCATION_NAME/$MAPSET/vector/sqlite/$MAP.sqlite'<br>
<br>
and I think you're suggestion to put all layers for a vector into
one sqlite file does make sense. THere are definitely situations
where you want to join between different layers within the same
vector. Having both in the same sqlite makes that easier. <br>
<blockquote
cite="mid:1360885359.38356.YahooMailClassic@web140001.mail.bf1.yahoo.com"
type="cite">
<pre wrap="">
Hamish
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consulting
052-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>