Hi list, is there a way to pass any SQL-statement through readOGR (as with the -sql Option to ogr2ogr). I want to import a subset of a large dataset from PostGIS into R. I know it's possible with for example RODBC and then coercing the resulting data.frame to an sp-class, but I wonder if I can do it directly through readOGR().
Thanks! Tom _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo