aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgis-observation-map2
1 files changed, 2 insertions, 0 deletions
diff --git a/gis-observation-map b/gis-observation-map
index cf947bc..026746b 100755
--- a/gis-observation-map
+++ b/gis-observation-map
@@ -499,6 +499,8 @@ def getObservations(taxonLists, taxonRedlistCategories, searchFilter):
print(f'WARN: overwriting observation file format to {drv.name}', file=sys.stderr)
if drv.name == geojson_drv.name:
+ # for GeoJSON, don't reproject and pretty-print the output; this
+ # is useful for manual inspection and/or debugging
with path.open(mode='w') as fp:
json.dump(obs, fp, indent=2, ensure_ascii=False)
else: