Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Getting QGeoAddress from QGeoPositionInfo ?
Qt 6.11 is out! See what's new in the release blog

Getting QGeoAddress from QGeoPositionInfo ?

Scheduled Pinned Locked Moved Mobile and Embedded
9 Posts 3 Posters 5.4k Views 1 Watching
  • 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
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hey guys i'm writing a small Application with the QtMobility 1.0 Geo Api.
    How can i get the QGeoAddress from QGeoPositionInfo of the positionUpdated Signal?

    greetings

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      QtMobility 1.0 doesn't have the QGeoAddress yet, it comes with version 1.1.
      There's no automatic way to convert QGeoCoordinate got from QGeoPositionInfo in update to QGeoAddress, but it can be done using some external geocoding service.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Ah, well i tried to install the 1.1 version, but i got some linker errors. Maybe it's still a dead header there.
        Allright, thanks for your answer. Can you suggest me an external geocoding service?

        Greetings

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          I've used none of these myself, but at least Google has a maps Javascript API with good instructions how to use the geocoding service right here: http://www.developer.com/lang/jscript/article.php/3615681
          Yahoo! has a REST API here: http://developer.yahoo.com/maps/rest/V1/geocode.html
          I guess googling will list more services which you can look more carefully and select one which has a best API (and right language) considering your application :)

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Thank you very much :)

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Qt Mobility 1.1 comes with geocoding, so you should be able to use that directly in any app that has access to QGeoAddress.

              See http://doc.qt.nokia.com/qtmobility-1.1.0/location-overview.html#geocoding-and-searching-for-places

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                Wow that's awesome! I guess it uses pre-installed Ovi Maps on device and does not need internet connection?

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  The current plugin uses the online Ovi services. There's work being done on an offline plugin.

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    That's one of my problems. I don't want to go online with my app. I need an offline method ;)

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved