Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-22 Thread Barry Rowlingson
On Thu, Mar 22, 2012 at 12:21 AM, Francis Markham wrote: > Hi Barry, > > I agree this is not a bug in R but a well known bug in ArcGIS. I guess > misphrased my question - I would like to make a feature request for rgdal to > have a parameter that makes field names (and contents) "safe" for ArcGIS,

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-21 Thread Francis Markham
Hi Barry, I agree this is not a bug in R but a well known bug in ArcGIS. I guess misphrased my question - I would like to make a feature request for rgdal to have a parameter that makes field names (and contents) "safe" for ArcGIS, as I suspect I am not alone in producing shapefiles in R for consu

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-21 Thread Barry Rowlingson
On Wed, Mar 21, 2012 at 10:29 PM, Francis Markham wrote: > I've experienced the same problem. How would one go about submitting a bug > report to rgdal on this? How is it a bug with rgdal? I've just had a look for the spec of dBase files, and the only one I can find: http://www.dbase.com/Knowle

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-21 Thread Francis Markham
>>> >>>> Dear Cristina, >>>> >>>> For this purpose I use "write.table" function. >>>> >>>> my code is this; >>>> >>>> write.table(dem, file="D:\\Data\\dem_outputs.**txt", quote

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-21 Thread Cristina Silva
Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file Date: Tue, 20 Mar 2012 12:15:46 + From: Cristina Silva To: P?nar Aslantas Bostan Hi Pinar, The problem is not to get the data, this can be done directly with write.csv or write.table. I was looking for a pac

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-21 Thread Bastien.Ferland-Raymond
list. > > Cristina > > Original Message -------- > Subject: Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into > a ESRI file > Date: Tue, 20 Mar 2012 12:15:46 + > From: Cristina Silva > To: P?nar Aslantas Bostan > > > Hi Pinar, &

Re: [R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-20 Thread Pınar Aslantas Bostan
. then you can add your data as txt file in ArcGis. I hope this helps. Best wishes, Pinar -Original Message- From: r-sig-geo-boun...@r-project.org [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Cristina Silva Sent: Tuesday, March 20, 2012 1:11 PM To: r-sig-geo@r-project.org Subjec

[R-sig-Geo] Conversion of a SpatialPolygonsDataFrame into a ESRI file

2012-03-20 Thread Cristina Silva
Dear all, I need to export a SpatialPolygonsDataFrame to a shapefile to be read by ArcGIS. I have used several packages and functions to do this with different results. 1) with maptools, function writePolyShape: The file .prj is not created 2) with spsurvey, function sp2shape: Doesn't work, g