Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
Description
http://doc.qt.io/qt-5/location-plugin-osm.html
The parameter "osm.geocoding.host" is not working.
qtLocation\src\plugins\geoservices\osm\qgeocodingmanagerengineosm.cpp:
if (parameters.contains(QStringLiteral("osm.geocoding.host"))) m_urlPrefix = parameters.value(QStringLiteral("geocoding.host")).toString().toLatin1(); else m_urlPrefix = QStringLiteral("http://nominatim.openstreetmap.org");
It checks one parameter but set another("geocoding.host")
Also customization feature not used at all in file qplacemanagerengineosm.cpp:
QUrl requestUrl(QStringLiteral("http://nominatim.openstreetmap.org/search?"));
This url could not be changed
Attachments
For Gerrit Dashboard: QTBUG-47188 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
121390,2 | Fix OSM parameters | 5.5 | qt/qtlocation | Status: MERGED | +2 | 0 |
121410,4 | Add missing url parameter for OSM places search. | 5.5 | qt/qtlocation | Status: MERGED | +2 | 0 |