Displaying 1 result from an estimated 1 matches for "5983220".
2008 May 06
3
Spatial join between two datasets using x and y co-ordinates
...taset is the x and y coordinates only
i.e. no descriptive data.
The aim of a join made between the two datasets is to select those
points (and hence all the descriptive data) from dataset one that has
the same x and y co-ordinates as dataset two.
x1<-c(1824615,1823650,1821910)
y1<-c(5980732,5983220,5990931)
descript<-c("cat", "dog", "horse")
dat1<-data.frame(x1,y1,descript)
x2<-c(1824615,1823650)
y2<-c(5980732,5983220)
dat2<-data.frame(x2,y2)
dat1
dat2
The aim of the join is to produce:
x1 y1 descript
1 1824615 5980732 cat
2 18...