Hi List,


I'd like to visually compare two spatial objects of France contour

I have the population in France, the population in the 10 first major
cities and I want to enlarge France by a ratio defined by pop(10 major
cities)/pop(france), sort of a world cartogramwith the transformation of
one country.

But I have problems using shear transformation.

Here is the code for the moment:

fr <- readOGR(".", "FRANCE_METRO")
fr.win <- as(fr, "owin")

pop.fr <- 65447374
townpops <- sum(pop$population)
ratio <- townpops / pop.fr

## here is my problem...
fr.aff <- affine(fr.win,  mat=matrix(c(ratio,0,0,ratio), ncol=2));

Any help would be greatly appreciated


Mathieu

	[[alternative HTML version deleted]]

