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. Qt Mobility GeoServices plugin for OpenStreetMap
QtWS25 Last Chance

Qt Mobility GeoServices plugin for OpenStreetMap

Scheduled Pinned Locked Moved Mobile and Embedded
13 Posts 7 Posters 13.6k Views
  • 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.
  • I Offline
    I Offline
    iksaif
    wrote on last edited by
    #3

    For OpenStreetMaps, it does not seems to conflict with http://wiki.openstreetmap.org/wiki/Tile_usage_policy , except for Heavy users. But the user is the one who use the plugin, not the plugin itself, and the plugin allow to user another servers.

    And yes, it could probably be used for offline mode.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dalaing
      wrote on last edited by
      #4

      That was my bad - the OpenStreetMaps plugin is fine.

      The Google Maps plugin is also fine but the terms and conditions, while not too scary, are a little more involved than the terms for OpenStreetMaps.

      "Section 10.9":http://code.google.com/apis/maps/terms.html#section_10_9 , for instance, looks very similar to the terms and conditions of the Nokia plugin that we ship with. I'm not entirely sure how to deal with "Section 9.2":http://code.google.com/apis/maps/terms.html#section_9_2 though, although we may have to deal with eventually if the underlying Nokia service "activates" it's equivalent requirement.

      In short, keep up the good work!

      David Laing
      Location API team
      Qt Mobility

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iksaif
        wrote on last edited by
        #5

        Google plugin was just removed because of Licensing issue, it may be available again later.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sluzan
          wrote on last edited by
          #6

          Great job, iksaif! I'm about OSM plugin.
          I'm working on Cloudmade geoservice plugin, details here:
          http://developer.qt.nokia.com/forums/viewthread/3621/

          Sergey Luzan
          Cloudmade Team

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Ices_Eyes
            wrote on last edited by
            #7

            Hi all!!! I was exactly searching for the openstreetmap plugin, thinking also on developing it by myself... Actually I'm new to Qt, so have a really basic and maybe stupid question... How can I use a plugin? I think i can download the sources and compile them, but...have I to recompile the entire qt mobility in order to use it?

            1 Reply Last reply
            0
            • I Offline
              I Offline
              iksaif
              wrote on last edited by
              #8

              No, you just need to download the sources, and build them independently (using either CMake or qmake).
              It will produce two geoservices plugins, and you'll have to put them on the right directory (you can use the system directory, or you own custom directory: http://doc.qt.nokia.com/latest/plugins-howto.html#locating-plugins ).

              1 Reply Last reply
              0
              • I Offline
                I Offline
                Ices_Eyes
                wrote on last edited by
                #9

                Thanks for the information!!! :)
                Despite the fact that I'm having some problems in compiling them (I think I cannot compile them with Qt Creator, so need to understand if the mingw-make compiler is the right to use, also for symbian deploy :P ), as far as I understand, I need to create a subdirectory geoservices of my current directory, put the 4 dll file generated there, and all should works, right? Sorry for all these questions :)

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  iksaif
                  wrote on last edited by
                  #10

                  It should builds fine with QtCreator, just open qtm-geoservices-extras.pro

                  Then, it should be handled like any Qt Plugin. If you don't know about plugin, please read:

                  • http://doc.qt.nokia.com/latest/plugins-howto.html#locating-plugins
                  • http://doc.qt.nokia.com/latest/deployment-windows.html#qt-plugins

                  For Symbian, that will probably be more complicated, since there is a lot of qmake stuff to write to deploy things correctly on the device. It may be easier to link them statically.

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    Ices_Eyes
                    wrote on last edited by
                    #11

                    Thanks again... So I will start reading and trying out with the static link... :)

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Jason.He
                      wrote on last edited by
                      #12

                      Hi iksaif!

                      I have read your code in detail , but I also found your code are just base on the symbian platform, could you have any good ideas to port them into Qt5 framework?!

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Razamut
                        wrote on last edited by
                        #13

                        Hi,
                        I have been using iksaif plugins for a while but some time ago the google map one stopped to work. Now I just only get a white image but I can see a refresh is tried if I zoom in/out or move.
                        Therefore I guess I need to modify the url used to access google map service images, but I cannot find how to change it.
                        Can someone help me?

                        Currently the 2 lines that I think need to be modified are:
                        return "http://khm.google.com/kh?v=51&x=%1&s=&y=%2&z=%3"
                        return "http://mt.google.com/vt/lyrs=&x=%1&s=&y=%2&z=%3";

                        I read on google developers page that we need to add API key parameters in request but it did not solve my issue.
                        Thank you!

                        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