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)

MartinK 2012-03-15 13:26

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

Originally Posted by Joseph9560 (Post 1179678)
I can see that Rana (on which modrana is based) actually uses vector data rather than tile data, any specific reason for modrana to use tile data while starting the port?

When I forked Rana in early 2010 (it was about 2 years dead at that point) map rendering was quite broken. It would just show a single place on the map and won't pan, it would zoom but in a weird way. The map was also fairly basic, just (main) roads on a dark-blue background.

So I disabled it, fixed tile loading and started to work on all other broken & missing features (POI, online routing, turn-by-turn navigation, batch tile download, map overlay & rotation, tracklog support etc).

The source code of the renderer (pyrender) is actually still inside modRana BTW. I took a quick look at the code after about two years - and it actually doesn't look that bad. If I understand it correctly it takes an *.osm file (it can even download the OSM data for given tiles), loads it to memory using an XML parser and then renders a set of predefined tags as points or (poly)lines. There seems to be even some support for textual labels. It uses Cairo or PIL (Python Imaging Library) as the drawing backend.

Looks like that it might be a quite good base for a simple map renderer + there is a lot of room for various optimizations (pre-filtering OSM files, marshaling/caching parsed XML data, QPainter backend,...). Any interested developers ? :)

When I'm at it, I'll also take a closer look at the Kothic realtime python map renderer.

MartinK 2012-03-15 13:58

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

Originally Posted by jafd (Post 1179600)
The countries are not a problem. But usually you don't want blank data right after the state border, that's the point.

Oh, now I get it - good point.

Quote:

Originally Posted by jafd (Post 1179600)
I also have this idea of using a clustered setup. I also don't want my Twisted knowledge to rust. The company I'm working at announced an R&D lab for noncommercial, spinoff and hobby projects, so maybe someday I would talk them into building the most efficient OSM rendering farm in the world.

Good luck! :)

Quote:

Originally Posted by jafd (Post 1179600)
Seeing demise of t@h, OTOH, I'm a bit skeptical about this one.

What actually happened with it ? A few days ago it just vanished...

Quote:

Originally Posted by jafd (Post 1179600)
I don't know a thing about layers. All tiles are single layer, with all details already burnt-in. The point is that in OSM default stylesheet has better contrast overall, and maps rendered with it have proper city/village/whatever boundaries rendered, which my maps don't.

Oh, sorry, it should have been "default layer" not "detail layer" - I really need to read more carefully what I write. :)

Quote:

Originally Posted by jafd (Post 1179600)
imposm, on the other hand, handles data much more efficiently on your average desktop/laptop hardware, my humble entry-level Thinkpad would crunch all of Europe in around 4 hours which is fast. The problem is, tables, tags and so on as produced by this tool, are totally different from what osm2pgsql provides.

So, in fact, I had to google "imposm osm.xml style compatible" and so on, getting irrelevant things at the top, until I've found OSM-bright and Carto. Then, the stylesheet produced makes what you see on the screenshot.

The OSM XML is so big that I don't have the faintest idea what to tweak so it would work.

Or maybe I would leave osm2pgsql running for a weekend with the latest Europe data, set up a cron job to incorporate differences as they flow in (osm2pgsql data allow this, imposm don't, AFAIK), and then render particular countries (so they have consistent data at the borders and so that anyone would be able to merge tilesets as he wishes).

Interesting ! :)



Quote:

Originally Posted by jafd (Post 1179707)
rendering would become so complex that your phone would die of overheating / battery drain very fast.

Well Navit manages realtime rendering from OSM data on quite lowend hardware, so it is in some way possible.

Quote:

Originally Posted by jafd (Post 1179707)
Another way is to use OSM data (maybe in PBF format) to do the same, but I'm wondering how much study one has to invest into it, and how efficient would it be in the end. Wouldn't it be that in addition to quite big OSM datafiles there would need to be an even bigger index to efficiently search for needed data fragments?

Thats how most offline rendering/routing programs do it - they take an *.OSM file as input and give a (efficiently indexed) binary file as output. I'm don't know much about OSM PBF, but even if it could not be directly used, it should at least speed up parsing speed quite nicely.

