1784: Bad Map Projection: Liquid Resize

Explain xkcd: It's 'cause you're dumb.
(Redirected from 1784)
Jump to: navigation, search
Bad Map Projection: Liquid Resize
This map preserves the shapes of Tissot's indicatrices pretty well, as long as you draw them in before running the resize.
Title text: This map preserves the shapes of Tissot's indicatrices pretty well, as long as you draw them in before running the resize.

[edit] Explanation

Ambox notice.png This explanation may be incomplete or incorrect: Partial -- explains a few underlying concepts but needs a lead section.
If you can address this issue, please edit the page! Thanks.

There is no perfect way to draw a map of the world on a flat piece of paper. Each one will introduce a different type of distortion, and the best projection for a given situation is sometimes very disputed. Randall previously explored different projections in 977: Map Projections, and expressed his disdain for some types he sees as less efficient but whose users feel superior.

In this comic, he suggests (supposedly as part of a long list of other equally-terrible maps) a new map projection which is not only useless for most map applications -- as the size, shape, and position of most countries are quite distorted -- but whose creation includes two steps which are outright counterproductive.

First, this method needs a planar map projection as its starting point, thus compounding the problems right off the bat. Planar projections are relatively accurate near the center but heavily distorted toward the edges. A famous example of a planar projection is the logo of the United Nations. Planar projections are just about useful for 3D graphics rendering, if the user needs a quick, inexpensive way to store map textures that will later be attached to a sphere.

Second, the map uses Photoshop's content aware resizing tool, a very questionable choice. The content aware resizing tool resizes images by identifying what it thinks are important details and preserving these, while shrinking or stretching less detailed areas. For example, when used on a face, the algorithm detects that the eyes and mouth are important details and tries to keep these in place, while stretching the skin around it. When applied to a map, this means that areas with lots of countries - and therefore lots of detail - such as Europe, West Africa, the Eastern Mediterranean and Central America/the Caribbean are relatively unchanged, while big countries like India, China and the US are very warped. The choices that the resizing tool makes are also dependent on the exact visual features of the original map, such as the choice of not having any topography or infrastructure drawn on, or not including a latitude/longitude grid, so what areas are deemed as unimportant is even more arbitrary than it would be on, say, a photographic picture of the Earth.

Bad content aware scaling is already a meme. This projection does do a good job, however, of making almost every country clearly visible and indicating which countries are neighbours. South America fits into Africa almost as it did in the era of the super-continent Pangaea.

Tissot's indicatrices are equally sized small circles overlaid on a globe to show the distortion of a particular map projection; if the map distortion distorts the shapes or areas of countries, it will do the same to the circles. The title text suggests that the shapes of Tissot's indicatrices would be pretty well preserved by the Liquid Resize transformation, 'as long as you draw them in before running the resize'. This is a joke. "Drawing them in before running the resize" means that a different projection would be generated (probably preserving the indicatrices themselves), making the use of the indicatrices meaningless, sort of like cheating.

[edit] Transcript

[Caption at the top of the panel:]
Bad map projection #107:
The Liquid Resize
A political map compressed using Photoshop's content-aware resizing algorithm to cut down on unused blank space
[Below the caption there is a map of the world divided and colored by political boundaries, with outlines around each continent in black and around each country in dark gray. Antarctica is colored in light gray, bodies of water in white, and countries in pale shades of red, orange, yellow, green, blue, and purple. The map is heavily distorted, with Africa in the center and the other continents curving around it, approximating the bounds of a square with rounded corners. The oceans have been removed but also huge countries like the US, Australia, Brazil, Russia and especially India and Argentina have been heavily distorted while areas in the center with many smaller countries like Africa and Europe is almost unchanged.]


comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

I'm not too experienced with PhotoShop, but I think that the tool is a selective delete that he used on water bodies, so removing most of the water while maintaining relative shapes and sizes?

Mostly just from the fact that India looks desiccated.

162.158.166.197 05:06, 11 January 2017 (UTC)Girish

Australia is pretty mutilated, so I think the tool was used on land too 162.158.178.111 05:55, 11 January 2017 (UTC)

Where are Laos and Cambodia missing? 108.162.246.11 06:14, 11 January 2017 (UTC)

It seems that Laos and Burma have been merged into one big county, as well as Cambodia and Thailand. Maybe they are just unnecessary details according to this map projection. 162.158.238.22 16:39, 11 January 2017 (UTC)

The tool removes spaces of uniform color automagically. If you have big countries like India or Australia, they get caught by the algorithm as well. 162.158.69.9 06:16, 11 January 2017 (UTC)

Can anybody figure out the projection before the application of the tool? 108.162.219.232 06:58, 11 January 2017 (UTC)

I think it is a Mercator projection that got mutilated. 141.101.104.239 07:50, 11 January 2017 (UTC)
I agree, it looks like a Mercator that Freddy Kruger got at.

Girish, 162.158.166.197 09:02, 11 January 2017 (UTC)

I think if it was a Mercator, the bottom of Antarctica would be flat. To me, it looks like Winkel Tripel, with the odd angles in Alaska and the Russian Far East. Schroduck (talk) 15:02, 11 January 2017 (UTC)

I feel like there is some part of sarcasm in "unused blank spaces", as if it was Randall saying "You're right, why would anyone care about the oceans? There, I have removed them, problem solved.". Can anyone tie this to a recent event? Or maybe the joke is about improperly handling data, where you use a tool just because it's known to work well and for the sake of processing data, even if using in a given context doesn't make much sense. 141.101.69.213 10:14, 11 January 2017 (UTC)

I'm not sure about recent events, but "removing oceans" features prominently in one of Randall's What If? articles. 108.162.241.130 (talk) (please sign your comments with ~~~~)

This map proves, once again, that it's good to be an archipelago. Philippines, FTW! 172.68.54.58 13:59, 11 January 2017 (UTC)

Hold your patriotic horses there, where did Palawan go? --162.158.138.10 12:24, 12 January 2017 (UTC)

Comics like these make me wonder how Randall preserves the XKCD visual style when working with content that is clearly not hand-drawn. ~AgentMuffin

"This is a play on the common advice to young children to refrain from "running with scissors" to avoid physical accidents." <-- Does anyone else thing this is a bit of a stretch? 108.162.245.130 (talk) (please sign your comments with ~~~~)

Yes, I do :) Luckykaa (talk) 15:46, 12 January 2017 (UTC)
absolutely. Running just refers to the algorithm. It's not meta in any way.162.158.58.45 16:29, 12 January 2017 (UTC)

This map centres on Africa, which has survived the distortion relatively unscathed. Might this be a dig at other projections that exaggerate the relative size of Africa? For example, Gall-Peters is called out in xkcd 977 with a simple "I hate you". --108.162.241.130 15:47, 13 January 2017 (UTC)


It seems to me that this comic is inspired by xkcd 1685, once again making humorous reference to using a Photoshop tool to accomplish an unrelated task. 108.162.215.130 (talk) (please sign your comments with ~~~~)

Personal tools
Namespaces

Variants
Actions
Navigation
Tools

It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal?