http://www.china-mike.com/china-travel-tips/tourist-maps/chi...
PS: You can draw a strait line in China with 6% of the population on the larger half, and 94% of the population on the smaller half.
http://www.undertheraedar.com/2012/06/population-of-china.ht...
America's most populous county, Los Angeles County, is approximately the same. The northeastern part is mostly very hot high desert or national forest land (severe building restrictions). By contrast, the southwestern part is coastal and much more suitable for human habitation.
http://maps.latimes.com/neighborhoods/population/density/nei...
In general, Californians live in the third of the state along the Pacific coast.
Given n (city,population, area) tuples for country C, find 2 cities, the line thru which slices C into two land masses M and N. M would then have k tuples and N would have n-k, such that the ratio of aggregate population of k tuples to the aggregate population of n-k would be 90+delta:10-delta, for delta in interval [1,9], whilst simultaneously you have the ratio of the aggregate area of the k tuples to the aggregate area of n-k working out to 1+nabla:1-nabla, for nabla in [0,0.5].
No idea what the optimal algorithm would be, short of brute force so O(n^2).
This is the sort of DS project a HuffPo would run - you can slice up countries not just based on 94:6 population but also crime rate, education, victims of homicide, what have you; all you need in tuples with larger arity.
Given the generality and popularity of sweepline algorithms in computational geometry, I'm wondering where the problem is here. Can't you just move a sweepline across a given territory in any direction and get a result? If you want maximum outrage (largest value of X in smallest area), I agree that's more complex and I'm not sure how you would prove an optimum result.
It'd be curious what different countries look like in terms of gradient decent difficulty on population density. I'd imagine most look fairly similar (densely populated regional urban areas surrounded by rural), but I imagine there are exceptions to some degree out there?
This part is quite messy. For every given (c1,c2) city pair, you'd get 1 straight line that connects c1 to c2. Then for every city ck, you need info on whether ck is above that line or below - you can compute that by point-slope geometry with the lat-long coordinates ( given point p(x,y) & line l with some slope, is p above l or below ).
If you want to poke around, the dataset is here: http://seer.cancer.gov/popdata/
The 'low' areas have minimal rainfall and are 1KM over sea level. http://www.chinamaps.org/china/china-map-of-precipitation-an...
The high areas get a little more rainfall, but are mostly 4-5+km over sea level. http://www.china-food-security.org/data/maps/dem/dem_h.htm
Combine them and you can see why the population map looks the way it does. http://www.china-mike.com/china-travel-tips/tourist-maps/chi...
> You could probably do the same in Canada fwiw.
I would not ask about China, I've seen enough documentaries about their deserts and high plateaus. Some of them about the silk road, which was not an easy one because of that geography.In addition to the rather obvious climate this implies (eg, rather cold), from what I understand, building anything on permafrost is very challenging.
Most of the eastern half of Canada north of a certain is "Canadian shield" and is granite shield rock with little if any topsoil.
The other half is boreal forest and some of it is indeed farmed to a fairly high latittude (central Alberta where I'm from) but once you get up high enough the growing degree days are not sufficient to grow a lot of crops. It's good for grazing if that. And also fairly arid in spots.
And the rest is mountains, or arctic.
~94% of 1.357b = 1.28 billion population.
~40% of 3.7 mill = 1.5 million square miles.
= ~0.85 billion people per million square miles.
India 1.252 billion people on
1.269 million mi
=~ 1 billion people per million square miles.
So, India is around 15% denser. Of course you can avoid the strait line cut and push China's density much higher, but the point is they are not that far off where people actually live.But are the rents even increasing for the majority poor that live in the very cramped areas surrounding most cities? How about the rural population?
I ask because, while it makes sense that places like London, SF, and Vancouver would have huge property price increases due to increases in demand (foreign wealth, start-up success, etc.) it seems very disturbing that more and more areas where wages have simply not risen at all for decades are also going through prices increases.
For example, the rents in the Midwest city I come from have gone up about 50% in the last 7 or 8 years, though housing itself has not. Wages have actually gone down, adjusted for inflation.
In other countries we take a national grid for granted. In Europe, power can be bought and sold from country to country. India may be lacking in capacity, but even if they're not, the grid is fragile, unreliable and not a national one.
There are over a billion people living there too, in a land mass way smaller than their more populous neighbour to the north (and let's not forget all of China's trouble with pollution as well).