[GRASSLIST:2960] read site list file ??

Massimiliano Cannata massimiliano.cannata at supsi.ch
Tue Mar 16 08:31:45 EST 2004


HELLO USERS,

I have a site list file with 3 dimension like this:

518326|246143|1765#1 %0.8

How do I have to read the 3rd dimension?

while(G_site_get(fd,s)!=1)
    printf("s->east=%lf  + s->north=%lf + s->dim[0]=%lf \n");

it give me segmantation fault!
instead:
while(G_site_get(fd,s)!=1)
    printf("s->east=%lf  + s->north=%lf  \n");

doesn't !!!!!

Should i have top use G_readsites_xyz?????

THANKS YOU ALL!



-- 
-------------
note: change my e-mail reference to massimiliano.cannata at supsi.ch
      because the old one will be deleted soon.
-------------
Ing.  Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: massimiliano.cannata at supsi.ch
Internet: http://www.ist.supsi.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20040316/e6d3faf5/attachment.html


More information about the grass-user mailing list