-
Notifications
You must be signed in to change notification settings - Fork 17
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
WFS 'filter - select extent on canvas' : unexpected type 'QgsCoordinateReferenceSystem' #58
Comments
Tested ok on v1.2.0-rc2 using QGIS 3.0.0-Girona code revision 001c80b0c3 |
looking at the toolbox logs it seems that, even if the 'Limit to' is unticket the WFS request still contains the count parameter (see below) |
Moreover, |
Fixed now in de58d3e |
On BRGM server with the bbox, I can't reproduce the issue, and get the correct result. On Sandre server, the returned features are indeed wrong. The two servers declare the same default CRS (urn:ogc:def:crs:EPSG::4326). So it seems the problem is server side ? |
I was wrong, bbox parameters order was wrong, fixed with #57 |
fixed under |
connected to https://wfspoc.brgm-rec.fr/geoserver/ows
-> choosing Feature type 'ef:EnvironmentalMonitoringFacility'
-> Filter by extent with select extent on canvas that generates that BBOX : 7.51633453933924,8.00596800433564,48.35317290336555,48.804760524798034,EPSG:4326
-> 'Download to': a temporary file or an explicit file path
-> then 'Download'
: 2018-01-16T10:52:48 WARNING Traceback (most recent call last):
File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\load_panel.py", line 213, in on_downloadButton_clicked
out = self.download()
File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\load_panel.py", line 282, in download
params['bbox'] = self._get_bbox(wfs)
File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\load_panel.py", line 251, in _get_bbox
transform = QgsCoordinateTransform(self.bboxWidget.crs(), default_crs)
TypeError: QgsCoordinateTransform(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: not enough arguments
overload 3: not enough arguments
overload 4: not enough arguments
overload 5: argument 1 has unexpected type 'QgsCoordinateReferenceSystem'
The text was updated successfully, but these errors were encountered: