[R-sig-Geo] Import from Geodatabase

afischbach afischbach at usgs.gov
Mon Jun 13 20:42:02 CEST 2011


For shape files the package maptools has worked for me.

require(rgdal) 
require(maptools)

prj <- CRS("+proj=aeqd +lat_0=70 +lon_0=-170")  #Azimuthal Equadistant -170,
70
fileName <- 'YourShapeFile.shp'
shape=readShapeLines(fileName, proj4string=prj, verbose=FALSE, repair=FALSE,
delete_null_obj=FALSE)

For ASCII rasters the package sp works well.

require (sp)
map <- readGDAL( 'Your_ASCII_raster.asc')

Being able to pull in ArcGIS personal geodatabase features would be nice to
do.

-----
Tony Fischbach, Wildlife Biologist
Walrus Research Program
Alaska Science Center
U.S. Geological Survey
4210 University Drive
Anchorage, AK 99508-4650

AFischbach at usgs.gov
http://alaska.usgs.gov/science/biology/walrus
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Import-from-Geodatabase-tp6470731p6471298.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list