Quote:

Originally Posted by jafd (Post 1179707)
Tiles are simple, on the other hand, and straightforward. You don't need to muck around with projections all the time, resorting instead to simple Cartesian arithmetic.

I would say that one should probably start with with off-line tile rendering first anyway. But realtime map rendering can be also nice, for things like adaptive labels that are not inverted when the map layer is rotated (IMHO Nokia Maps does that, but their map is also quite basic though).

Quote:

Originally Posted by jafd (Post 1179728)
By some clever use of normalization and a few lines patch for ModRana I have been able to slim dataset for the whole of Poland with zoom level up to 15 and select cities up to 18, from 4792M to 4589M. That's the whole 203 megabytes less, with no performance

Nice ! If it's backward compatible, I can merge it in right away. :)

abubakar 2012-03-15 14:54

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

Originally Posted by MartinK (Post 1179574)
There are several thinks to try:
  • check general Internet connectivity - are sites in Microb loading, etc.
  • try another map layer, in Menu->Options->Map->Map Layers
  • turn off map overlay in Menu->Options->Map->Map overlay
  • if nothing of the above helps, try to delete/rename the file options.bin in /home/user/.modrana/
If even all of the above does not help, start modrana with:

Code:

modrana
And post/pastbin the output you get. :)

Hi, thanks for the reply, I have set main map and background map both as "google maps" and the tile appearing problem is now resolved. I will like to download these as offline so I have been trying to use the download feature, and its not working. On that screen where it says "total size of tiles is unknown (click to compute)" I tap the screen to start the calc process, it does start but never tells me the size, its always 0MB. Then if I tap the "Start" button for download, it always says "downloads failed".

MartinK 2012-03-15 16:03

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

Originally Posted by abubakar (Post 1179843)
Hi, thanks for the reply, I have set main map and background map both as "google maps" and the tile appearing problem is now resolved. I will like to download these as offline so I have been trying to use the download feature, and its not working. On that screen where it says "total size of tiles is unknown (click to compute)" I tap the screen to start the calc process, it does start but never tells me the size, its always 0MB. Then if I tap the "Start" button for download, it always says "downloads failed".

Unfortunately, Google doesn't really like batch downloading of their tiles and blocks tile downloads, if it detects too many requests in a short time.

jafd 2012-03-20 11:30

Re: [Announce] modRana: a flexible GPS navigation system
 
So, I managed to get speedup (not giving any numbers, I was too lazy to recheck) for generate_tiles.py which comes with mapnik.
First, I've made it save tiles directly to SQLite database.

Second, I've made it check if a tile already exists before attempting to render it.

Third, for each tile render request, an area of (x+8, y+8) more tiles is rendered and saved into SQLite. This is vital because in the stock renderer, where map was 256x256, a gutter of 128 pixels was used so that labels are not mispositioned, which gives us actually a 512x512 image, 75% of which is discarded.

Fourth, I poked around map stylesheet and changed all that crazy light gray on white coloring to black.

After filling the data up, the normalization is done as follows: tile_id (integer) is added to lookup, and it references the ROWID of tiles table in the store. x, y, z and other columns beside ROWID and tile are dropped from the store. Also, I've seen no use for timestamp column, and dropped it altogether. As for store filename, I made it "store number" and use it to calculate the filename, like 'store.sqlite.'||store_number. All backward compatibility is achieved by using views.

I think matters could be improved further by having map size table in the lookup database, which would be used to translate planar coordinates into linear ones, and use those linear ones to be the tile_ids. Maybe even dropping x and y columns as a result.

So, on my todo list:
1) Make generate_tiles.py accept input files which tell what coordinates at what zoom levels should be generated;
2) Try even more space optimization tricks;
2.5) As a part of this, I suspect that some areas are still needlessly rendered and sliced, so investigate, it would save a few days' work;
3) Put the tile generator on github for all to see;
4) The generation process is very long and boring, so use urwid to visualise the progress in some way. :)

By the way, the most time-consuming task is PNG encoding. Unfortunately, we cannot encode first, then slice. However, we can employ some parallelizing tricks, as this task is very multiprocessing-friendly.

