geopython / geopython/GeoHealthCheck
OGCFeat Drilldown Probe (Full) gives error with OGCRec Provider
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 92
- Forks
- 75
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el código Python de OGCFeat Probe y la fijación de dependencia para OWSLib==0.20.0. Reproduce el fallo contra la URL de demostración de pygeoapi y, después, investiga OWSLib 0.26.0 y las soluciones existentes para las primeras versiones de OGC API. Se considera terminado cuando el Full drilldown test informa success=True sin romper el comportamiento anterior de OGC API.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100