[GRASS5] RE: GRASS support

Eduardo Hernando ehizcara at wanadoo.es
Thu Jun 21 12:22:01 EDT 2001


----- Original Message -----
From: Edzer J. Pebesma <e.pebesma at geog.uu.nl>
To: Eduardo Hernando <ehizcara at wanadoo.es>
Sent: Thursday, June 21, 2001 11:06 AM
Subject: Re: GRASS support


> Eduardo Hernando wrote:
> >
> > I have found a solution, but I don't know why it works. Actually, my
cells
> > are in float format. I have the data in a PostgreSQL database, but with
> > d.site.pg the result is
> >
> > 443820|4613930|@2.57
> > 443892|4613930|@1.89
> > 443964|4614530|@2.76
> >
> Could you please try the command s.info on this file?
> --
> Edzer
>

I have tried the s.info command and the result is ok with the file
structure:

    Type of CATEGORY information:    NO CATEGORY
    --------------------------------------
    Number of DOUBLE attributes:         0
    -----------------------------------
    Number of STRING attributes:          1
    ----------------------------------

I have looked at the d.site.pg source code and it seems that the function
reads only one attribute-column from the database and it updates the site
file always as STRING, with @ but without # nor %.
Really, it would by nice to read the database or the d.site.pg output
directly in gstat ...

----
Eduardo




More information about the grass-dev mailing list