update Geo module

This commit is contained in:
rolux 2012-04-02 23:13:20 +02:00
parent a7c50d840b
commit 9c39e0e2e6

View file

@ -1,9 +1,11 @@
To create Ox.Geo/json/Ox.Geo.json and Ox.Geo/png/* To create Ox.Geo/json/Ox.Geo.json and Ox.Geo/png/*
- run python /py/geo.py - run python /py/geo.py
use the -cache option if you don't want to update from wikipedia
- check for new flags and create svg/icons - check for new flags and create svg/icons
+ THERE IS A STEP MISSING HERE THAT INVOLVES RUNNING /py/png.py - run python /py/png.py
use the -nopng option if you don't want to skip the few flags that only exist as png, not as svg
- open html/geo.html, wait, and save json as json/countries.json - open html/geo.html, wait, and save json as json/countries.json
+ IN THE ABOVE, SEVERAL PLACES, AT LEAST Ashmore and Cartier Islands AND Midway Islands, NO LONGER RESOLVE CAUTION: SEVERAL PLACES, AT LEAST Ashmore and Cartier Islands AND Midway Islands, NO LONGER RESOLVE
- run python py/fix.py - run python py/fix.py
- save json/countries.json as source/Ox.Geo/json/Ox.Geo.json - save json/countries.json as source/Ox.Geo/json/Ox.Geo.json
- copy png/icons/ to source/Ox.Geo/png/flags/ - copy png/icons/ to source/Ox.Geo/png/flags/ (16, 64 and 256 is probably enough)