jafd 2012-03-20 15:50

Re: [Announce] modRana: a flexible GPS navigation system
 
Some news from competition.

Installed MapDroyd on Android. They render vector data from some unbelievably efficient data files called MicroMap (http://www.onestepahead.de/index.php...omap&Itemid=62). Rendering is mindbogglingly fast. Maps take ridiculously little space. Borderlines look like sh*t at any zoom level: when far, they look like what you would draw on a whiteboard when asked to sketch a map of world. At close levels they look like what you would draw when asked to draw a map of world as precisely as you can with a pencil and no eraser.

Verdict: we still need ModRana on Android, like it or not.

MartinK 2012-03-22 12:28

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

Originally Posted by jafd (Post 1181894)
So, I managed to get speedup (not giving any numbers, I was too lazy to recheck) for generate_tiles.py which comes with mapnik.

Nice !

Quote:

Originally Posted by jafd (Post 1181894)
After filling the data up, the normalization is done as follows: tile_id (integer) is added to lookup, and it references the ROWID of tiles table in the store. x, y, z and other columns beside ROWID and tile are dropped from the store. Also, I've seen no use for timestamp column, and dropped it altogether. As for store filename, I made it "store number" and use it to calculate the filename, like 'store.sqlite.'||store_number. All backward compatibility is achieved by using views.

Well, I'd like to eventually use the timestamp column (or file modification date if tiles are stored as files) for batch-tile update, so it should be available in the main tile database/cache.

On the other hand, if we consider the concept of tile read only tile-packs, it makes sense to gut every redundancy and make them as small & and as fast to generate as possible.

How it could look like
  • each pack resides in the corresponding map layer directory, in its own folder, named with the "pack_" prefix, for example: "pack_poland"
  • in its folder it has the optimized lookup db and numbered stores
  • there are some additional meta-data (in a table in the lookup db or a separate file ?)
    • created timestamp as a Unix epoch
    • (approximate ?) bounding box (so that modRana knows which packs are relevant for the current fetch operation)
    • pack format version
    • other ?
  • modRana detects the tile pack and uses tries to fetch tiles in this order: pack/-s, main tile cache, download


Quote:

Originally Posted by jafd (Post 1181894)
So, on my todo list:
1) Make generate_tiles.py accept input files which tell what coordinates at what zoom levels should be generated;
2) Try even more space optimization tricks;
2.5) As a part of this, I suspect that some areas are still needlessly rendered and sliced, so investigate, it would save a few days' work;
3) Put the tile generator on github for all to see;
4) The generation process is very long and boring, so use urwid to visualise the progress in some way. :)

By the way, the most time-consuming task is PNG encoding. Unfortunately, we cannot encode first, then slice. However, we can employ some parallelizing tricks, as this task is very multiprocessing-friendly.

Looking forward to it! :)

Quote:

Originally Posted by jafd (Post 1181994)
Some news from competition.

Installed MapDroyd on Android. They render vector data from some unbelievably efficient data files called MicroMap (http://www.onestepahead.de/index.php...omap&Itemid=62). Rendering is mindbogglingly fast. Maps take ridiculously little space. Borderlines look like sh*t at any zoom level: when far, they look like what you would draw on a whiteboard when asked to sketch a map of world. At close levels they look like what you would draw when asked to draw a map of world as precisely as you can with a pencil and no eraser.

Verdict: we still need ModRana on Android, like it or not.

Its good to see that realtime map rendering is indeed quite doable. :) Unfortunately as even the map format is proprietary, there don't seem to be any directly usable components. :)

Still, there are quite a few open geodata storage formats already:
OSM Protocol Buffer Format
Navit binary format
Monav binary format
the old Rana binary format
McNavi binary format

Garmin reverse engineered binary format

Many of these formats seems to have the similar concept of binary map data tiles "tiles", probably to the same advantages normal graphical map tiles have (easy coordinates -> tile x,y conversion; easy access to neighboring data, parallel processing, etc.). Well, there was even a binary tile data server for Rana. :)

There are also data sets already available in some of these formats hosted online (for Navit, Monav, even McNavi).

