Notices


Reply
Thread Tools
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#111
Originally Posted by lmf
I entered the source and destination (used firefox on WinXP), then did copy&paste of the result to a file benidorm-Warner.xml and placed that on the card.
This is probably your problem. XML uses the UTF-8 encoding (by default - I think this can be changed). In order to support the ņ character (and other non-ASCII characters), you need to use multi-byte UTF-8-encoded characters. In UTF-8, the first waypoint in the file you uploaded actually looks like this:
Code:
Head northeast from Calle de Emilio Ortu<f1>o. Go 0.7 km.
The <f1> character is screwing up the parsing. You're better off using "Save As..." and moving the resulting file to the MMC. Otherwise, you should use an editor that supports UTF-8 and copy/paste with that.

Or, you can try adding encoding="latin1" to the "<?xml?>" tag, but I can't guarantee that that will work.

Or, you can just replace all the non-ASCII characters with ASCII characters.
 
Posts: 114 | Thanked: 11 times | Joined on Oct 2005
#112
Originally Posted by gnuite
This is probably your problem. XML uses the UTF-8 encoding (by default - I think this can be changed). In order to support the ņ character (and other non-ASCII characters), you need to use multi-byte UTF-8-encoded characters. In UTF-8, the first waypoint in the file you uploaded actually looks like this:
Code:
Head northeast from Calle de Emilio Ortu<f1>o. Go 0.7 km.
The <f1> character is screwing up the parsing. You're better off using "Save As..." and moving the resulting file to the MMC. Otherwise, you should use an editor that supports UTF-8 and copy/paste with that.

Or, you can try adding encoding="latin1" to the "<?xml?>" tag, but I can't guarantee that that will work.

Or, you can just replace all the non-ASCII characters with ASCII characters.
Adding the 'encoding="latin1" ' does nothing.
If I do "save as" (with firefox) from your webpage, what I get is the html code of the GPX Driving Directions page (!!!!)... not the directions xml file ... So, the only way to get this is to copy&paste the result.
If I select UTF-8 in firefox, the result is the same.
Those characters are generated by your gpx page, not me.

Before posting this, I did try to remove all the "weird" characters, but the error is still reported.
It simply does not work.
 
Posts: 112 | Thanked: 6 times | Joined on Feb 2006
#113
gnuite, I love how you worked out the new driver-orientation, with the line extending out. I had imagined this with a triangle, but after seeing the line, it's obviously more useful that way. Great job.

Next. In your item list of enhancements you're going to work on, my idea for larger announcement popups, it states the reason for adding this is for ?people with bad eyes.? I have 20/20 vision, heh. Sometimes people have valid resons for requesting a feature that devs cannot predict, that's all. In this case, I installed the 12 Point Font themes. I believe the native 770 font is 16 Point, thus my popups are miniscule, even for my 20/20 vision. Hehehe.

Enhancement Ideas
1) Routing Alternatives. Sometimes, how Maemo Mapper computes the route seems a little off for my needs at that moment, and I would like an option to hold down the center button for 3-4 seconds and -blam!- it generates an alternative route based on different rules. If current routes are generated by rules like 'take the shortest path not deviating from major roads' then the alternate would gen routes based on rules like 'take the shortest path including dirt roads' heh.

2) Screensaver Mode
In this mode, when Fullscreen, the screen shuts off but the Bluetooth and cellphone connections stay active, waking up at each announcement popup... to save battery life on longer trips where you don't need yur route for a long time. So the screen's sleeping and waking are determined by the 'Advance Notice Settings.'

3) Automatic Destination Zooming?Autozoom? More of my time is spent fumbling for the zoom keys as I near my destination than anything, and I've noticed it's putting me at greater risk because my attention is focused on this process. I would like a mode where it automatically zooms in for you as you near your destination... I would be happy to drive-test the correct settings to help get them right, but I am guessing thus: a) at 8 blocks to 6 blocks, Autozoom to zoom level 2. b) at 3 to 5, Autozoom to level 1. Less than 3 blocks, Autozoom to level 0. This feature would improve overall safety, and just feel slick.

As always, I love your work, gnuite. These are just ideas, and you're only one man. If you can't use'em, I truly will understand. But thank you nevertheless... I've seen your Enhancement list and it's pretty daunting. Keep up the great work.
__________________
1 Gig Generic MMC, Sprint EV-DO for data(25-45 Kb/s d/l speeds), & Samsung A940: one GREAT phone!
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#114
Originally Posted by lmf
Adding the 'encoding="latin1" ' does nothing.
If I do "save as" (with firefox) from your webpage, what I get is the html code of the GPX Driving Directions page (!!!!)... not the directions xml file ... So, the only way to get this is to copy&paste the result.
If I select UTF-8 in firefox, the result is the same.
Those characters are generated by your gpx page, not me.
Yes, the UTF-8 characters are generated by my GPX page. Firefox understands UTF-8 (as do most browsers). Notepad or Wordpad, however, do not write UTF-8 by default, so if you copy from a UTF-8-understanding browser into a UTF-8-misunderstanding text editor, you will inadvertently be converting the UTF-8 characters into the "latin" character set, aka iso-8859-1, rendering the file invalid XML and unreadable by Maemo Mapper.

