-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 7:11 PM
Subject: Re: [R] writing polygons/segments to shapefiles (.shp) or other ArcGIS compatible file
The main limitation of the shapefiles package that I put
/segments to shapefiles (.shp) or other ArcGIS
compatible file
The main limitation of the shapefiles package that I put together is that it
does not create shapefiles from R objects - rather it only writes shapefiles
that have been read into R and manipulated within the constraints of the
existing
Patrick Giraudoux wrote:
Thanks a lot for the hints. I will try. Actually I was focusing (in a first stage) on
simple segments (small mammal traplines...).
I turned the problem out writing some lines to export the coordinates into a simple
GRASS ascii file, imported it into GRASS as
vector file
I am not sure a previous e-mail reached the list (no mail aknowledgement from
R-boundle etc.). The question was how to write polygon
or segment coordinates into a shapefile set or any other ArcGIS supported format. The
library shapefiles seems to do something but
the documentation is a bit
I think It could not be done for the moment .. Perhaps, I am wrong !
In the package maptools, there is read.shape shape2poly, shape2line...
These functions allow to read shapefiles files but not to write it.
With the shapefiles package you can write shape object to files. I think
that one
There is a little problem with the approach I described in my previous email.
In ADE-4, coordinates are given in pixel and so Y are inverted. You must
invert your Y coordinates to obtain the good representation in ArcView. An
example:
library(ade4)
library(shapefiles)
library(maptools)
try1
[EMAIL PROTECTED]
To: Patrick Giraudoux [EMAIL PROTECTED]; r-help [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 5:35 PM
Subject: Re: [R] writing polygons/segments to shapefiles (.shp) or other ArCGIS
compatible file
There is a little problem with the approach I described in my previous email