diff options
-rwxr-xr-x | gis-observation-map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gis-observation-map b/gis-observation-map index 11f4473..91abd1e 100755 --- a/gis-observation-map +++ b/gis-observation-map @@ -144,7 +144,7 @@ if args.project_home is not None and args.project_name is not None: raise Exception('Invalid CRS') if args.observation_file is None: - args.observation_file = Path('observations') + args.observation_file = Path('fynd') elif args.observation_file is not None: projectInstance = None @@ -438,7 +438,7 @@ def getObservations(taxonLists, taxonRedlistCategories, searchFilter): if obs['type'] == 'FeatureCollection' and 'features' in obs.keys() and type(obs['features']) == list: print(f'{len(obs["features"])} observations found', file=sys.stderr) if 'name' not in obs.keys() or obs['name'] is None: - obs['name'] = 'Observations' + obs['name'] = 'Fynd' 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): |