"Save as..." in my also-mozilla-based browser saves the XML, not the form page, so that must be a peculiarity of Firefox, so maybe you can try with IE or Opera.

If not: I don't use Windows much, so I haven't used any UTF-8-native text editors in it, but a simple google search led me to Notepad2 - try it and let me know if you still have problems. If so, message me and attach the file that Notepad2 created (yes, I cleaned out my ITT message box, so messaging me works again).

Sorry for the inconvenience. :-/
 
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#115
Originally Posted by Ceklund
Next. In your item list of enhancements you're going to work on, my idea for larger announcement popups, it states the reason for adding this is for ?people with bad eyes.? I have 20/20 vision, heh. Sometimes people have valid resons for requesting a feature that devs cannot predict, that's all. In this case, I installed the 12 Point Font themes. I believe the native 770 font is 16 Point, thus my popups are miniscule, even for my 20/20 vision. Hehehe.
Then why do you use the 12-point font theme? I haven't gotten around to looking into the popup font size. I don't even know if it's possible to set the font size - it's not in the API so far as I've seen.


Originally Posted by Ceklund
1) Routing Alternatives. Sometimes, how Maemo Mapper computes the route seems a little off for my needs at that moment, and I would like an option to hold down the center button for 3-4 seconds and -blam!- it generates an alternative route based on different rules. If current routes are generated by rules like 'take the shortest path not deviating from major roads' then the alternate would gen routes based on rules like 'take the shortest path including dirt roads' heh.
Unfortunately, I don't write the directions. I just forward them. I'm a middle man. Don't blame me. (Yes, sometimes they produce longer-in-time routes for me, too. I only wish I could base the directions on MapQuest.)


Originally Posted by Ceklund
2) Screensaver Mode
In this mode, when Fullscreen, the screen shuts off but the Bluetooth and cellphone connections stay active, waking up at each announcement popup... to save battery life on longer trips where you don't need yur route for a long time. So the screen's sleeping and waking are determined by the 'Advance Notice Settings.'
You're demoting Maemo Mapper to a screensaver?
Actually, your suggestion is a good one - I just won't call it "Screensaver Mode" - "PowerSaver Mode" sounds better.

Until then, you can take Maemo Mapper out of full-screen mode to turn off the perpetual keep-the-screen-on behavior (as long as you set the appropriate option in Settings). I'm pretty sure the announcements will cause the screen to come on. I could be wrong - give it a try.


Originally Posted by Ceklund
3) Automatic Destination Zooming?Autozoom? More of my time is spent fumbling for the zoom keys as I near my destination than anything, and I've noticed it's putting me at greater risk because my attention is focused on this process. I would like a mode where it automatically zooms in for you as you near your destination... I would be happy to drive-test the correct settings to help get them right, but I am guessing thus: a) at 8 blocks to 6 blocks, Autozoom to zoom level 2. b) at 3 to 5, Autozoom to level 1. Less than 3 blocks, Autozoom to level 0. This feature would improve overall safety, and just feel slick.
There's already a feature request for auto-zooming based on speed. I've also considered an auto-zoom mode such that the nearest of either the last or next waypoints is forced to be visible. I'm lukewarm on both of these ideas, or anything that attempts to automatically control zoom level, but I'll probably experiment with it eventually.


Thanks for the feedback.

Last edited by gnuite; 2006-07-13 at 03:32.
 
ReinhardE's Avatar
Posts: 35 | Thanked: 0 times | Joined on Dec 2005 @ München
#116
Originally Posted by gnuite
Then why do you use the 12-point font theme? I haven't gotten around to looking into the popup font size. I don't even know if it's possible to set the font size - it's not in the API so far as I've seen.
hildon_banner_show_information_with_markup() works fine for me. You
wrap the text inside of something like <span size='xx-large'>%s</span>
Attached Images
 

Last edited by ReinhardE; 2006-07-13 at 09:45. Reason: added screenshot
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2006
#117
Originally Posted by gnuite
The waypoint data is independent of the "kilometers/miles" setting. Maemo Mapper displays exactly what is in the GPX file (it doesn't try to convert units). The units used in the GPX file generally depend on the locale of the route source and/or destination (directions in the U.S. use miles; in Europe , kilometers; etc.). The source of directions hasn't changed in some time, so I'd be surprised if you entered the same source/destination and got km in v1.0.2 and miles in v1.1.
I didnīt enter the exact same source / destination, but Iīve only used Mapper in southern Finland. And Iīm positive that with 1.0.2 I got directions in kilometers.

Now after several tests Iīve only got miles. The regional settings of my 770 donīt seem to have any effect on this one. But this is probably a feature by Google...


Originally Posted by gnuite
Originally Posted by hallax
2. the auto-update with routes does not seem to work. it did with 1.0.2

Odd - it worked for me in my testing. I'll try again.
I did some additional testing. This bug has something to do with regional settings of my 770. If I use "English / United Kingdom" as my reagion, the auto-update works. But if I use "Suomi (Finland)" it doesnīt work...


Originally Posted by gnuite
You cannot auto-update a loaded route. You can only auto-update using "Download Route..." (i.e. not "Open Route...").
Ok. Could this be a feature? If I download a long route (from Finland to southern Europe for example) it might be nice to save the route. And then just open it every morning in a new location with Auto-update enabled. Iīm not sure if this actually would make any difference though. After POI functionality itīs so easy to calculate the route again...


Originally Posted by gnuite
The amount of advance notice scales linearly with your current speed, which should be sufficient to provide sufficient notice in town and on the highway.
Ok, I can live with this. ;-)


- Hallax
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2006
#118
Originally Posted by gnuite
There's already a feature request for auto-zooming based on speed. I've also considered an auto-zoom mode such that the nearest of either the last or next waypoints is forced to be visible. I'm lukewarm on both of these ideas, or anything that attempts to automatically control zoom level, but I'll probably experiment with it eventually.
One vote for the current "[#19] Add Feature to Auto-Adjust Zoom Level Based on Speed"!

For me it sounds better than "Auto-Adjust Zoom Level Based on waypoint distance".

- Hallax
 
Posts: 114 | Thanked: 11 times | Joined on Oct 2005
#119
Originally Posted by gnuite
Yes, the UTF-8 characters are generated by my GPX page. Firefox understands UTF-8 (as do most browsers). Notepad or Wordpad, however, do not write UTF-8 by default, so if you copy from a UTF-8-understanding browser into a UTF-8-misunderstanding text editor, you will inadvertently be converting the UTF-8 characters into the "latin" character set, aka iso-8859-1, rendering the file invalid XML and unreadable by Maemo Mapper.

"Save as..." in my also-mozilla-based browser saves the XML, not the form page, so that must be a peculiarity of Firefox, so maybe you can try with IE or Opera.

If not: I don't use Windows much, so I haven't used any UTF-8-native text editors in it, but a simple google search led me to Notepad2 - try it and let me know if you still have problems. If so, message me and attach the file that Notepad2 created (yes, I cleaned out my ITT message box, so messaging me works again).

Sorry for the inconvenience. :-/
Finnally... It worked...
Copy&Paste form Firefox(XP)... into notepad2... then save to xml file... and put that in the mmc card...
(Note, I had so manually select Encoding=UTF-8; and Line Endings=LF)


just a few sugestions...

->When the n770 is in offline mode, if "enable gps" is on, the program should disable offline mode... or at least ask to do so... otherwise, the program will scan forever... and never find the gps...
(I always forget this... and wonder why the gps is not found...)

->also, by double tapping the screen, or when switching on "enable gps", by default the program should switch to auto lat/long centering...


->sometimes, a there's a problem with some tiles... which have the wrong zoom level (dont't know how that happens). It would be nice to have an option to "delete an area", or at least "download refresh" the area on screen (overwriting the previous tiles).
I had a problem like thins with a few tiles in zoom10, so the only solution was to delete this folder, and download it again...

thanks for the support.

Last edited by lmf; 2006-07-13 at 17:05.
 
Posts: 114 | Thanked: 11 times | Joined on Oct 2005
#120
Originally Posted by hallax
...
I did some additional testing. This bug has something to do with regional settings of my 770. If I use "English / United Kingdom" as my reagion, the auto-update works. But if I use "Suomi (Finland)" it doesnīt work...



Ok. Could this be a feature? If I download a long route (from Finland to southern Europe for example) it might be nice to save the route. And then just open it every morning in a new location with Auto-update enabled. Iīm not sure if this actually would make any difference though. After POI functionality itīs so easy to calculate the route again...



Ok, I can live with this. ;-)


- Hallax
It would be nice to define a set of POI, and then automate the download all possible routes between those points...

ps: someone posted a photo of maemomapper with a few POI with icons (trafic lights and McD$). can this be done? how?

Last edited by lmf; 2006-07-13 at 17:18.
 
Reply

Thread Tools

 
Forum Jump


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