oxjs/tools/geo/readme.txt

11 lines
640 B
Text
Raw Normal View History

2011-10-27 18:54:34 +00:00
To create Ox.Geo/json/Ox.Geo.json and Ox.Geo/png/*
- run python /py/geo.py
2012-04-02 21:13:20 +00:00
use the -cache option if you don't want to update from wikipedia
2011-11-23 14:53:17 +00:00
- check for new flags and create svg/icons
2012-04-02 21:13:20 +00:00
- 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
2011-11-23 14:53:17 +00:00
- open html/geo.html, wait, and save json as json/countries.json
2012-04-02 21:13:20 +00:00
CAUTION: SEVERAL PLACES, AT LEAST Ashmore and Cartier Islands AND Midway Islands, NO LONGER RESOLVE
2011-11-23 14:53:17 +00:00
- run python py/fix.py
- save json/countries.json as source/Ox.Geo/json/Ox.Geo.json
2012-04-02 21:13:20 +00:00
- copy png/icons/ to source/Ox.Geo/png/flags/ (16, 64 and 256 is probably enough)