I’ve got a problem which is not related to Geocart, but since Geocart is an important part in the process and moreover, because I don’t know any other forum to ask (anymore), I’m posting it here.
It started I wanted to know Capek’s Q [1] for several projections.
Since Geocart doesn’t compute that value (hint, hint

So I’m going to tell you what I’m doing, and hopefully someone can provide me a clue at which point I’m doing a mistake.
Capek defined Q as the percentage ratio of the area represented in the map with permissible distortion to the area of the whole world.
Both limits can be set arbitrarily, but I used the same that Capek used in his paper:
Maximum angular distortion 40° and 1.5 multiple of the smallest areal distortion were used as the distortion limits.
Capek calculated Q for 100 projections by using cartometry and additionally for 30 of them, by computer processing derived from the projection’s formula.
Let me show you what I’m doing using Eckert IV as example. Being an equal-area projection, we just have to take the angular distortion into account.
To visualize maximum angular distortion 40°, I’m using a metric lines database containing the following line:
Code: Select all
<isocol max_deformation='40' />
In an image processor, the image is colorized: Areas with an angular distortion above 40° are filled red, the others green: Now, I’m using a script that counts all pixels that are not white (= the area of the whole world) and all pixels that are green (= the area represented in the map with permissible distortion), so I can calculate Q:
Code: Select all
(number of green pixels) / (number of non-white pixel) * 100
Code: Select all
599395/735300*100 = 81.517067863457
In Cape’s paper, Eckert IV is listed with 81.9 (Q set by computer) and 82.5 (Q set by cartometry). So my result deviates by 0.4/1.0, which can easily explained by the fact that my approach certainly isn’t accurate. However, it’s close enough for my purposes.
I repeated this for various other equal-area projections (e.g. sinusoidal, Putnins P2, Mollweide, Hufnagel 10 & 11, Wagner IV & VII…) with similar deviations.
My approach works! Yay me!
BUT…
Then I moved on to the compromise projections.
Now I needed to visualize the 1.5 multiple of the smallest areal distortion.
In Wagner VI, the smallest areal distortion is 1.0 (= equivalent, at the center of the map).
So the line in the metric lines database is:
Code: Select all
<isocol area='1.5' />
This is how the maps looks like before and after the colorization:
I’m running my script and GULP!
Capek lists 80.4 (computer) and 79.5 (cartometry), but my result is 66!
Did my script do something wrong in counting the non-white and green pixels?
I confirmed the results using this technique. No, my script was doing just fine. And if this hadn’t been the case, the results for the equal-area projections would have been wrong, too. To the script, it doesn’t matter a bit whether the projection is equal-area or not, it just count pixels of various colors.
And of course, I tried this with other compromise projections. All of them were deviating terribly from Capek’s results.
So, what am I doing wrong??
P.S.: Due to my cartometry, which as I’ve said seems to be quite accurate for equal-area projections, the Q of van Leeuwen projection is 91.7 and thus, higher than for any projection that was examined by Capek.
P.P.S.: Among the interrupted projections Capek lists a projection called BSAM. Yet the only projection bearing this name that I know of is an uninterrupted cylindric projection. So which projection is he referring to?
[1] Capek, Richard 2001:
Which is the Best Projection for the World Map?
https://icaci.org/files/documents/ICC_p ... f24014.pdf