OGCFeat Drilldown Probe (Full) gives error with OGCRec Provider
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
Piste de recherche
Commencez par le code Python OGCFeat Probe et le verrouillage de dépendance pour OWSLib==0.20.0. Reproduisez l’échec avec l’URL de démonstration de pygeoapi, puis étudiez OWSLib 0.26.0 et les contournements existants pour les premières versions d’OGC API. Le travail est terminé lorsque le Full drilldown test indique success=True sans casser le comportement antérieur d’OGC API.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 92
- Forks
- 77
- Merge moyen
- 1 h 39 min
- PR mergées (30 j)
- 3
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de geopython/GeoHealthCheck
-
Data importOuvertequestion
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
geopython/GeoHealthCheck#522 · 1 commentaire ·
-
FTP ProbeOuverteenhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
geopython/GeoHealthCheck#520 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
geopython/GeoHealthCheck#517 ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
geopython/GeoHealthCheck#483 · 1 commentaire ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
geopython/GeoHealthCheck#472 ·
Toutes les issues de geopython/GeoHealthCheck
Issues similaires
-
intake mcp-intake needs-ac needs-human-review priority:medium
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Ikalus1988/MisakaNet#3848 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
521xueweihan/HelloGitHub#4105 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
igormcsouza/bookloud#54 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
aws-samples/sample-per-model-bedrock#526 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
ok-oldking/ok-wuthering-waves#1802 ·
Les mainteneurs répondent en général sous 2 jours