February 18, 2011

nataliya volkanova nataliya volkanova
Lab Rat
5 posts

New Qt Mobility Location API plugin: Cloudmade

 

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 [developers.cloudmade.com]

The Cloudmade Location API plugin extends functionality of qt-mobility, while our CloudMade GeoServices plugin (http://developer.qt.nokia.com/forums/viewthread/3621/ [developer.qt.nokia.com]) 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 [gitorious.org]
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 [gitorious.org]

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

Nataliya Volkanova
Cloudmade Team

6 replies

March 7, 2011

juvuolle juvuolle
Lab Rat
3 posts

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.

March 7, 2011

sluzan sluzan
Lab Rat
3 posts

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 !

 Signature 

Sergey Luzan
Cloudmade Team

March 8, 2011

nataliya volkanova nataliya volkanova
Lab Rat
5 posts

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 [bugreports.qt.nokia.com].

Is there any one who can help here, please?

Regards,
Nataliya

March 9, 2011

nataliya volkanova nataliya volkanova
Lab Rat
5 posts

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

August 15, 2011

harbaum harbaum
Lab Rat
33 posts

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

  1. 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
  2. The tile cache is one huge flat directory making io to it awful slow if the number if cached tiles becomes big
  3. The cleanup process takes even longer and can halt a symbian phone for half a minute or longer on any app startup and end

August 16, 2011

sluzan sluzan
Lab Rat
3 posts

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

 Signature 

Sergey Luzan
Cloudmade Team

 
  ‹‹ [ANN] QtitanDataGrid1.2, QtitanMultimedia1.3 has been released!      New Qt Mobility MapPOI Collector app: Cloudmade ››

You must log in to post a reply. Not a member yet? Register here!