UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    QtLocation's GeocodeModel

    Scheduled Pinned Locked Moved App Development
    4 Posts 2 Posters 646 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • ? Offline
        A Former User
        last edited by

        A user reported that in TankenApp (https://github.com/derjasper/TankenApp) the Location selection page stopped working. I could verify that on my desktop using clickable.
        It seems that QtLocation's GeocodeModel stopped working (maybe the server is shut down or sth?). I was using the "osm" plugin.
        Can anyone verify this and knows how to circumvent this?

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          ernest @Guest
          last edited by

          @derjasper said in QtLocation's GeocodeModel:

          ems that QtLocation's GeocodeModel stopped working (maybe the se

          I guess it depends of the QTlocation used in Ubuntu touch. It's broken for Vivid but fixed in Xenial.
          You can look a the code of Activity tracker for Xenial : https://github.com/ernesst/ActivityTracker

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User

            I am pretty sure that "clickable desktop" runs the app on xenial, doesnt it?

            @ernest said in QtLocation's GeocodeModel:

            You can look a the code of Activity tracker for Xenial : https://github.com/ernesst/ActivityTracker

            Where is the GeocodeModel used exactly?

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User

              I fixed it by setting up a custom geocoding host

              GeocodeModel {
              id: geocodeModel
              plugin: Plugin {
              name: "osm"
              PluginParameter { name: "osm.geocoding.host"; value: "https://nominatim.openstreetmap.org/" }
              }
              }

              1 Reply Last reply Reply Quote 2

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post