aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2023-09-29 00:05:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2023-09-29 00:05:07 +0200
commitfda794e9741df6a15969ca1335284f3426dd317b (patch)
treeb6d12f49dede5459d2321576b18e92659382695d
parente6279c5edc9a2610719b246f7d3034f225940991 (diff)
Use Swedish in file and layer names.
This matches Lantmäteriet's Topografi 10/50/….
-rwxr-xr-xgis-observation-map4
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):