Active Topics

 



Notices


Reply
Thread Tools
Posts: 328 | Thanked: 72 times | Joined on Oct 2010 @ Venezuela
#841
does modrana download maps automatically, where can i find the database of maps for this app?
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#842
Originally Posted by carlon View Post
does modrana download maps automatically, where can i find the database of maps for this app?
yes, it can download maps on-the-fly. It can get them from multiple sources (openstreetmap, google, ...)
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 

The Following User Says Thank You to petur For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#843
Originally Posted by carlon View Post
where can i find the database of maps for this app?
If you go to Settings > Map or Map overlay (which uses two map sources to mix them together) you can see which maps modRana can access online and download.
 
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#844
Originally Posted by petur View Post
Done for Dutch (Belgium & The Netherlands)
Thanks !

Originally Posted by 白い熊 View Post
... moment you implement offline routing...
I actually already played with the Monav Python bindings a bit, but just got a bunch of errors. I'll try to compile a more recent version if it is still broken fill a bug. Also, any help with figuring how to get this working (eq. to a state I pass it 2 coordinates + path to the routing data and it returns a route description) is much appreciated!

Originally Posted by don_falcone View Post
Btw Martin, i checked a bit of the source last night. Some questions:

1) /opt/modrana/os.path seems like Postscript or something? What's this file for?
I have absolutely no idea. I'd say that due to its name it might be related to the recent rewrite of modRana code to properly use os.path.join in place of simple string concatenations, but how imagemagick got involved... Maybe some transient path screwup during the rewrite caused it to be copied from some other directory ?

Originally Posted by don_falcone View Post
2) /opt/modrana/nbproject/project.properties lists "platform.active=Python_2.6.6"
As far as i remember, Python 2.6 was a bit of a break compatibility-wise, was it? We have no official 2.6 on the N900; so does make it any difference if you develop with 2.6 under NetBeans instead of 2.5?
Looks like there no (official) Python 2.5 anymore Ubuntu Natty which I use for development. I'm aware of the differences (no built in ordered dict, where needs to be imported from __future__, less collections, more flacky sqlite without extension support, etc.) and I also test on my N900 a lot, using a simple rsync + run script.

Originally Posted by don_falcone View Post
3) the theme.conf lists only the icons and the colors. What i also try to achieve is, changing the layout / the shape of the rounded "button" / "info" tiles. which file in /opt/modrana/modules/ is responsible for this?
The rounded icon backgrounds are generated at runtime, cached and drawn from cache.
Module that handles this is called mod_icons.py
excertp from documentation for the getCustomIconMethod:
Code:
there are five positional parameters:
fill color,fill opacity, outline color, outline opacity,
outline width (default 8) and corner radius (default 22)
to use default value, just don't fill in the positional parameter
( len(parameter) == 0 )
USAGE:
corner radius: default=22, 0 does right angle corners

EXAMPLE: generic:green;1.0;blue;0.5;10;15
The positional parameters create a unique hash that is used as a key in the icon cache.

ModRana also supports creating icons from multiple layers (both parametric and image based), using the > operator:
Code:
icon specifications are separated by >,
which should be seen as a pointing arrow in this context
we composite top -> down,
for example: "icon1>icon2"
icon1 will be drawn over icon2
For examples how this is used "in action" look in mod_turnByTurn.py into the drawScreenOverlay method.

BTW, it might be good to make also the default icon shape themable.
__________________
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-08-11 at 12:18.
 

The Following 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 328 | Thanked: 72 times | Joined on Oct 2010 @ Venezuela
#845
hey guys i'm having some problems viewing the map, in fact, all i see is a blank screen.
i start the program up and it shows several tiles marked loading and the gps icon flashing, and it stays this way for quite some time, however when i check Mydocs/.maps i can see some maps of my country there.
what am i missing??
 

The Following User Says Thank You to carlon For This Useful Post:
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#846
I donated to modRana a few weeks back and I was quite shocked to recieve a pretty awesome postcard in the post yesterday from Martin thanking me, that's cool dude!

I've never had that sort of personal response from donating to a project before.

Thanks a lot Martin!
 

The Following 5 Users Say Thank You to jd4200 For This Useful Post:
Posts: 47 | Thanked: 12 times | Joined on Jun 2011
#847
Is this app downloading maps, or I need to manually put them in .maps folder? Is there any way to forbid downloading maps (cuz 3G is expensive in my country) and to manually add maps?
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#848
Originally Posted by 白い熊 View Post
Not fixed, Unicode characters still displayed as boxes...
It works for me
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#849
Originally Posted by Necrofenser View Post
Is this app downloading maps, or I need to manually put them in .maps folder? Is there any way to forbid downloading maps (cuz 3G is expensive in my country) and to manually add maps?
You can do either/both. There are settings for it. I only have 2.5G here, IF I'm in a signal area. I usually download tiles via wifi for area's I'm normally at, and then just use the cached tiles when out on the road.
 

The Following User Says Thank You to woody14619 For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#850
Originally Posted by kureyon View Post
It works for me
Hmm, is there some dependency on fonts or something, i.e. that I don't have some system font installed which modRana uses to display CJK?

I still have the old behavior, i.e. see the Kanji when selecting the POI, but then when it's displayed on the map, the POI name is just boxes...
 
Reply

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


 
Forum Jump


All times are GMT. The time now is 05:14.