OGCFeat Drilldown Probe (Full) gives error with OGCRec Provider
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
Beginne mit dem OGCFeat Probe Python-Code und dem Dependency-Pin für OWSLib==0.20.0. Reproduziere den Fehler gegen die pygeoapi demo URL und untersuche anschließend OWSLib 0.26.0 sowie die bestehenden Workarounds für frühe OGC API-Versionen. Als abgeschlossen gilt die Aufgabe, wenn der Full drilldown test success=True meldet, ohne das frühere OGC API-Verhalten zu beeinträchtigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
OGCFeat Drilldown Probe (Full) gives error with OGCRec Provider - think OWSLib outdated
To Reproduce
Steps to reproduce the behavior, e.g.:
- create an OGCFeat Resource for pygeoapi demo: https://demo.pygeoapi.io/master
- in Edit, add OGC API Features (OAFeat) Drilldown Probe
- edit that probe, set Probe var 'drilldown_level` to 'Full'
- save and press Test button
- observe result: success is 'False'
Expected Behavior
expected result as success is True
Screenshots or Logfiles
Error in the logs:
2022-08-10 16:13:31,994 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): demo.pygeoapi.io:443
2022-08-10 16:13:32,298 - urllib3.connectionpool - DEBUG - https://demo.pygeoapi.io:443 "GET /master/collections/dutch-metadata/items?limit=1 HTTP/1.1" 200 5954
2022-08-10 16:13:32,301 - owslib.ogcapi - DEBUG - URL: https://demo.pygeoapi.io/master/collections/dutch-metadata/items/35149dfb-31d3-431c-a8bc-12a4034dac48
2022-08-10 16:13:32,301 - owslib.ogcapi - DEBUG - Request: https://demo.pygeoapi.io/master/collections/dutch-metadata/items/35149dfb-31d3-431c-a8bc-12a4034dac48
2022-08-10 16:13:32,304 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): demo.pygeoapi.io:443
2022-08-10 16:13:32,530 - urllib3.connectionpool - DEBUG - https://demo.pygeoapi.io:443 "GET /master/collections/dutch-metadata/items/35149dfb-31d3-431c-a8bc-12a4034dac48 HTTP/1.1" 200 4797
2022-08-10 16:13:32,534 - GeoHealthCheck.probe - INFO - Result: success=False msg=GetItems {
"code": "NoApplicableCode",
"description": "Invalid provider type"
}: OWSLib err: gdps-temperature response_time=19.627861
Context (please complete the following information):
- OS: any
- Browser: any
- Browser Version: any
- Python Version: 3.7
- GeoHealthCheck Version - latest
masteron aug 10, 2022.
Additional context
Seems to come from OWSLib, possible the version is outdated?
Version:
OWSLib==0.20.0
OWSlib is now at 0.26.0 with OGC API - Records 1.0
https://geopython.github.io/OWSLib/usage.html#ogc-api-records-1-0 - support.
But simply increasing the version number has challenges because of existing work-arounds in the OGCFeat Probe Python code for early OGC API versions.
- Vorherrschende Sprache
- Python
- Sterne
- 92
- Forks
- 77
- Ø Merge
- 1 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus geopython/GeoHealthCheck
-
Data importOffenquestion
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
geopython/GeoHealthCheck#522 · 1 Kommentar ·
-
FTP ProbeOffenenhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
geopython/GeoHealthCheck#520 ·
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
geopython/GeoHealthCheck#517 ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
geopython/GeoHealthCheck#483 · 1 Kommentar ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
geopython/GeoHealthCheck#472 ·
Alle Issues in geopython/GeoHealthCheck
Ähnliche Issues
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog checkEvtl. vergeben @ocelotl hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
open-telemetry/opentelemetry-python#5825 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
cuga-project/cuga-agent#1020 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 70/100
microsoft/playwright#43640 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
stac-utils/stac-fastapi-elasticsearch-opensearch#965 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
from-review-extraction library privacy python severity:suggested
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
LearningCircuit/local-deep-research#7951 ·
Maintainer antworten meist innerhalb von 2 Tagen