Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply extract exception to keep invalid and absence data #140

Merged
merged 3 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugin_qgis_lpo/processing/extract_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
FROM src_lpodatas.v_c_observations obs
LEFT JOIN taxonomie.taxref t ON obs.cd_nom = t.cd_nom
WHERE st_intersects(obs.geom, st_union({array_polygons})) AND {where_filters}"""
self._is_data_extraction = True

Check warning on line 53 in plugin_qgis_lpo/processing/extract_data.py

View check run for this annotation

Codecov / codecov/patch

plugin_qgis_lpo/processing/extract_data.py#L53

Added line #L53 was not covered by tests

# def createInstance(self): # noqa N802
# return SummaryMap()
1 change: 1 addition & 0 deletions plugin_qgis_lpo/processing/extract_data_observers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
LEFT JOIN utilisateurs.t_roles r on s.id_digitiser=r.id_role
WHERE
st_intersects(obs.geom, st_union({array_polygons})) AND {where_filters}"""
self._is_data_extraction = True

Check warning on line 51 in plugin_qgis_lpo/processing/extract_data_observers.py

View check run for this annotation

Codecov / codecov/patch

plugin_qgis_lpo/processing/extract_data_observers.py#L51

Added line #L51 was not covered by tests

# def createInstance(self): # noqa N802
# return SummaryMap()