Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. New Qt Mobility Location API plugin: Cloudmade
Forum Updated to NodeBB v4.3 + New Features

New Qt Mobility Location API plugin: Cloudmade

Scheduled Pinned Locked Moved Showcase
7 Posts 4 Posters 5.1k 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.
  • N Offline
    N Offline
    nataliya volkanova
    wrote on last edited by
    #1

    Hello All,

    Today we delivered Cloudmade Location API plugin for qt-mobility and very open for you feedback!

    The Cloudmade Location API plugin is implemented as qt-mobility pluging using Cloudmade Location Management service. This service allows developers to create, delete, update and search locations, i.e. places on the map, which have attributes such as: name, description, latitude, longitude, tags and photos.

    More info is available here: "http://developers.cloudmade.com/projects/show/locations":http://developers.cloudmade.com/projects/show/locations

    The Cloudmade Location API plugin extends functionality of qt-mobility, while our CloudMade GeoServices plugin ("http://developer.qt.nokia.com/forums/viewthread/3621/":http://developer.qt.nokia.com/forums/viewthread/3621/) overrides existent functionality.

    The Cloudmade Location API plugin:

    • has interface, were Location API functions and their parameters are defined (tools/cloudmadelocationmanagement/plugin/locationinterface.h).

    • this interface has implementation (locationplugin.cpp, h).

    • and there is also a small unit test program (testlocmgmt), which loads this plugin and test that CloudMade Location API (via new qt api) is working. So it is possible to see how to use the location API .

    The code is placed here (this is development branch):
    "http://gitorious.org/~sluzan/qt-mobility/sluzans-meego-maps-qt-mobility":http://gitorious.org/~sluzan/qt-mobility/sluzans-meego-maps-qt-mobility
    folder: tools/cloudmadelocationmanagement

    To check it out, you need:

    1. compile:
      ./configure
      make
    2. run:
      cd tools/cloudmadelocationmanagement
      ./cloudmadelocationmanagement

    Also, as required by the meego build system the CloudMade Location API plugin was extracted from the big tree to a separate repository:
    "http://gitorious.org/qt-mobility-cloudmade-locationmanagement/qt-mobility-cloudmade-locationmanagement":http://gitorious.org/qt-mobility-cloudmade-locationmanagement/qt-mobility-cloudmade-locationmanagement

    We are glad to hear from you, so any feedback, review comments and questions are very welcome!

    Nataliya Volkanova
    Cloudmade Team

    1 Reply Last reply
    0
    • J Offline
      J Offline
      juvuolle
      wrote on last edited by
      #2

      Well that was easy to get working out-of-the-box, nice.

      An API comment, is there going to be an asynchronous API? Just wondering would operations like searchLocationByName() over network block for their duration?

      The functionality in location management interface seems to somewhat resemble the QtMobility Places API (http://bugreports.qt.nokia.com/browse/QTMOBILITY-871). At a glance the use-case list seems to cover most functionality (and more). It is a work in its early days, but it may be worth dropping a line in the Jira entry if you're interested in aligning.

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

        Asynchronous APIs are planned to the end of March,
        regarding QtMobility Places API - this is great and powerful thing, it looks to be very useful !

        Sergey Luzan
        Cloudmade Team

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nataliya volkanova
          wrote on last edited by
          #4

          Thank you for feedback, guys!

          We plan to add support of asynchronous API in our Location API plugin, but I can't access Jira to request the same in "http://bugreports.qt.nokia.com/browse/QTMOBILITY-871":http://bugreports.qt.nokia.com/browse/QTMOBILITY-871.

          Is there any one who can help here, please?

          Regards,
          Nataliya

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nataliya volkanova
            wrote on last edited by
            #5

            The link "http://bugreports.qt.nokia.com/browse/QTMOBILITY-871":http://bugreports.qt.nokia.com/browse/QTMOBILITY-871 works now

            1 Reply Last reply
            0
            • H Offline
              H Offline
              harbaum
              wrote on last edited by
              #6

              After having used this plugin for quite some time now, i have learned about some problems with it:

              The tiles are cached under /temp/whatever.png but they are not png files (the modification time is prepended). Thus they show up in the symbian photo gallery as broken images

              The tile cache is one huge flat directory making io to it awful slow if the number if cached tiles becomes big

              The cleanup process takes even longer and can halt a symbian phone for half a minute or longer on any app startup and end

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

                Thank you for feedback!
                Yes, you absolutely right, currently tile cache performance is far from optimal, it's just initial version of it. (even so, it works much faster with such simple cache, than with standart qt "url" cache). Tile cache performance will be optimized in future version of plugin, and it will solve mentioned problems. Unfortunately, I can't tell when it will be released; I think feedback and community interest will speed-up this process

                Sergey Luzan
                Cloudmade Team

                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