jafd 2012-03-22 18:03

Re: [Announce] modRana: a flexible GPS navigation system
 
Crap, I just have wasted a week of time trying to re-render tiles with the new stylesheet.

Guess what, nowhere in Mapnik docs (nor in __doc__ strings) does it say that Mapnik.Image.view() should be given (x, y, width, height) and not (x1, y1, x2, y2).

So I assumed the latter and only now, when the database all of a sudden grew to 90G at zoom level 15, did my suspicions rise. I checked a tile, and it was 3 megs in size.

Hence. I was ultimately wrong about PNG encoding taking the most time. Rendering does take the most time, unless you let bugs into your code, like I did.

MartinK 2012-03-28 21:32

Re: [Announce] modRana: a flexible GPS navigation system
 
Short progress update :)
  • configuration file upgrade support done
  • confiuration files updated in regards to T@H quiting and OpenCycleMap url changing
  • qtmobility support is working
  • tile caching support for the QML GUI is about working, still doing some tweaking
  • preview packages coming hopefully in a few days

ModRana source code on Github
I have migrated the source code from SVN to a Github hosted Git repository:
https://github.com/M4rtinK/modrana

Pull requests & patches are welcome ! :)

NOTE: The TRAC on www.modrana.org is still fully functional and will be switched from SVN to a Git mirror of the Github repository in the coming days.

Where to submit new issues/bugreports/feature requests ?
I'll be watching both modrana.org and the Github issue pages. Please try not to post duplicates or at least link to the relevant issues on the other site. :)

skykooler 2012-03-29 14:32

Re: [Announce] modRana: a flexible GPS navigation system
 
Hooray! I have an N900 again and installed ModRana on it! It has come a long way. I do have a suggestion: when you search for POIs and you select one, there should be a "Route to Here" button on there, rather than having to go through two more layers of menus.

MartinK 2012-03-29 23:51

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

Originally Posted by skykooler (Post 1185612)
Hooray! I have an N900 again and installed ModRana on it! It has come a long way. I do have a suggestion: when you search for POIs and you select one, there should be a "Route to Here" button on there, rather than having to go through two more layers of menus.

To the result list or to the result detail ? :)

BTW, in the new QML UI, I plan to reduce the number menu layers you have to go through to access the search functionality. Basically just:
menu->search
Then you enter the query & get results to a scrollable list under the entry box (sou you can easily tweak the query). Clicking a result will open a detail page with further info & options.

modRana theme & icon source on GitHub
Source files for the modRana default theme and icons are now also available on Github. :)

MartinK 2012-04-01 08:44

Re: [Announce] modRana: a flexible GPS navigation system
 
8-bit map support
To keep up with the cutting edge, modRana now supports the brand new 8-bit map format.

http://modrana.org/images/april_fool...t_portrait.jpg
Portrait
http://modrana.org/images/april_fool..._landscape.png
Landscape

petur 2012-04-01 10:38

Re: [Announce] modRana: a flexible GPS navigation system
 
to be honest, the URL was a bit of a give-away ;)

Joseph9560 2012-04-05 03:04

Re: [Announce] modRana: a flexible GPS navigation system
 
Any plan to implement the actual bus routing? Meaning listing the buses/its route number while routing for bus and not the left right direction as in car mode.

skykooler 2012-04-05 15:22

Re: [Announce] modRana: a flexible GPS navigation system
 
MartinK, is that the new QT UI?

MartinK 2012-04-05 18:17

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

Originally Posted by Joseph9560 (Post 1188224)
Any plan to implement the actual bus routing? Meaning listing the buses/its route number while routing for bus and not the left right direction as in car mode.

If I can find a reliable source for such data then why not. At least recently Google didn't provide such data as a part of their public API but that might have changed or another provider might have done it.

Quote:

Originally Posted by skykooler (Post 1188440)
MartinK, is that the new QT UI?

Yep - the base (map view + tile handling & main menu) is already working quite nicely. There are not many other features at the moment, but that should change quite quickly as most of the needed preparatory backend work is done.

