aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgis-observation-map1
1 files changed, 1 insertions, 0 deletions
diff --git a/gis-observation-map b/gis-observation-map
index e2740c7..23ca88e 100755
--- a/gis-observation-map
+++ b/gis-observation-map
@@ -365,6 +365,7 @@ def getObservations(taxonLists, taxonRedlistCategories, data):
print('WARN: GeoJSON output lacks CRS', file=sys.stderr)
if obs['type'] == 'FeatureCollection' and 'features' in obs.keys() and type(obs['features']) == list:
+ print(f'{len(obs["features"])} observations found', file=sys.stderr)
for feat in obs['features']:
if (type(feat) != dict or 'type' not in feat.keys() or feat['type'] != 'Feature'
or 'properties' not in feat.keys() or type(feat['properties']) != dict):