[R-sig-Geo] R 3.1.3 - GNU/Linux - readOGR -- Layer not found

Domenico Giusti dncgst at gnewarchaeology.it
Mon Mar 30 15:39:56 CEST 2015


Dear list,

I cannot read some of the layers (table and view) from a
Postgres/PostGIS DB.

Error in ogrInfo.

> ogrListLayers("PG:dbname=dbname")

doesn't list all the tables and views. e.g. I have two views with both a
3D point geom, but only one of them is in the list.

What could be the problem?

Thanks,

> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: i486-pc-linux-gnu (32-bit)
Running under: Debian GNU/Linux 7 (wheezy)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
LC_TIME=en_US.UTF-8
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C

[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] rgdal_0.9-2 sp_1.0-17

loaded via a namespace (and not attached):
[1] grid_3.1.3      lattice_0.20-30 tools_3.1.3

-- 
Domenico Giusti <dncgst at gnewarchaeology.it>
GPG keyID: 2048R/A3AB7054F6E5D778



More information about the R-sig-Geo mailing list