![]() |
Re: [Announce] modRana: a flexible GPS navigation system
An issue on Sailfish OS: volume buttons zoom the Modrana window instead of changing the volume, even when it's not the active application.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
http://modrana.org/images/python_mapnik/world.png I have encountered a couple of issues I had to fix before I was able to make the image: Mapnik requiring Property setter on Python 2.5 The Python 2.5 @property decorator does not have the setter yet. This can be faked around by overriding the Python 2.5 property with a newer one before importing the mapnik module: Code:
wget https://raw.githubusercontent.com/M4rtinK/modrana/master/core/backports/__init__.pyNext I was getting errors when trying to create the shape data source. From StackOverflow I've found this is caused by incorrectly configured Mapnik lib path. In my case it was expecting /lib/mapnik but the files were in /usr/lib/mapnik and I've fixed this by creating a symlink: Code:
# cd /libAlso even though both can be worked around, it should be possible to fix both at packaging level to make workarounds unnecessary. Offline map rendering in modRana WHEN ? Even though this is certainly a step in the right direction for offline map rendering in modRana, it will still take some time. :) The example I've tried is very basic and there might still be some breakage in other more advanced parts of Mapnik I have not tried out yet. And even more importantly I'll have to investigate what data source to use for usable offline map rendering. The example data source (a single shape file) and style are really simple, but for on the fly rendering on a high zoom level much more data and a much more complicated style will be needed. The data for offline map rendering also needs to be simple to obtain for modRana users. So quite a lot of interesting "challenges" all around. :) In short, this is moving in the right direction but will need some time. :) PS.: Thanks a lot to marmistrz yet again for the Mapnik port! :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Also, what do you mean by getting more clunky - do you mean it is getting slower if you are running it for extended periods of time ? Quote:
BTW, do you plan to use modRana to show geographic search results with your Saera port on Sailfish OS like back then with Saera on the N900? :) |
Re: [Announce] modRana: a flexible GPS navigation system
suing :eek: no no
on n900 it gets slow ofen mainly when left in background one improvment i have found is no tile download failures as of late . navigating menus is cubersome with up down arrows making them scrollable would be useful slider or double tap for fast zooming in out there should be a tile for map switching as its cubersome diving deep in the menu for it clicking on maps is not possible so most info from osm is not usable as in marble i can click anywhere and select adreess info same for google maps i.e bus stops and such names are not shown only icon ui style is nice but looks awful not complaining :d i am making a few icons in png if that helps anyway i think as mapink is progressing these issues can be dealt later on |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Alternatively some other way could be used until this is fixed, such as environmental variables or DBUS. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
https://github.com/llelectronics/vid...ideoPlayer.cpp |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I could use a custom C++ launcher, but that would mean another language in the mix (on top of Python and QML) and another platform specific thing to maintain, so I would like to avoid that if possible. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Is there any difference in performance? Some of my apps are pure QML (or QML+pyotherside), so I'd consider switching if it means better startup times. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
https://github.com/sailfish-sdk/libs...r/launcher.cpp |
| All times are GMT. The time now is 22:10. |
vBulletin® Version 3.8.8