From 10c32ff0eab8511f43a338675757b26dc78c459a Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 28 Sep 2023 15:43:41 +0200 Subject: Add comment. --- gis-observation-map | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3