diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-09-28 15:43:41 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-09-28 15:43:41 +0200 |
commit | 10c32ff0eab8511f43a338675757b26dc78c459a (patch) | |
tree | b8cbeb480cbebf374889dacfc6a1ea7b94fc7f9f /gis-observation-map | |
parent | 1747c01be2390b0d6c82d2ba5a111efda2d6bd55 (diff) |
Add comment.
Diffstat (limited to 'gis-observation-map')
-rwxr-xr-x | gis-observation-map | 2 |
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: |