[R-sig-Geo] OGR dataset to R

Roger Bivand Roger.Bivand at nhh.no
Tue Dec 6 19:29:51 CET 2005


On Tue, 6 Dec 2005, Jean-Denis Giguere wrote:

> Hi all,
> 
> I would like to know if someone is aware of project to import OGR dataset
> into R without using GRASS. I saw reference to OGR on r-spatial project page
> but didn't find if there was implemented functionnalities.
> 

Please look at Barry Rowlingson's Rmap at:

http://www.maths.lancs.ac.uk/Software/Rmap/

You will need to build/compile it yourself, on Linux/Unix feasible, on 
Windows I'm not sure, but since you are using PostGIS, I guess you are 
using Linux. 

> My first goal is to be able to load a part of points dataset using attribute
> query filter (SQL) and use this as import for points pattern analysis.
> 

We looked briefly at reading data via OGR and Rmap into package "sp" 
classes this time last year - from there movement to spatstat and splancs 
is feasible. With a little work, moving points through OGR and Rmap into 
SpatialPoints or SpatialPointsDataFrame objects should be possible. The 
same applies to polygons for study area boundaries.

> Since my first dataset will be store within postGIS, hints or pointers to up
> to date information about integration of PostgreSQL and R would also be very
> much appreciated.
> 

PostgreSQL seems to be being actively used on BioConductor:

http://www.bioconductor.org/packages/bioc/1.8/html/RdbiPgSQL.html
http://www.bioconductor.org/packages/bioc/1.8/html/Rdbi.html

apart from additional work done by Markus Neteler.

> Regards,
> 
> Jean-Denis
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list