Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47188

Osm geocode plugin customization not working.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.5.0
    • Location: Places
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            Opostol Silantyev Ivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes