[R-sig-Geo] Attach values from polygons to points

Jens Oldeland oldeland at gmx.de
Mon Sep 6 09:02:17 CEST 2010


Hi,

I am working with two shapefiles in R; one is a point.shp the other is a 
polygon.shp. Now, I would like to intersect/join/attach all the values 
from the polygon to the table of the point.shp.

I tried overlay() and spRbind in package sp, but nothing did what I 
expected them to do.

Could anyone give me a hint how I can combine both shapefiles?

Thank you!
Jens

-- 
+++++++++++++++++++++++++++++++++++++++++
Dipl.Biol. Jens Oldeland
Biodiversity of Plants
Biocentre Klein Flottbek and Botanical Garden
University of Hamburg 
Ohnhorststr. 18
22609 Hamburg,
Germany

Tel:    0049-(0)40-42816-407
Fax:    0049-(0)40-42816-543
Mail: 	Oldeland at botanik.uni-hamburg.de
        Oldeland at gmx.de 	(for attachments > 2mb!!)
Skype:	jens.oldeland
http://www.biologie.uni-hamburg.de/bzf/fbda005/fbda005.htm
http://jensoldeland.wordpress.com
+++++++++++++++++++++++++++++++++++++++++



More information about the R-sig-Geo mailing list