For step 5 on groundwaterlevel_href > (‘Load’ button click) > ‘Options for xlink:href loading’
“Load layer list’ : click
RuntimeError: HTTP error code : 404
Another way to test this is directly loading in GMLAS mode the URL of this file; no need to load the BoreholeView.xml file to have this bug.
Expected behavior
the Layer list shall be enriched by the list of the features retrieved in the XML
Additional context
the XML file (raw.githubusercontent.com/BRGM/gml_application_schema_toolbox/master/tests/basic_test_scenario/3_GroundWater_Quantity_Monitoring_Facility.xml) only raises a Warning in XMLSpy (on INSPIRE xsds)
and the XML file is properly retrieved in XML Mode so no 404 on the file itself (nor the XSDs otherwise XMLSpy would have raised issues)
was also a bug on V 1.3.0
Logs
RuntimeError: HTTP error code : 404
Traceback (most recent call last):
File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\import_gmlas_panel.py", line 156, in on_loadLayersButton_clicked
self.validate()
File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\import_gmlas_panel.py", line 181, in validate
feature_count = layer.GetFeatureCount()
File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\osgeo\ogr.py", line 1536, in GetFeatureCount
return _ogr.Layer_GetFeatureCount(self, *args, **kwargs)
RuntimeError: HTTP error code : 404
Environment
Description
To Reproduce
Follow https://brgm.github.io/gml_application_schema_toolbox/testing/scenario_mode_gmlas_local.html Do step 1, 2 and directly 5 as described.
For step 5 on groundwaterlevel_href > (‘Load’ button click) > ‘Options for xlink:href loading’
Another way to test this is directly loading in GMLAS mode the URL of this file; no need to load the BoreholeView.xml file to have this bug.
Expected behavior
Additional context
Logs