Thanks Johannes.  So, rgdal makes sp objects, and I should be looking at
the sp package whenever I have imported rgdal objects to work with?

On 3/15/2012 1:19 AM, Johannes Signer wrote:
> Hello,
>
> have a look at the ?over function in the sp package.
>
> HTH
> Johannes
>
> On Thu, Mar 15, 2012 at 6:08 AM, Alexander Shenkin <ashenkin@ufl.edu
> <mailto:ashenkin@ufl.edu>> wrote:
>
>     Hello folks,
>
>     I have two data sources: an ESRI shapefile (UTM/WGS84 projection) of
>     numerous polygons, each of which have one of two values (burned
>     [=1] and
>     unburned [=2]); and a set of X/Y distances from the corner of the
>     polygon that represent tree locations.  I'd like to tag each X/Y point
>     in the set with the value of the polygon within which it falls (i.e.
>     whether that tree burned or not).
>
>     I've read the polygons in with rgdal, but I'm not sure where to go
>     from
>     there.  I'm not sure which functions from which packages apply to
>     rgdal
>     objects, etc.  I've looked at the rgdal manual, but I don't understand
>     how to manipulate the objects once i have them in R (e.g. how to
>     perform
>     intersections and the like).  Any help would be greatly appreciated!
>
>     Thanks,
>     Alex
>
>     _______________________________________________
>     R-sig-Geo mailing list
>     R-sig-Geo@r-project.org <mailto:R-sig-Geo@r-project.org>
>     https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>

	[[alternative HTML version deleted]]

