[GRASSLIST:5091] from adehabitat to grass

Paolo Cavallini cavallini at faunalia.it
Thu Dec 9 06:56:19 EST 2004


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

Hi all.

For the project AniMov [1] we are trying to export R objects of class "area" 
from adehabitat [2] for use in GRASS 5.7 (immage at: 
www.faunalia.com/animov/area.png).
We tested the following paths:
1. use dxf as an exchange format: this does not work, because the format is 
dxf, which requires a non-free library, and the recompilation of grass
2. use the modules for writing shapefiles (area2shape and export.shape) from 
Clement Calenge (the author of adehabitat). Resulting shapes can be read by 
qgis [3], but not by grass, for unknown reasons (see a sample at: 
www.faunalia.com/animov/test1.zip); there might be something wrong here, 
because also using the library "shapefiles" importing and exporting a valid 
shapefile we get the same result (sample at: 
www.faunalia.com/animov/test2.zip).

I believe it would be better to import "area" objects directly, but the module 
R-GRASS apparently cannot do that.
Is there any suggestion?

All the best.
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
============================
[1] http://www.faunalia.com/animov/
[2] http://cran.r-project.org/src/contrib/Descriptions/adehabitat.html
[3] http://qgis.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBuD1j/NedwLUzIr4RAt2TAJ0RT27MmMYSVsOiVlgi4p9O15xUoQCfbF/7
OTi8XCZOJUkzqIMTN/GvVVE=
=JAl/
-----END PGP SIGNATURE-----




More information about the grass-user mailing list