[R-sig-Geo] readOGR not reading in prj file?
vinhdizzo at gmail.com
Wed Apr 6 18:11:03 CEST 2016
On Wed, Apr 6, 2016 at 8:58 AM, Denis mutiibwa <mutiibwa2000 at yahoo.com> wrote:
> readOGR(dir.path, "argv2")
> it seems "argv2" has to be the shapefile name not a variable name
My 'floodshapedir' and 'shapebase' are both variables with path stored
in. Here's the function call with the strings explicitly passed. I
don't think it's an issue with these paths.
> dFloodRisk <- readOGR('FloodShapes', '2013Spring_Flood_Drawn', verbose=TRUE)
OGR data source with driver: ESRI Shapefile
Source: "FloodShapes", layer: "2013Spring_Flood_Drawn"
with 8 features
It has 2 fields
More information about the R-sig-Geo