diff --git a/tools/geo/py/fix_json.py b/tools/geo/py/fix_json.py new file mode 100644 index 00000000..c160a745 --- /dev/null +++ b/tools/geo/py/fix_json.py @@ -0,0 +1,10 @@ +import json +import ox + +f = open('../json/countries.json') +data = json.loads(f.read()) +f.close() + +f = open('../json/countries.json', 'w') +f.write(json.dumps(data, indent=4, sort_keys=True)) +f.close() \ No newline at end of file