GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
GeoTree Flags  XML
Forum Index -> General
Author Message
samokk



Joined: 13/10/2006 21:56:39
Messages: 78
Offline

Hi,

in a recent blog entry (http://geonames.wordpress.com/2008/03/06/geotree-hierarchical-toponym-browser/), you wrote about the GeoTree widget displaying flags from wikipedia.

How did you do the mapping between the flag names and the ADM codes ?

Is the mapping data with the flags bundle available ?

thanks,
sami dalouche
opus27


[Avatar]
Joined: 23/07/2007 18:28:40
Messages: 44
Location: Paris, France
Offline

Hi Sami,

as explained in GeoTree Credits section,
country flags come from http://flags.blogpotato.de/
other flags and coats of arms from Wikipedia.

At the moment they are stored in a CSV file :
Code:
 GeoNameId	URL
 3038033	http://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Alzacja_herb.png/100px-Alzacja_herb.png
 3037350	http://upload.wikimedia.org/wikipedia/commons/thumb/7/72/Blason_de_l%27Aquitaine_et_de_la_Guyenne.svg/100px-Blason_de_l%27Aquitaine_et_de_la_Guyenne.svg.png
 3035876	http://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Blason_de_l%27Auvergne.svg/100px-Blason_de_l%27Auvergne.svg.png
 3030967	http://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Blason_fr_Bourgogne.svg/100px-Blason_fr_Bourgogne.svg.png
 3030293	http://upload.wikimedia.org/wikipedia/commons/thumb/2/26/COA_fr_BRE.svg/100px-COA_fr_BRE.svg.png
 3027939	http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Blason_Centre.svg/100px-Blason_Centre.svg.png
 etc...
 


Mapping was easy for France using adminCode3/adminCode4 found on wikipedia pages.

Would you like to help us for some other countries ?

Christophe B.
France Paris, France
GeoNames ambassador
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team