[R-sig-Geo] ReadOGR error Multiple # dimensions:

Mike Evans mikee at saxicola.idps.co.uk
Fri Aug 21 20:57:42 CEST 2009


I would like to read data from postgis database using the command:

aois <-  readOGR("PG:dbname=wales", "aois")

I get the following error:

aois <-  readOGR("PG:dbname=wales", "aois")
Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = 
input_field_name_encoding) :
  Multiple # dimensions:

I assume I have the syntax correct. Any advise?  I could of course export the 
data into a shape file using pgsql2shp and import that I guess but...



-- 
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/          
Search String: 0x050895C2



More information about the R-sig-Geo mailing list