aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgis-observation-map4
1 files changed, 2 insertions, 2 deletions
diff --git a/gis-observation-map b/gis-observation-map
index 1693ed4..19dabd3 100755
--- a/gis-observation-map
+++ b/gis-observation-map
@@ -386,7 +386,7 @@ def getObservations(taxonLists, taxonRedlistCategories, data):
json.dump(obs, fp, indent=2, ensure_ascii=False)
if projectInstance is not None:
- layer = QgsVectorLayer(path.as_posix() + '''|subset="Kingdom" IN ('Fungi', 'Plantae') AND "IsPositiveObservation" AND "IsNaturalOccurrence" AND "CoordinateUncertaintyInMeters" <= 250''', path.stem, 'ogr')
+ layer = QgsVectorLayer(path.as_posix() + '''|subset="Kingdom" IN ('Fungi', 'Plantae') AND "IsPositiveObservation" AND "IsNaturalOccurrence" AND NOT "IsNotRediscoveredObservation" AND "CoordinateUncertaintyInMeters" <= 250''', path.stem, 'ogr')
if not layer.isValid():
raise Exception(f'ERROR: {path}: failed to load in QGIS')
if 'QGIS' in config.keys() and 'style' in config['QGIS']:
@@ -522,7 +522,7 @@ taxonLists, taxonRedlistCategories = getTaxonLists()
searchFilter = {
'geographics': geograficsFilter,
'determinationFilter': 'NoFilter',
- 'notRecoveredFilter': 'NoFilter',
+ 'notRecoveredFilter': 'DontIncludeNotRecovered',
'occurrenceStatus': 'Present',
'verificationStatus': 'BothVerifiedAndNotVerified',
'output': {