impprove python merge script for smaller geojson files

This commit is contained in:
Hugh Rundle 2021-01-24 20:42:31 +11:00
parent 2beebe8099
commit 31550bb512

View file

@ -38,4 +38,4 @@ for feature in json_data['features']:
# write out new geojson file with the updates
with open(output_file, 'w') as newfile:
json.dump(json_data, newfile, indent=2)
json.dump(json_data, newfile, separators=(',', ':'))