[R-sig-Geo] OGR dataset to R
Roger Bivand
Roger.Bivand at nhh.no
Tue Dec 6 21:19:56 CET 2005
On Tue, 6 Dec 2005, Edzer J. Pebesma wrote:
> I must correct -- I did manage to compile Rmap after outcommenting
> the line
>
> SHAPE = -lshp
>
> in Rmap/src/Makevars
Yes, I can confirm this, building against gdal and proj works for me too,
as does Barry's nice subsetting. So maybe your database link will be quite
good - the [.ogr function makes an ogr object for the subset, and only
when you do as.data.frame() og the ogr object does the data get read into
R.
Roger
> --
> Edzer
>
> 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 reryference to OGR on r-spatial project page
> >but didn't find if there was implemented functionnalities.
> >
> >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.
> >
> >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.
> >
> >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
> >
> >
>
> _______________________________________________
> 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