Displaying 1 result from an estimated 1 matches for "s20_g75_v00_haashp10_r00".
2012 Aug 17
1
RGDAL OGRwrite question
...0.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 example, here is what I get today:
> shape = readOGR('.', layer='S20_G75_V00_HAASHP10_R00')
OGR data source with driver: ESRI Shapefile
Source: ".", layer: "S20_G75_V00_HAASHP10_R00"
with 169 features and 23 fields
Feature type: wkbPolygon with 2 dimensions
> writeOGR(shape, '.', layer='temp', driver='ESRI Shapefile', verbose=TRUE)
Err...