I'm also about finished with my rewritten automated packaging scripts so initial preview packages should really available any day now - and then in regular intervals afterwards. I'll be making a combined package with both the classic GTK & the new QML GUI for Fremantle and a QML only package for Harmattan.

Joseph9560 2012-04-06 22:39

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

Originally Posted by MartinK (Post 1188520)
If I can find a reliable source for such data then why not. At least recently Google didn't provide such data as a part of their public API but that might have changed or another provider might have done it.

Thats too bad. :cry

MartinK 2012-04-07 11:56

Re: [Announce] modRana: a flexible GPS navigation system
 
New modRana preview package for Fremantle & Harmattan available for testing ! :D

After sorting quite a few last minute issues, preview packages for the new modRana version - 0.30 - are finally available. Initially I'll be releasing stand-alone packages at first and push a release to Extras once any serious issues are found & fixed. Please report any issues you encounter, so that they can be fixed quickly! Also please report your modRana version when submitting a report (menu->info->about). :)


Where can I get it ?
The deb packages packages are available from two separate OBS repositories, one for Fremantle and one for Harmattan:
Fremantle repository
Harmattan repository

Both packages are build by a script from the modRana source on Github, so the current package version could change quite often as I fix bugs & add features. Also please note that the packages might be a bit cutting edge - some breakage can occur from time to time.

Installing the Fremantle package
First install dependencies using apt-get (you need to be root for this):
Code:

apt-get install python-qtmobility12 python-pyside.qtgui python-pyside.qtdeclarative qt-components-10 espeak python
Then download & install the modRana package. After installation, a new "modRana-qml" icon should show up in the navigation section. This icons launches the new Qt/QML modRana GUI. The "modRana" icon launches the classic GTK GUI.
To launch the different GUI from the CLI, use modrana-gtk or modrana-qml respectively.

Installing the Harmattan package
First install dependencies using apt-get (you need to be root for this):
Code:

apt-get install python-pyside.qtgui python-pyside.qtdeclarative python-qtmobility
Then download & install the modRana package. After installation, modRana icon should show up among the other icons. To run modRana from the CLI, use this command (if the package wants to be Ovi store compatible, it should put files to /usr/bin):
Code:

sh /opt/modrana/run/harmattan
Once the Qt/QML GUI reaches feature parity with the classic interface, I'll push a release to Apps for MeeGo and Ovi store.
As there is currently no usable GTK port for Harmattan, only the QML GUI is available on Harmattan.

General improvements
  • much faster tile loading due to correct user agent :D
  • connection reuse for automatic tile download
  • Harmattan support !
  • default theme improvements
  • multi-GUI support, obviously :)
  • automatic configuration file update support
  • map layer updates
  • removed dependency on libmagic
  • a tileserver module
  • various backend improvements

Qt/QML GUI
There isn't that much functionality at the moment, but the cornerstones - the main map view & main menu are already working rather nicely. More features should be coming quickly as most of the preparatory work has been already done. Also, please let me know what do you think about the current map view & menu layout ! :)

GTK GUI
The classic GTK GUI should work just fine & better than previously, mainly due to various backend improvements. Please report any regressions !

I love modRana ! Where can i donate ?
Use the paypal donation link, thanks in advance ! :)

I'm a developer and want to submit a patch !
Fork modRana on github, add your modifications and send me a pull request - as easy as that ! :) Classic methods (patch-in-email, etc.) are of course also accepted. :)

MartinK 2012-04-08 12:54

Re: [Announce] modRana: a flexible GPS navigation system
 
Continuing with the rolling release :)

V0.30.28
  • correct handling for zero length tracklogs
  • downloading tiles along a tracklog now works again
  • track logging works again

rotoflex 2012-04-08 13:19

Re: [Announce] modRana: a flexible GPS navigation system
 
Installation notes for N900:
Code:

root
Nokia-N900:~# apt-get python-qtmobility12, python-pyside.qtgui, python-pyside.qtdeclarative, qt-components-10, espeak, python

E: Invalid operation python-qtmobility12,

also

Code:

apt-get install python-qtmobility12, python-pyside.qtgui, python-pyside.qtdeclarative, qt-components-10, espeak, python

(Reading package lists, Building dependency tree, Reading state information, etc.)

