Juta,
I think you can do something along these lines:
library(raster)
library(rgeos)
x - union(districts, rivers)
a - gArea(x, byid=TRUE)
head(x)
head(a)
or
x - intersect(districts, rivers)
and compare to 'districts'
Robert
On Sun, Nov 30, 2014 at 2:59 PM, Juta Kawalerowicz
Dear list,
I am going to do daily rainfall interpolation using ANN. but I am not
familiar with it. Can somebody give some advise or example?
my data like:
I have 325 stations in different location.each station have unique code
and coordinates. And I want to interpolate in 1km resolution. I have
Many thanks for this suggestion Robert. Meanwhile, for anyone trying to
solve similar problem in the future a nice walk though is on page 139-140
of the new edition of Applied Spatial Data Analysis with R book!
Juta
On Mon, Dec 1, 2014 at 8:24 AM, Robert J. Hijmans r.hijm...@gmail.com
wrote:
This is my example with idw based on a web site, #
http://www.geo.ut.ee/aasa/LOOM02331/R_idw_interpolation.html.
Nahm Lee
n...@valleywater.orgmailto:n...@valleywater.org
# http://www.geo.ut.ee/aasa/LOOM02331/R_idw_interpolation.html
library(ggplot2)
library(gstat)
library(sp)