[GRASS5] Re: G_site_get

On Fri, Jun 22, 2001 at 09:44:47AM +0100, Markus Neteler wrote:

Hi all,

(cc to Edzer and Eduardo),

it seems there is quite some confusion about G_site_get() functionality
and the programmer's manual.
Could anyone who is familiar with G_site_get() help us?
Perhaps check the latest (yesterday) version of what is written in
"GRASS programmer's manual" and the functionality of G_site_get()?

At time I am not sure about the desired behaviour.

The current sites format requires that there be a coordinate pair,
possibly followed by "dims" - 2 more dimensions (doubles),
possibly followed by a category, possibly followed by one or more
double attributes, possibly followed by one or more string attributes.
The clincher is that every site "tuple" be consistent in number and type
and there can be no null attributes (so "3.4|2.3|5.6|#2 % %34.5" is
*not* allowed). G_site_describe() only reads the first "tuple" to
describe the number and type of each attribute, so it's not allowed to
have:

east|north|#cat %double @"Long String" @string
east|north|#cat %double @"Single String"

Files like above would break a good number of sites programs.

--
Eric G. Miller <egm2@jps.net>

From neteler Fri Jun 22 13:08:40 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
  id NAA29026; Fri, 22 Jun 2001 13:08:40 +0100
Date: Fri, 22 Jun 2001 13:08:40 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: grass5 developers list <grass5@geog.uni-hannover.de>
Message-ID: <20010622130840.B28648@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: grass5 developers list <grass5@geog.uni-hannover.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Subject: [GRASS5] GRASS 5.1: Berkeley DB
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5&gt;,
  <mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/&gt;
Status: O
Content-Length: 551
Lines: 16

Hi,

I just found an interesting note at:

(OpenOffice is the Open-source StartOffice)
http://www.openoffice.org/dev_docs/source/build_632/release_notes_632.html
"It is no longer necessary to download the Berkeley Database from
www.sleepycat.com. With the kind permission of the authors, we do now host
all necessary components of the Berkeley DB in our repository. The new
module so_berkeleydb will handle the implementation during dmake. "

Probably the (new) Sleepycat policy is interesting for the 5.1 development?!

Just to inform you,

Markus