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)

petur 2011-08-16 08:24

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

Originally Posted by woody14619 (Post 1070496)
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.

Wow... I have mine forced to 2.5G unless I really need faster, 3G and WiFi eat too much battery. And for me 2.5G is perfectly capable in downloading tiles as I drive. This may explain my suggestion to start downloading tiles a bit earlier (zone right outside the display) as there is a short moment where a bit of blue/green tile shows up.

kureyon 2011-08-17 06:06

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

Originally Posted by 白い熊 (Post 1070981)
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?

Here is a quick grep of dpkg -l for "font" and "ttf"

Code:

chinese-font      1.3.0-1                          Chinese Font supporting
defoma            0.11.7osso                        Debian Font Manager -- automatic font configuration framework
eff-content-fonts 1.0-6                            Fonts for the content on OSSO platform.
fontconfig        2.6.0-1osso1+0m5                  generic font configuration library
gsfonts          1:8.11+urwcyr1.0.7~pre43-1-maemo1 Fonts for the Ghostscript interpreter(s)
libfontconfig1    2.6.0-1osso1+0m5                  generic font configuration library (shared library)
libfontenc1      1:1.0.4-2                        X11 font encoding library
libfreetype6      2.3.9-1osso2+0m5                  FreeType 2 font engine, shared library files
libxfont1        1:1.3.2-1maemo2+0m5              X11 font rasterisation library
libxft2          2.1.12-2osso2.cs2007q3+0m5        FreeType-based font drawing library for X
ttf-droid        1.01-dfsg0maemo3                  Font, used by Google's Android, with extensive style and language support
ui-fonts          3.1-2+0m5                        Fonts for the User Intefrace.
libsdl-ttf2.0    2.0.9-1osso1+0m5                  ttf library for Simple DirectMedia Layer with FreeType 2 support
ttf-droid        1.01-dfsg0maemo3                  Font, used by Google's Android, with extensive style and language support

Quote:

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...:(
Are you sure you have the latest version ;) (mine reports v0.28-2)

don_falcone 2011-08-17 07:36

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

Originally Posted by carlon (Post 1068606)
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??

What do you mean by "some maps of my country"? Currently i have those directories:
GoogleVector
OpenStreetMap I

Directory used depends on the renderer used.

Are there subdirectories containing .png tiles or something else? For example, OSM (Open Streetmaps) use one directory for each layer (0-18), and then further subdirectories for tile IDs.

GPS fix takes often a long time, if you do not use network assisted position and/or moved some distance since the last position updated.

If the receiver did not have a fix by now, you won't have the position to load the tiles for, neither from network (on demand) nor from disk cache, regardless if there's anything on disk already.

白い熊 2011-08-18 15:00

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

Originally Posted by kureyon (Post 1071573)
Here is a quick grep of dpkg -l for "font" and "ttf"
Code:

chinese-font      1.3.0-1                          Chinese Font supporting
[/CODE]

Thought it might be the chinese-font, as I had uninstalled it. Installed it again, but no change.

In the POI list, I see the proper kanji, in the POI info see the large POI name in kanji, on the map - just squares.

Even created a test POI, just to see there were no issues with the last one saved, but no, still the same behavior.
Quote:

Are you sure you have the latest version ;) (mine reports v0.28-2)
I'm pretty sure, I upgrade all the time, and apt-cache show modrana gives me 0.28-2, so should be the same as yours...

白い熊 2011-08-18 15:02

Re: [Announce] modRana: a flexible GPS navigation system
 
I have a feature request for modRana:

- allow to search for destination/display it on the map, by entering the latitude and longitude;
- display the lat/long for a point clicked on the map, so I can use it for other purposes, i.e. sending a lat/long reference etc.

Should be doable easily...

MartinK 2011-08-18 21:58

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

Originally Posted by don_falcone (Post 1066321)
Sure, i would like to help on improving the user interface. But as i'm always trying to avoid changing code / (re)compiling, i prefer editing and changing resources directly on file level.

Well, modRana is written in Python so no recompilation is needed, I have myself modified the modRana source "in the filed" many times. :)
You can just edit the source, implement your improvements and then send me the diff vs the original source and I'll merge it to the "main" version if it looks OK. :)

Quote:

Originally Posted by carlon (Post 1068606)
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??

Try different may layers and check your Internet connection. :)

Quote:

Originally Posted by jd4200 (Post 1069902)
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!
:)

I'm glade you like it ! :D I have actually sent about five postcards already on the addresses shown in Paypal but your reaction is the first I got so far. :) Maybe the addresses were incorrect and/or the postcards got lost somewhere.

