forked from 0x2620/oxjs
geo update: fix missing symlinks
This commit is contained in:
parent
fde174483d
commit
22f1cc26c0
87 changed files with 89 additions and 2 deletions
|
|
@ -427,6 +427,7 @@
|
|||
"Neutral Zone": "Flag of the United Nations",
|
||||
"New Hebrides": "Flag of Anglo-French Joint Naval Commission",
|
||||
"Northern Ireland": "Ulster banner",
|
||||
"Sikkim": "Flag of Sikkim monarchy",
|
||||
"Svalbard and Jan Mayen": "Flag of Norway",
|
||||
// France
|
||||
"Mayotte": "Flag of Mayotte (local)",
|
||||
|
|
@ -474,7 +475,7 @@
|
|||
"Ajman": ["Ajman Region"],
|
||||
"Akrotiri and Dhekelia": ["Akrotiri, Cyprus", "Dhekelia, Cyprus"],
|
||||
"Biafra": ["Bayelsa, Nigeria", "Cross River, Nigeria", "Enugu, Nigeria"],
|
||||
"Bonaire, Sint Eustatius and Saba": ["Bonaire", "Saba", "Sint Eustatius"],
|
||||
"Bonaire, Sint Eustatius and Saba": ["Bonaire", "Saba, Netherlands Antilles", "Sint Eustatius"],
|
||||
"Bophuthatswana": ["Babelegi, South Africa", "Gaberone, Botswana", "Hotazel, South Africa", "Maseru, Lesotho"], // approximate
|
||||
"British Honduras": ["Belize"],
|
||||
"Byelorussian Soviet Socialist Republic": ["Belarus"],
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ for file in os.listdir(svg_path):
|
|||
if svg_file[-4:] == '.svg' and not os.path.islink(svg_file):
|
||||
tmp_file = png_path + file + '.png'
|
||||
png_file = tmp_file.replace('.svg.png', '.png')
|
||||
if not os.path.exists(png_file):
|
||||
if True: #not os.path.exists(png_file):
|
||||
os.system('qlmanage -t -s 4096 -o ' + png_path + ' ' + svg_file)
|
||||
while not os.path.exists(tmp_file):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
To create Ox.Geo/json/Ox.Geo.json and Ox.Geo/png/*
|
||||
- run python /py/geo.py
|
||||
- check for new flags and create svg/icons
|
||||
+ THERE IS A STEP MISSING HERE THAT INVOLVES RUNNING /py/png.py
|
||||
- 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
|
||||
- run python py/fix.py
|
||||
- save json/countries.json as source/Ox.Geo/json/Ox.Geo.json
|
||||
- copy png/icons/ to source/Ox.Geo/png/flags/
|
||||
Loading…
Add table
Add a link
Reference in a new issue