Falsehoods programmers believe about geography
🗾
Computer science is a unique branch of engineering in the sense that programming by itself is not helping much, to actually to write useful programs, one needs to understand what the programs are about. One of dangers of programming is having an erroneous model, and is very easy to base a system on falsehoods. There are two very interesting posts about this on this subject on the web:
Here are some falsehoods about geography I found in software, the list is, by far, not exhaustive.
- Places have only one official name
- Some places have multiple languages, so multiple names, which can be quite different: Genève, Genf, Ginevra.
- Places have only one official name per language
- That might be true in an ultra-centralized state which never changes its mind. The hill behind my flat has two different names, depending on the maps. On the topographic maps (used by the army) the name is “Äntlisberg”, while on the city map, the name is “Entlisberg”, both are official. In Taipei, the romanized street names used to use different romanisation rules depending on the quarter, so the official street name changes.
- Place names follow the character rules of the language
- Place names are usually old, often created before the language and their rules have been stabilised, so this does not hold. For instance, the rule says in german the sequence “ue” is equivalent to “ü”. This rule works because the “üe” sound has died out in german. The hill over Zürich is named “Üetliberg” (and pronounced as such).
- Place names can be written with the usual character set of a country
- One of the Kergelen islands (par of France) is called Île de Croÿ, most french persons have no clue how to type the “ÿ” character.
- Place names can be written with the exhaustive character set of a country
- That would be true if street where never named after foreigners with strange accents in their names. There is a Béla Bartók square in Paris. The “ó” is not valid in French.
- Places have only one official address
- There is a dam in Geneva than span the Rhône and therefore the border. The dam has two street addresses, one in Switzerland, one in France.
- Countries have capitals
- Switzerland does not. The government is currently in Bern, but the city is not the capital.
- Buildings do not move
- In Zürich, a 6200 ton building was moved by 60 meters to make way for railway tracks
- Street adresses contain street names
- In many remote places in Europe, the hamlet name is considered a sufficient address.
- Language codes will match the country code of the country they are associated with
- The country code for Japan is
jp, the language code isja.
Sunday 8 July 2012 at 15:44 in Computer Science, English, General, Geography, Links Tags: Data, Falsehoods, Geography

Bern is not our capital?
Nope, Bern has the status of federal city, but not of capital.
http://fr.wikipedia.org/wiki/Berne
Learning new stuff everyday ;-)
Mind you, the wikipedia contradicts itself: http://fr.wikipedia.org/wiki/Suisse On this page, the capital city is listed as being Bern.
Moving buildings is definitely my favorite part. The first time you told me about, I was still very naive about Swiss ;-)
I knew all of them except for Bern.
Then again, I’m not a programmer (nor Swiss).
There is also this beauty:
https://maps.google.com/maps?q=Baarle-Nassau&hl=en&ll=51.44256,4.932003&spn=0.079177,0.227108&sll=51.445137,4.929523&sspn=0.158345,0.454216&hnear=Baarle-Nassau,+North+Brabant,+The+Netherlands&t=m&z=13
I never trust dates since I was bitten by a 30th February (in France, end of the XXth century, and yes it was a bug).
@Pavol: Beautiful. There is worse because these are REAL borders that you cannot easily cross: https://upload.wikimedia.org/wikipedia/commons/9/9a/Cooch-behar-enclaves-schematisch.png
“Street adresses contain street names”
In Japan, the streets don’t even have a name. Buildings are referred to by block numbers.
For instance, the address of Sony (HQ) is Tōkyō City, Minato ward, Kōnan district, 1-7-1.
“Countries have capitals”
Others have many. South Africa’s capitals are Pretoria, Bloemfontein and Cape Town.