maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

tigre-bleu 2014-03-03 08:29

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1415144)

So I'll need to switch modRana to another API - either the the Google Places API or some other, hopefully more durable one (recommendations for a suitable local search API are welcome! :)).

I would not recommand to use google API. Instead there are several other API using openstreetmap. For instance it is possible to use Open Mapquest:

http://developer.mapquest.com/web/products/open

Especially XAPI: http://open.mapquestapi.com/xapi/

petur 2014-03-03 11:36

Re: [Announce] modRana: a flexible GPS navigation system
 
I wouldn't mind the choice or even combination of such searches (combination would give dupes), Google is pretty good at finding places even if nobody entered them on a map - it scrapes the location from the webpages.

handaxe 2014-03-03 11:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Modrana v0.45.4 latest: night theme corrupts map display. Others do not.

MartinK 2014-03-11 23:38

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by tigre-bleu (Post 1415190)
I would not recommand to use google API. Instead there are several other API using openstreetmap. For instance it is possible to use Open Mapquest:

http://developer.mapquest.com/web/products/open

Especially XAPI: http://open.mapquestapi.com/xapi/

I've been doing a little survey and I think I would use the Overpass API. It is basically a much more powerful & flexible XAPI.

It should also make implementing the current local search features easier - searches like "food" could be implemented like get nodes corresponding to any of a set of food-related amenities.

Stuff like this seems like it would be rather difficult to do with XAPI alone.

Quote:

Originally Posted by petur (Post 1415205)
I wouldn't mind the choice or even combination of such searches (combination would give dupes), Google is pretty good at finding places even if nobody entered them on a map - it scrapes the location from the webpages.

Sure, it should be possible to use different backends and to either switch between them or search in all of them at once, but I need to start with one backend and make it work at all first. :) Of course, patches adding more providers are definitely welcome. :)

Quote:

Originally Posted by handaxe (Post 1415209)
Modrana v0.45.4 latest: night theme corrupts map display. Others do not.

Strange, I'm not getting this on my N900 - could you start modRana from terminal and post the output here ?

handaxe 2014-03-12 12:06

Re: [Announce] modRana: a flexible GPS navigation system
 
2 Attachment(s)
Quote:

Originally Posted by MartinK (Post 1416340)
Strange, I'm not getting this on my N900 - could you start modRana from terminal and post the output here ?

Sure. Log and screenie attached. Gtk interface (qml is v. nice BTW). Nothing in log file AFAICS.

But, having looked at this again, I now see that it is an issue with the overlay maps alone, irrespective of source, rather than using the overlay with a base-map OR with aerial photo.

I only get the corruption with the night theme. Same overlay map and any other theme, switched within a session and all is well.

About aerial photos and the night theme: I do not think that inverting the colours makes sense in this instance. Obscures more than clarifies.

marmistrz 2014-03-13 17:15

Re: [Announce] modRana: a flexible GPS navigation system
 
About mapnik: I decided that using thumb and non-free will be the best approach - why should we use non-thumb when we can use thumb. Unfortunately no one seems to bother to fix an awful extras-devel import bug: http://talk.maemo.org/showpost.php?p...&postcount=112

So when modrana starts to use some mapnik code, let me know and I'll rethink what can be done at that point.

petur 2014-03-14 14:07

Re: [Announce] modRana: a flexible GPS navigation system
 
installing 0.45.7....

MartinK 2014-04-16 22:58

Re: [Announce] modRana: a flexible GPS navigation system
 
modRana v0.46.1 has been released !

The two biggest highlights of this release are:
  • local search works again! :)
    Thanks to Geoff Kuenning, local search works yet again and now uses the the Places API provided by Google. Thanks a lot Geoff! :)

    BTW, I still plan to eventually add support for local search based on OpenStreetMap data (most probably using the Overpass API), but like this we have something that works until then. :)
  • improved tile handling
    Map drawing and tile download (both automatic and batch) have been improved and should be now faster and more efficient.

Known issues

That theme related map corruption bug has not yet been fixed.

Changelog:
Code:

* Wed Apr 16 2014 Martin Kolman - 0.46.1
- local search works again thanks to a patch provided by Geoff Kuenning - thanks a lot ! :)
- it is now possible to set local search radius in the GTK GUI (in options and directly in the search menu with a toggle button)
- map display and dragging should now be faster
- automatic map tile downloading has been rewritten and should be now more efficient
- batch tile download has been rewritten and improved - should be now more efficient and faster
- the tile handling code is now in much better shape overall
- the batch tile menu in GTK GUI no longer lags and has a more logical structure
- fix tile downloading not working in Sailfish GUI due to Python 3.4 breaking old bundled version of Urllib 3


petur 2014-04-17 09:04

Re: [Announce] modRana: a flexible GPS navigation system
 
Working great! Thanks for the local search fix!

Kossuth 2014-04-17 11:27

Re: [Announce] modRana: a flexible GPS navigation system
 
It seems that I cant download basic Google maps anymore (normal way, not batch download). Other Google maps and for example OSM works, but not basic Google maps. Already downloaded tiles show normally. Terminal give following errors

Code:

mapTiles: tile data returned by remote tileserver was not an image
layer:gmap z:12 x:2370 y:1121
tile url: http://mt1.google.com/vt/&x=12&y=2370&z=1121
NOTE: this probably means that the tileserver returned anerror page in place of the tile, because it doesn't like you
mapTiles: tile data returned by remote tileserver was not an image
layer:gmap z:12 x:2370 y:1120
tile url: http://mt1.google.com/vt/&x=12&y=2370&z=1120
NOTE: this probably means that the tileserver returned anerror page in place of the tile, because it doesn't like you

The urls return google errorpage about malformed request.

Edit: It may be that Modrana is requesting the tile in wrong order (X,Y,Z) and it should be (Z,X,Y). At least when I change the order in url, I get a map tile with my browser.


All times are GMT. The time now is 22:53.

vBulletin® Version 3.8.8