E: Couldn't find package python-qtmobility12,


MartinK 2012-04-08 14:47

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

Originally Posted by rotoflex (Post 1189715)
Installation notes for N900:
Code:

root
Nokia-N900:~# apt-get python-qtmobility12, python-pyside.qtgui, python-pyside.qtdeclarative, qt-components-10, espeak, python

E: Invalid operation python-qtmobility12,

also

Code:

apt-get install python-qtmobility12, python-pyside.qtgui, python-pyside.qtdeclarative, qt-components-10, espeak, python

(Reading package lists, Building dependency tree, Reading state information, etc.)

E: Couldn't find package python-qtmobility12,


Oh, now I see it, thanks ! :) I took the dependencies directly from the package description, where they are delimited by commas - they are of course delimited by whitespace in apt-get. So this is the correct command (I have also updated the release post):
Code:

apt-get install python-qtmobility12 python-pyside.qtgui python-pyside.qtdeclarative qt-components-10 espeak python

Joseph9560 2012-04-10 04:59

Re: [Announce] modRana: a flexible GPS navigation system
 
-Change the title from modrana.py to Modrana or something.
-While not in full screen the lower row of icons (Menu, Zoom in/out) goes below the screen edge.
-Map layer names are variable namish rather than user friendly names (gsat instead of usual Google Satellite), Title is also not proper yet.

Thanks for mock up. Implemented stuffs seems to work fine!

Btw what is the short horizontal line at upper right end?

romanianusa 2012-04-10 05:33

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

Originally Posted by MartinK (Post 1189739)
Oh, now I see it, thanks ! :) I took the dependencies dirrectly from the pacage description, where they are delimited by commas - they are of course delimited by whitespace in apt-get. So this is the correct command (I have also updated the release post):
Code:

apt-get install python-qtmobility12 python-pyside.qtgui python-pyside.qtdeclarative qt-components-10 espeak python

Still show "Couldn't find package python-qtmobility12"

bipinbn 2012-04-10 06:05

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

Originally Posted by romanianusa (Post 1190302)
Still show "Couldn't find package python-qtmobility12"

same here.. i have all the repos enabled

don_falcone 2012-04-10 07:57

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

Originally Posted by MartinK (Post 1189239)
Where can I get it ?
The deb packages packages are available from two separate OBS repositories, one for Fremantle and one for Harmattan:
Fremantle repository
Harmattan repository

Should there be any difference? I think you wrote the same path for both repositories. And i can't find anything else under "modrana:/modrana-fremantle/" than the Harmattan target.

MartinK 2012-04-10 12:10

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

Originally Posted by Joseph9560 (Post 1190292)
-Change the title from modrana.py to Modrana or something.

Done. :)

Quote:

Originally Posted by Joseph9560 (Post 1190292)
-While not in full screen the lower row of icons (Menu, Zoom in/out) goes below the screen edge.

Yeah, I noticed that too. I'll investigate whats causing it (probably the QML viewport in Fremantle not being notified of its size changing or something).

Quote:

Originally Posted by Joseph9560 (Post 1190292)
-Map layer names are variable namish rather than user friendly names (gsat instead of usual Google Satellite), Title is also not proper yet.

Done. :)

Quote:

Originally Posted by Joseph9560 (Post 1190292)
Thanks for mock up. Implemented stuffs seems to work fine!

Btw what is the short horizontal line at upper right end?

That should be the scale indicator - looks like the label (5km etc.) does not show up for some reason.

Quote:

Originally Posted by romanianusa (Post 1190302)
Still show "Couldn't find package python-qtmobility12"

Quote:

Originally Posted by bipinbn (Post 1190308)
same here.. i have all the repos enabled

The package is in Extras-devel repository - check if you have it enabled.

Quote:

Originally Posted by don_falcone (Post 1190324)
Should there be any difference? I think you wrote the same path for both repositories. And i can't find anything else under "modrana:/modrana-fremantle/" than the Harmattan target.

There is AFAIK no working Fremantle target on the (C)OBS so I just use the Harmattan target for both. As modRana is written in Python and nothing is actually being compiled, its not a problem. :)

