[R-sig-Geo] Population-weighted Centroids of Polygons in R

Sohrab Abbasnejad sohrab.abbasnejad at yahoo.com
Sun Feb 21 21:10:51 CET 2016


Dear all,
I have a set of spatial polygons and several blocks of population (with fixed area but a different number of people in each). I have used the "over" method from "sp" package to identify the blocks which are located inside these polygons.
Now, utilizing R, I wish to assign to each of these polygons a centroid in terms of the population using some kind of distance (Euclidean/shortest path, etc.). In fact, I am looking for the exact coordinates of a population-weighted centroid for each of my polygons.
Any ideas would be welcome. I truly appreciate your time.
Sincerely,Sohrab
	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list