Quote:

Originally Posted by Necrofenser (Post 1070127)
Is there any way to forbid downloading maps (cuz 3G is expensive in my country) and to manually add maps?

Yep: options->Network->Network usage and switch Unlimited network usage to Only for important data.
With this setting modRana will not download tiles automatically but online POI search and routing will still be possible.

Quote:

Originally Posted by don_falcone (Post 1071606)
What do you mean by "some maps of my country"? Currently i have those directories:
GoogleVector
OpenStreetMap I

You can switch between additional layers in options->Map->Map layers. :)

Quote:

Originally Posted by don_falcone (Post 1071606)
If the receiver did not have a fix by now, you won't have the position to load the tiles for, neither from network (on demand) nor from disk cache, regardless if there's anything on disk already.

If the GPS is OFF, modRana should resume on the last available position fix. It is also possible to set the current position on the coordinates of a saved POI.

Quote:

Originally Posted by 白い熊 (Post 1072430)
In the POI list, I see the proper kanji, in the POI info see the large POI name in kanji, on the map - just squares.

I have just tested this by serching for restaurants in the Tokyo metropolitan are and it seems to work, no boxes anywhere and all kanji/katakana/hiragana literals seem OK.

Quote:

Originally Posted by 白い熊 (Post 1072433)
I have a feature request for modRana:

- allow to search for destination/display it on the map, by entering the latitude and longitude;
- display the lat/long for a point clicked on the map, so I can use it for other purposes, i.e. sending a lat/long reference etc.

Should be doable easily...

OK, should be easy to add. :)

Also, I'll be on a vacation & offline for the weekend, returning monday. :)

woody14619 2011-08-19 19:12

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

Originally Posted by MartinK (Post 1072675)
I'm glade you like it ! :D I have actually sent about five postcards already on the addresses shown in Paypal but your reaction is the first I got so far. :) Maybe the addresses were incorrect and/or the postcards got lost somewhere.

Uhm.. :rolleyes: I got mine and though it was cool, but it was literally the day before I was off for vacation for 2 weeks, so I forgot to reply about it when I got back. So at least 2 of 5 made it! :D

kureyon 2011-08-21 16:02

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

Originally Posted by 白い熊 (Post 1072430)
Even created a test POI, just to see there were no issues with the last one saved, but no, still the same behavior.

I'm having problems with self created POIs.

If I use all Chinese characters for the POI name and description then after selecting which category to place the POI, the name and description are both shown as "None".

If I use ascii characters for the beginning of the POI name (and description) followed by Chinese characters then POI is entered and listed correctly. However if I choose "show on map" then it only shows ascii characters with rectangular outlines instead Chinese characters. In other words the behaviour is similar to that described in my earlier post

On a different matter, I have problems batch downloading tiles when using Google map/satellite/overlay. All the tiles fail to download. They get downloaded properly when scrolling around the map so had I just spent a couple of happy (:mad:) hours scrolling around the place where I'll be visiting tomorrow to cache the tiles.

Batch downloading Virtual earth satellite hybrid and OSM tiles work fine.

白い熊 2011-08-22 08:31

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

Originally Posted by MartinK (Post 1072675)
I have just tested this by serching for restaurants in the Tokyo metropolitan are and it seems to work, no boxes anywhere and all kanji/katakana/hiragana literals seem OK.

Thanks to kureyon's post above, I checked also:

In fact searching for online POI in Japan, they indeed display fine, i.e. no boxes.

However, displaying my created POI's, the problem persists, i.e. kanji shows fine in POI information dialog and POI screen, on the map, just boxes.

If I enter, as kureyon hinted part name in kanji and part in ascii, the ascii part displays fine, kanji just boxes.

白い熊 2011-08-22 08:33

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

Originally Posted by kureyon (Post 1074102)
On a different matter, I have problems batch downloading tiles when using Google map/satellite/overlay. All the tiles fail to download. They get downloaded properly when scrolling around the map so had I just spent a couple of happy (:mad:) hours scrolling around the place where I'll be visiting tomorrow to cache the tiles.

Batch downloading Virtual earth satellite hybrid and OSM tiles work fine.

Google monitors I guess how fast subsequent requests for tiles come in and if it deems they're machine generated, then fails to serve the tiles.

What might help, if you REALLY want to download google stuff, instead of just boycotting it, would be to set the download threads to max out at 1 if possible (or is the lowest number 5?, don't remember), that might help it...


All times are GMT. The time now is 20:33.

vBulletin® Version 3.8.8