[GRASSLIST:5096] Re: from adehabitat to grass

Paolo Cavallini cavallini at faunalia.it
Thu Dec 9 09:55:22 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 15:11, giovedì 09 dicembre 2004, Roger Bivand has probably written:
> A current effort in R is to establish foundation classes - which will let
> us have many-to-one, one-to-many converters. So a first step will be to
> convert area to some such class, then write that as a polygon shapefile.
> Which GRASS shapefile reading program are you using (which version)?

gdal 1.2.1 (as from debian testing)

> > I believe it would be better to import "area" objects directly, but the
> > module R-GRASS apparently cannot do that. Is there any suggestion?
>
> No, not "area" class objects. Then we get many-to-many. It is much better
> to reduce to a single foundation class set first, then the interface would
> work for all points, lines, polygons, etc., without having to write a
> separate interface for each R class.

Quite right.

> For vector, it will be some time before the GRASS libaries are as stable
> as raster is and sites were, so using loose coupling through files is more
> robust for now. 

However, grass 6.0 is on its way. I do not think vector format is going to 
change again (not very soon, however). Maybe Radim has a word here?

> The interface can be extended to do this using system() in 
> R. Is it worth putting a "new generation" R/GRASS interface based on the
> current one on sourceforge?

Surely starting the work on this would be important.

Thanks a lot.
pc
- -- 
Paolo Cavallini
cavallini at faunalia.it   www.faunalia.it   www.faunalia.com
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy   Tel: (+39)348-3801953
http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBuGda/NedwLUzIr4RArqeAJ9W2fU9Y0VchlQcTWDcwFwonneIwgCeOR7G
E8jE46o9vk+/yoSp0bDWl4A=
=e09b
-----END PGP SIGNATURE-----




More information about the grass-user mailing list