Skip to content
Prev 808 / 29559 Next

Area cartograms

On Mon, 27 Feb 2006, Miha Staut wrote:

            
http://www.okada.jp.org/RWiki/index.php?Rmap%A4%F2%BB%C8%A4%C3%A4%BF%C3%CF%BF%DE%C9%BD%BC%A8

towards the bottom of the page is about what is known at the moment, it 
scales the polygon coordinates towards the centroid (assuming in the 
example that each data row is a single polygon). Has anyone any more ideas 
or code? The example is nice, and could be generalised for SpatialPolygons 
objects quite easily (because they have centroids and areas 
pre-calculated. 

Roger