The packages just have different startup scripts, icons and desktop files. Also the Harmattan package is build with Aegis support - otherwise modRana would not be able to use GPS on the N9/N950.

romanianusa 2012-04-12 06:34

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

Originally Posted by MartinK (Post 1190381)



The package is in Extras-devel repository - check if you have it enabled.


.

I'll never be able to install Modrana again. It shows error: "Your system has broken packages or you are trying to install conflicting packages."

I try uninstall the old version and try to upgrade to 0.29-2.....can't do it. Or reinstall everything over ...won't work either.

Extras-devel is enable.

MartinK 2012-04-14 14:23

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

Originally Posted by romanianusa (Post 1191056)
I'll never be able to install Modrana again. It shows error: "Your system has broken packages or you are trying to install conflicting packages."

I try uninstall the old version and try to upgrade to 0.29-2.....can't do it. Or reinstall everything over ...won't work either.

Extras-devel is enable.

Looks like broken package management on your device. Sometimes it can be fixed by running this command as root:
Code:

apt-get install -f
It tells the package manager to try to get the system back to a working state.

romanianusa 2012-04-16 03:07

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

Originally Posted by MartinK (Post 1192041)
Looks like broken package management on your device. Sometimes it can be fixed by running this command as root:
Code:

apt-get install -f
It tells the package manager to try to get the system back to a working state.

Thanks. It works now.

jah25 2012-04-20 13:42

Re: [Announce] modRana: a flexible GPS navigation system
 
Hi MartinK, I'm trying to install modRana on my N9 but even after making sure I have the up-to-date python dependencies you listed it is still failing installation and claims to not have found all of the dependencies. Is there something I'm leaving out? I used to use your app all the time on my N900 so thanks for all your work!

MartinK 2012-04-20 15:55

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

Originally Posted by jah25 (Post 1194861)
Hi MartinK, I'm trying to install modRana on my N9 but even after making sure I have the up-to-date python dependencies you listed it is still failing installation and claims to not have found all of the dependencies. Is there something I'm leaving out? I used to use your app all the time on my N900 so thanks for all your work!

It is still possible I left out some dependency - you quite quickly loose track of what is installed by default and what isn't on an N900 used for development. :)

Can you post the terminal output you are getting during the installation ?

Also, check if you have Extras & Extras-devel enabled. :)

jah25 2012-04-23 22:13

Re: [Announce] modRana: a flexible GPS navigation system
 
Here's what i got, looks like maybe i need to incest the program to get around aegis?

/MyDocs/.downloads $ dpkg -i modrana_0.30.31_a
rmel.deb
dpkg: requested operation requires superuser privilege
aegis-installing modrana (from '')
accli.cpp(1449): ERROR: cannot sign '/var/lib/aegis/restok/restok.conf.new' (Operation not permitted)
Creating new signed '/var/lib/aegis/restok/restok.conf' failed
~/MyDocs/.downloads $

MartinK 2012-04-23 22:27

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

Originally Posted by jah25 (Post 1196715)
Here's what i got, looks like maybe i need to incest the program to get around aegis?

/MyDocs/.downloads $ dpkg -i modrana_0.30.31_a
rmel.deb
dpkg: requested operation requires superuser privilege
aegis-installing modrana (from '')
accli.cpp(1449): ERROR: cannot sign '/var/lib/aegis/restok/restok.conf.new' (Operation not permitted)
Creating new signed '/var/lib/aegis/restok/restok.conf' failed
~/MyDocs/.downloads $

Looks like you are not root when running this command.
Try to first become root by running this command:
Code:

devel-su
It asks for password, which should be "rootme" IIRC by default.

Also, you might need to enable the developer mode. :)

BTW, as soon there is a usable feature set in the QML version, I'll push it to AFM & Nokia Store (Ovi). :)

jah25 2012-04-24 00:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Ok, so I thought I was root but now I've sorted that and here's where it gets stuck, seems like dependencies that i can't find in my repos. Not sure how to add maemo extras-development etc but I'll look into it. Thanks for the swift responses!

/home/user/MyDocs/.downloads # dpkg -i modrana_
0.30.31_armel.deb
aegis-deb-release: Missing ':' in ' b27838cd7450c6f10d39ce9491ec20a1 756954 free/source/Sources
d91852b967d8dbeab6248c6f1556405c 224347 free/source/Sources.gz
144e299a324fedc82763cb3ddfacadd1743cd7ed 756954 free/source/Sources
44afe3219b48edd1fe357726716df2e02dcf4759 224347 free/source/Sources.gz
c3ca448e424cefa1c2f1468847a2230fccea9ef3afafcb5cd9 27cd99914e8cea 756954 free/source/Sources
f507ece4b736634f52ef579e5742313df4ba1b19da1f9483f8 bb2e214e578690 224347 free/source/Sources.gz
'
(Reading database ... 53359 files and directories currently installed.)
Preparing to replace modrana 0.30.31 (using modrana_0.30.31_armel.deb) ...
Unpacking replacement modrana ...
aegis-installing modrana (from '')
dpkg: dependency problems prevent configuration of modrana:
modrana depends on python-qtmobility12; however:
Package python-qtmobility12 is not installed.
modrana depends on qt-components-10; however:
Package qt-components-10 is not installed.
dpkg: error processing modrana (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
modrana
/home/user/MyDocs/.downloads #

MartinK 2012-04-24 08:00

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

Originally Posted by jah25 (Post 1196767)
Ok, so I thought I was root but now I've sorted that and here's where it gets stuck, seems like dependencies that i can't find in my repos. Not sure how to add maemo extras-development etc but I'll look into it. Thanks for the swift responses!

I found the cause - the link to the Harmattan repository in the preview-release post was pointing to the Fremantle repository by mistake. This is the correct repository for the Harmattan package. I have also fixed the release post. :)

Wikiwide 2012-05-14 03:31

Re: [Announce] modRana: a flexible GPS navigation system
 
1 Attachment(s)
Just a short message.
ModRana remembers visible tracklogs after restart, but not visible points-of-interest. It's tedious to make them visible again and again. So I added a small feature: to show all points-of-interest. I would have liked to see something similar in the next version.
Thank you. ModRana remains the most comfortable and versatile navigation tool for me.

MartinK 2012-05-14 13:55

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

Originally Posted by Wikiwide (Post 1206307)
Just a short message.
ModRana remembers visible tracklogs after restart, but not visible points-of-interest. It's tedious to make them visible again and again. So I added a small feature: to show all points-of-interest. I would have liked to see something similar in the next version.
Thank you. ModRana remains the most comfortable and versatile navigation tool for me.

Thanks, seems like a good idea ! :) I have integrated your patch - there is now a show all button in the POI menu. :)

Preview packages should be available in a few minutes & and I'm also almost ready for an Extras release.

MartinK 2012-05-14 19:18

Re: [Announce] modRana: a flexible GPS navigation system
 
I worked a bit more on POI handling - modRana now saves visible POI and restores them at startup. :)

BTW, this is the changelog for the preview package so far:
Code:

* initial QML GUI
* faster tile download
* fix track logging
* correctly handle zero-length tracklogs
* fix download-along tracklog
* fix screen redrawing in GTK GUI
* show proper window header in QML GUI
* better layer selection dialog in QML GUI
* fix point selection in P2P routing in GTK GUI
* fix appearance of point selection buttons in GTK GUI
* link to the whole Wikipedia article can be opened from modRana in GTK GUI
* clickable links for the About screen in GTK GUI
* fix listable menu for Wikiepdia search results
* make-all-POI-visible button, thanks Wikiwide !
* improved About menu in QML GUI
* save & restore visible POI


MartinK 2012-05-14 22:44

Re: [Announce] modRana: a flexible GPS navigation system
 
ModRana V0.31.1 is now in Extras-devel. :)
V0.31.3 fixes broken link opening when Opera is installed.

petur 2012-05-15 16:12

Re: [Announce] modRana: a flexible GPS navigation system
 
Just upgraded to 0.31.3 and in centered view I get no maps just grey background. Once I drag the map shows. Buttons and icons show fine.


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

vBulletin® Version 3.8.8