[R-sig-Geo] readShapePoints issue

Raffaele Morelli raffaele.morelli at gmail.com
Mon Sep 26 11:16:51 CEST 2011


Hi,

I am working with R and using pgsql2shp to export shape files from pg. The
shapes are created by pgsql2shp but when I try to import them in a R
enviromnent I get this error

Error in res[i, ] <- Map$Shapes[[i]]$verts : replacement has length zero

So, I can load the shape files in Qgis but not in R. Moreover, if I load one of
those files in Qgis and then export it again... this file is correctly
loaded by R.

I really can't guess what's wrong. Any idea?

Regards
Raffaele

--
L'unica speranza di catarsi, ammesso che ne esista una, resta affidata
all'istinto di ribellione, alla rivolta non isterilita in progetti,
alla protesta violenta e viscerale.



More information about the R-sig-Geo mailing list