Skip to content
Prev 19281 / 29559 Next

How to do Zonal Statistics after Kriging in R given Shapefile of Polygon

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After receiving a reproducible script & data from James (off-list), I
found the problem was generated by newdata (town) being a
SpatialPolygons object. In that case, as the Details: section of
?predict.gstat explains, gstat will try to make block kriging
estimates for each of the polygons. It will then complain about doing
block kriging in longlat (observations and newdata are longlat). I'm
not sure whether this complaint is fully justified in this case, but
you could spTransform both to a projected coordinate reference system
to avoid this, I think.
On 09/12/2013 08:30 AM, James Matthew Miraflor wrote:
Sent from the R-sig-geo mailing list archive at Nabble.com.
- -- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Heisenbergstra?e 2, 48149 M?nster, Germany. Phone: +49 251
83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSMdecAAoJEM1OCHCtOnfxD0oH/3TV7tLxJ6ljrBJ07RjPfIB0
bbKz+UvuMTUFFMt1XySkKIxX1DKg/337a7LmVxQk1mhFM3ufRJ0ROPL1rGEwfr+z
jzcB4nN6XSKtPuisMTBA10dksSeu0qVV27kyGQ5+mAw8Ilcjj/uTTHj4uRw1NiNP
43F2Kh1HcPNK4VWVPOLkznXV+YfOuBZFhPg2WzgSIHWVY4FFo7Bz5iCox2FjPoi1
2EA3u5Fq67o6j3skxNF8lk+CoOeNJl8jew7YYQGCWNsm3AgTkOQe0VXPE7hxfCn3
zBxkUn6gBJQNSGiZXyczFUCB8JW9gpNsiW18P7uJLttpN5x3TjQtJzIEWaFnN9Y=
=xF9G
-----END PGP SIGNATURE-----