Re: [R] RGDAL OGRwrite question

2012-08-20 Thread MacQueen, Don
For what (little) it's worth, writeOGR() is working for me OS X 10.6.8 rgdal_0.7-12 May be time to ask on r-sig-geo. Same directory permissions Simple somewhat diagnostic test would be to try writing somewhere else, such as a subdirectory. -Don -- Don MacQueen Lawrence Livermore National L

Re: [R] RGDAL OGRwrite question

2012-08-17 Thread Scott Duke-Sylvester
In the example I gave, the "temp.shp", 'temp.bdf", etc ... do not exist in the current working directory (".") before I call: writeOGR(shape, '.', layer='temp', driver='ESRI Shapefile', verbose=TRUE) I should have specified this. Also, the working directory permissions are set to owner read/write/

Re: [R] RGDAL OGRwrite question

2012-08-17 Thread MacQueen, Don
Are the output files already there? In that case, try overwrite_layer=TRUE -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 8/17/12 9:28 AM, "Scott Duke-Sylvester" wrote: >I have a quick question: It appears that in rgd

[R] RGDAL OGRwrite question

2012-08-17 Thread Scott Duke-Sylvester
I have a quick question: It appears that in rgdal v0.7-12 (R version 2.15.1, OSX 10.6.8) writeOGR will not write a shapefile the the current directory. Is this correct? An earlier version of rgdal must have allowed this because I have a older script that used to work, but doesn't now. So, as an ex