Skip to content
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

Nominatim geocoder - Error: Bad parameter 'viewbox'. Not a box. #50807

Closed
2 tasks done
pathmapper opened this issue Nov 7, 2022 · 0 comments · Fixed by #50872
Closed
2 tasks done

Nominatim geocoder - Error: Bad parameter 'viewbox'. Not a box. #50807

pathmapper opened this issue Nov 7, 2022 · 0 comments · Fixed by #50872
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Locator

Comments

@pathmapper
Copy link
Contributor

What is the bug or the crash?

For certain settings, the Nominatim geocoder creates a request with bad paramter viewbox=inf,inf,inf,inf which results in an error message.

https://nominatim.qgis.org/search?format=json&addressdetails=1&viewbox=inf,inf,inf,inf&q=berlin

{"error":{"code":400,"message":"Bad parameter 'viewbox'. Not a box."}}

image

Steps to reproduce the issue

  1. Use the following settings for Nominatim Geocoder
    image
  2. Open new/blank project and set project CRS to EPSG:25832
  3. Add default OSM XYZ layer
  4. Rightclick on the layer in layer widget -> Zoom to layer(s)
  5. Type Berlin in the locator input
  6. A request with bad viewbox parameter is created, no geocoding result is displayed

Versions

QGIS version 3.29.0-Master QGIS code revision 5fc94c3
Qt version 5.15.3
Python version 3.10.6
GDAL/OGR version 3.4.1
PROJ version 8.2.1
EPSG Registry database version v10.041 (2021-12-03)
GEOS version 3.10.2-CAPI-1.16.0
SQLite version 3.37.2
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.1 LTS
       
Active Python plugins
sagaprovider 2.12.99
grassprovider 2.12.99
MetaSearch 0.3.6
processing 2.12.99
db_manager 0.1.20

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@pathmapper pathmapper added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 7, 2022
@DelazJ DelazJ added the Locator label Nov 7, 2022
pathmapper added a commit to pathmapper/QGIS that referenced this issue Nov 11, 2022
pathmapper added a commit to pathmapper/QGIS that referenced this issue Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Locator
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants