Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#451
Originally Posted by romanianusa View Post
Originally Posted by Wikiwide View Post
It doesn't show up offline because it is not in correct folder.

/home/user/MyDocs/.maps/Google Maps/zoomlevellike16or18/x/y.png
Why are u giving me that location....are you sure that's the correct location? I am asking you to give me a location for the map and you're giving me a picture file?
I have downloaded Google Maps into Modrana and saw them here so the location is correct.

Explanation: zoomlevellike16or18 is actually a number between 1 and 20.
x is actually a number anywhere between 1 and 999999, depends on zoom level and longitude.
y is actually a number anywhere between 1 and 999999, depends on zoom level and latitude.

So, you might have:
/home/user/MyDocs/.maps/Google Maps/1/1/1.png
/home/user/MyDocs/.maps/Google Maps/2/1/1.png
/home/user/MyDocs/.maps/Google Maps/2/1/2.png
/home/user/MyDocs/.maps/Google Maps/2/2/1.png
/home/user/MyDocs/.maps/Google Maps/2/2/2.png
etc.

The GMapCatcher (I haven't used it) has folders sat_tiles, ter_tiles, hyb_tiles, tiles, you say? Choose one of them ('tiles') and look inside it. Most likely, it has structure
tiles/zoomlevellike16or18/x/y.png

If so, then it will be easy to move the folder (/home/user/MyDocs/.maps/tiles) and rename it (/home/user/MyDocs/.maps/Google Maps).
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post:
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#452
Originally Posted by MartinK View Post
ModRana stores all map data in .MyDocs/.maps and shares the tile images with Mappero and Maep. If you enable sqlite storage in modRana, it currently does not share the database with anybody - I have designed the database to be easily shared with other programs but no other software has implemented it yet.
Do you have any documentation available for this sqlite map database strategy, or is currently the only documentation for this in the source code?
The documentation could be there http://nlp.fi.muni.cz/trac/gps_navig...EN#Datastorage

Last edited by zimon; 2011-01-04 at 17:40.
 

The Following User Says Thank You to zimon For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#453
Originally Posted by zimon View Post
Do you have any documentation available for this sqlite map database strategy, or is currently the only documentation for this in the source code?
The documentation could be there http://nlp.fi.muni.cz/trac/gps_navig...EN#Datastorage
I have made a rough descrbtion in this post, but you are right that proper documentation is in needed, so I have copypasted content of the post to the data storage wiki page so that it's more accessible and easier to update or extend as needed. Or just ask when you find something thats documented wrongly/not enough/not at all

BTW, quick progress update

I have quite a few features in semi complete state:
  • stop redrawing when minimized or when the screen is blanked
  • a simple heuristics that seems to fix the problem with rerouting while moving (in all the cases I have tested, at least...)
  • initial theming support (per theme folders, switching themes without rebooting, per theme color definitions)
  • hiding the navigation info box into a button and next/previous turn on-screen buttons
I'll have to put some finishing touches and do some testing, but a new major version (0.21) should be coming shortly.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2011-01-09 at 13:17. Reason: fix wrong next version number 0.22->0.21
 

The Following 7 Users Say Thank You to MartinK For This Useful Post:
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#454
I tested out Modrana offline....obviously i can route it ONCE with the use of internet initially and can take on the trip and will have to stick with that route already calculated. So without internet, i can not do re-routing which is understandable.

But the problem i have is that this program doe not give me the closest route to my destination. For example, while driving to work, i use local way and it's much faster, but Modrana tells me to use freeway which is a long drive....no way!! There ought to be options for closest route or some other method as i am sure most GPS have that option.
 

The Following User Says Thank You to romanianusa For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#455
Originally Posted by romanianusa View Post
I tested out Modrana offline....obviously i can route it ONCE with the use of internet initially and can take on the trip and will have to stick with that route already calculated. So without internet, i can not do re-routing which is understandable.

But the problem i have is that this program doe not give me the closest route to my destination. For example, while driving to work, i use local way and it's much faster, but Modrana tells me to use freeway which is a long drive....no way!! There ought to be options for closest route or some other method as i am sure most GPS have that option.
Are you sure Google Maps know local ways in your region?
Modrana takes routing from Google.
 

The Following User Says Thank You to Wikiwide For This Useful Post:
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#456
Originally Posted by Wikiwide View Post
Are you sure Google Maps know local ways in your region?
Modrana takes routing from Google.
I don't know about Google Maps knowing local. I tested on Google.com w/ map and found it gives me the same route using freeway. I found out that using freeway is 2miles longer than if using local. I actually turn off highway in Modrana and found that it gives me local in a different way which i don't take but still it'll be nice to have different routing options.
 

The Following User Says Thank You to romanianusa For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#457
Originally Posted by romanianusa View Post
I don't know about Google Maps knowing local. I tested on Google.com w/ map and found it gives me the same route using freeway. I found out that using freeway is 2miles longer than if using local. I actually turn off highway in Modrana and found that it gives me local in a different way which i don't take but still it'll be nice to have different routing options.
Please note that modRana takes current mode into account when searching for routes. This means that for example in "car" mode (indicated by a car icon) routes suitable for cars are looked up, in "walk" (indicated by an icon of two people walking) mode modRana searches for pedestrian routes, etc. You can switch current mode from main menu under the mode button.

BTW, in options->Online routing you can set if modRana should try to avoid major highways or toll roads when asking Google for route.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following User Says Thank You to MartinK For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#458
Well, modRana V0.21-1 has been finally released!

Whats new ?
  • no background redrawing - modRana now stops redrawing once the screen is blanked or the window is minimized
    this should lower battery usage and might possibly help against the infamous freeze issue
  • initial support for themes
  • text on buttons is now centered
  • a simple heuristics that should fix the annoying "navigation wont start if routing while moving" bug
  • the navigation info box can be now hidden by pressing the "hide" button in its upper left corner
  • on screen buttons for switching to previous/next turns

How does the new theming system work ?
Themes go to /opt/modrana/themes, each theme has its own folder and the folder name is currently displayed as name of the theme. There are two pre-installed themes, default and night.

How does icon lookup work ?
ModRana first looks to the current theme folder, if it cant the find the icon it looks after, it looks to the default theme folder. If there is no suitable icon in both current theme folder and default theme folder, a generic rectangular icon is used.

How to set colors of the the cairo drawn interface elements ?
Each theme can have a theme.conf file in its folder, which configures per theme specific variables (currently only colors). This is how the themes.conf from the default theme looks like:
Code:
## this is a modRana theme configuration file
## (for the "default" theme)
## intended usage is for configuring per theme visual variables
##
## nesting is indicated by number of []
##
## everything that starts with at least one # is a comment


## ** Color config start ** ##

## dont forget to enclose the color information to parentheses
## color names as specified in the X11 rgb.txt can be also used
## the float value after the color string is the alpha/tranpsarency value of the color

[colors]
main_fill="#92aaf3",1.0
main_outline="#3c60fa",1.0
main_text="#00004d",1.0
widget_background="#0000ff",0.45
widget_text="#ffffff",0.95
navigation_box_background="blue",0.30
navigation_box_text="white",1.0
center_button_circle ="#0000ff",0.45

## ** Color config end ** ##
As with icons, colors that are not found in current theme.conf are loaded from the theme.conf in default theme folder.

Do I need to override all icons and colors present in the default theme ?
This is not needed as there are automatic default for all unspecified icons and colors sou you can just override a subset of the icons/colors. The night theme for example only has a theme.conf file overriding color setting but no custom settings at all.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 10 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#459
I tried the "car" mode the other day, and I couldn't quite understand what those [activate a track to show time to start] and [activate a trck to show time to dest] boxes mean. What does it mean to "activate a track", if track drawing is ON anyway already?

I accidentally hit the [reroute] box several times. I think it would be better if reroute-button would be behind [route-info] button. Also one could be able to toggle the routing next turn info box on and off visible from behind [route-info] easily.

Possibility to silence the voice instructions by a toggle button behind [route-info] would be nice also. I had to keep fingers blocking the loudspeakers when I was testing so it doesn't talk and bother other people (I was on a back seat). Turning the volume down didn't help. Could be also a setting there were the language is selected. "Use voice on/off."

Planned route drawing line is top of the current track line. I think the current track should be drawn on top so we would see where we are and where we have come from better.
 

The Following 2 Users Say Thank You to zimon For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#460
Any chance of a Clutter-based UI coming soon? I love modrana, but dragging the map just feels slow.
 

The Following 3 Users Say Thank You to skykooler For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 08:45.