: 4
Date: Wed, 19 Dec 2012 14:58:52 +0100
From: Raffaele Morelli raffaele.more...@gmail.com
To: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
Message-ID:
cad4guxot5fsupbk4vbbpuzf-otbrcy-uvnpcguvuyt4qs0+...@mail.gmail.com
Content-Type: text/plain
-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
On Thu, 20 Dec 2012, Edward Vanden Berghe wrote:
Thanks!
Unfortunately I have no luck trying to get readOGR to work directly
with the PostGIS database. I tried different variations:
Did you check whether your
Vanden Berghe
Cc: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
On Thu, 20 Dec 2012, Edward Vanden Berghe wrote:
Thanks!
Unfortunately I have no luck trying to get readOGR to work directly
with the PostGIS database. I tried different variations
VFK FALSE
42VRT FALSE
43 XPlane FALSE
-Original Message-
From: Roger Bivand [mailto:roger.biv...@nhh.no]
Sent: 20 December 2012 20:58
To: Edward Vanden Berghe
Cc: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
On Thu, 20 Dec
, 19 Dec 2012 14:58:52 +0100
From: Raffaele Morelli raffaele.more...@gmail.com
To: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
Message-ID:
cad4guxot5fsupbk4vbbpuzf-otbrcy-uvnpcguvuyt4qs0+...@mail.gmail.com
Content-Type: text/plain
2012/12/19 Edward
Message: 4
Date: Wed, 19 Dec 2012 14:58:52 +0100
From: Raffaele Morelli raffaele.more...@gmail.com
To: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] reading PostGIS table into sp data frame
Message-ID:
cad4guxot5fsupbk4vbbpuzf-otbrcy-uvnpcguvuyt4qs0+...@mail.gmail.com
Content-Type: text
I wanted to create a global map with squares in lat-lon. I have PostGIS tables
to define these squares – but I haven’t been able to figure out an efficient
way of reading those tables into R. The code I am using now is:
crs - CRS(+proj=longlat +ellps=WGS84)
s - paste(select id,
2012/12/19 Edward Vanden Berghe evber...@gmail.com
I wanted to create a global map with squares in lat-lon. I have PostGIS
tables to define these squares but I havent been able to figure out an
efficient way of reading those tables into R. The code I am using now is:
crs -