r
University of Hawaii
> Message: 16
> Date: Fri, 7 Jan 2011 10:37:32 +
> From: "Breitbach, Nils"
> To: r-sig-geo
> Subject: [R-sig-Geo] Habitat on a given location (spatial join with R)
> Message-ID:
><
> e7f1ef063b11da4dad16374549b879e82ae5c
library(sp)
?overlay
The example there overlay(srdf, meuse) does what you want for two
variables "X1" and "X2" copied from SpatialPolygonsDataFrame srdf to
the coordinates of SpatialPointsDataFrame meuse.
Also try the sp vignette for an introduction to the Spatial types:
vignette("sp")
I used r
Hi Nils,
I'm no expert and I've only done this once for a "small" dataset with a big
polygon file... but have a look at
?sp::overlay
Kind regards,
Sean O'Riordain
Dublin
On 7 January 2011 10:37, Breitbach, Nils wrote:
> Derar community,
>
> this time I need to find habitat type on given loc
Derar community,
this time I need to find habitat type on given location for a huge number of
points. I have two layers: the first (upper) one is a point shape with approx.
100,000 point locations; the second one is a polygon shape with many features
containing habitat types (on a very fine sca