[postgis-users] Postgis & R language

Jan Hartmann j.l.h.hartmann at uva.nl
Wed Nov 17 06:22:20 PST 2010


You could do this completely within R by installing both rgdal and 
rpostresql (http://code.google.com/p/rpostgresql/). You'll have to split 
your queries in an attribute part (rpostgresql) and a geometry part 
(rgdal, returning sp items) and combining them afterwards. I have never 
done this but it should work. Moreover, one of the developers of 
rpostgesql is Joe Conway, the maker of PL/R. He'll certainly anser 
questions on the PL/R mailing list.

Jan

On 11/17/10 14:09, David Potts wrote:
> I want to draw some graphs from an some data from a table that has
> geometry column, before starting anything I wanted to ensure that the
> software could handle it.
>
>> You could install rgdal in R and then use that R-version for PL/R
>> (http://cran.r-project.org/web/packages/rgdal/index.html) . It's a bit
>> round-about of course: do you use PostGIS from R, or R from PostGIS?
>>
>> Jan
>>
>> On 11/17/10 12:46, David Potts wrote:
>>> Hi List
>>>
>>> Has anybody ever tried to read the value of geometry column from a table
>>> into a R-language application  using the plr handler, is this a support
>>> option?
>>>
>>> Thanks in advance.
>>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> Any views expressed in this message are those of the individual sender,
>>> except where the sender specifically states them to be the views of the
>>> Pinan Software
>>>
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of the
> Pinan Software
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20101117/e27601c0/attachment.html>


More information about the postgis-users mailing list