maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v1.2 Released (https://talk.maemo.org/showthread.php?t=3323)

insert_nick 2006-10-27 21:31

Quote:

Originally Posted by gnuite
I'll see if I can verify and fix this. Thanks!

let me know if you can't verify it, I'll give you any relevant information you may need: I'm pretty sure I'm not doing anything wrong.
Quote:

Originally Posted by gnuite
I've considered this, and I'll try to implement it soon; there are just some issues I need to work out first (e.g. what if multiple routes are loaded? what if the route file is gone? etc.)

Very good news. Of course I think you'll manage the code in order to reload all the (multiple) routes, skipping any "gone" route file ;)
Quote:

Originally Posted by gnuite
This would be difficult given the current implementation, plus it's hard to do while driving, plus it gets in the way of the context-sensitive "click-and-hold" menu, plus it's strenuous on the screen (can create scratches, especially if done while driving). I've been meaning to investigate this, but there are more pressing things (like bugs) that I need to work out...

I understand the coding difficulty, and agree with your points. I am the first who would have asked an implementation like that you've done if it was already done the way I've asked for ;) However, if ever you'll try to evaluate this addition, let it be an addition: from the menu, let the user quickly choose and change the "pan mode" he wants to use in that moment.
Quote:

Originally Posted by gnuite
It is not (yet) open source, but the functionality it performs may soon be moved to Maemo Mapper itself (if I can work out the string parsing issues efficiently enough).

Good news these too. Thanks for all!

delaroca 2006-10-28 03:46

Freshly flashed Nokia 770 (os 2006): maemo mapper v1.2.3 fails to launch! Did install thru app manager, from maemo garage repository... no other apps installed... any suggestions about what may be happening?

-- Denis

Paavo 2006-10-28 07:07

Quote:

Originally Posted by gnuite
To everyone who has cleared their configuration and is now getting a segfault on startup with Maemo Mapper v1.2.3: please try typing the following commands (exactly as they appear - use copy/paste) into an xterm.
Code:

gconftool-2 -s -t string "/apps/maemo/maemo-mapper/units" "km"
gconftool-2 -s -t string "/apps/maemo/maemo-mapper/escape_key" "Toggle Tracks"

Then try starting Maemo Mapper. Let me know if this has any effect.

Thanks gnuite, this worked for me, too. MM 1.2.3 did not start even if gconftool-2 -a "/apps/maemo/maemo-mapper" output was nothing.

Quote:

Originally Posted by delaroca
Freshly flashed Nokia 770 (os 2006): maemo mapper v1.2.3 fails to launch! Did install thru app manager, from maemo garage repository... no other apps installed... any suggestions about what may be happening?

You might want to try the above trick, if this does not solve the problem for you.

gconftool-2 --recursive-unset "/apps/maemo/maemo-mapper"

-Paavo

aRTee 2006-10-28 07:34

Great work!!

I upgraded from mm1.1, needed those gconf commands as well to get around the segfault, and now I'm happy with this new version doing all that the modified versions of Cesary and Armin were doing, - no more switching between versions, great!

I have two feature requests:
1 - can the height info be added to the track trk output/file? This would be really great for hiking (I live in Switzerland, incertainty of height data of a few dozen meters doesn't matter so much around here)
2 - could the precision of the fix be shown in the gps info screen somehow? Either just the xDOP values or maybe a bar or line that changes in size to indicate the fix precision...?

Is there a way to capture all data between n770 and bt gps? In that case I can take care of no 1 myself...
I tried cat /dev/rfcomm0 but it blocks the device/system from functioning properly....

delaroca 2006-10-28 09:01

Quote:

Originally Posted by Paavo
You might want to try the above trick, if this does not solve the problem for you.

gconftool-2 --recursive-unset "/apps/maemo/maemo-mapper"

-Paavo

Thanks, Paavo. I did the above plus setting the units and escape_key options... mapper now launches succesfully.

-- Denis

j.pickens 2006-10-28 14:20

Now that this initialization stuff seems well defined, can it be incorporated into the release deb?

ilia 2006-10-28 16:02

is it possible to generate GPX that excludes highways?

gnuite 2006-10-28 18:07

Quote:

Originally Posted by j.pickens
Now that this initialization stuff seems well defined, can it be incorporated into the release deb?

Yes, I'm making a release soon.

gnuite 2006-10-28 18:08

Quote:

Originally Posted by ilia
is it possible to generate GPX that excludes highways?

Unfortunately, no. The directions are based on those from Google Maps, which does not offer an "exclude-highways" option (or any options, for that matter).

ilia 2006-10-28 18:37

is it possible to interface with mapquest to generate GPX?

armin 2006-10-28 18:54

looking for POI icons
 
Quote:

Originally Posted by gnuite
Icons should be placed under your Map Cache directory, in a sub-directory called "poi". You can provide icons for categories as a whole or for individual POIs (or both - the most specific icon found is used). The name of the icon file should be "[category-name].jpg" (all lower case) or "[poi-label].jpg" (even if the icon is a PNG file).

It would be great if somebody could provide a set of icons for the default categories, e.g. simply packaged as poi.tar

ReinhardE 2006-10-28 19:25

Quote:

Originally Posted by armin
It would be great if somebody could provide a set of icons for the default categories, e.g. simply packaged as poi.tar

you can find lots of icons at: overlays

poulsone 2006-10-28 21:24

Quote:

Originally Posted by gnuite
Do not attempt to modify the XML manually.


Not that a know of. You can use gconftool-2 to modify settings individually. Use "gconftool-2 --help" or google gconftool-2 for help on how to use gconftool-2.

Otherwise, just use Maemo Mapper itself to edit the settings...

For anyone else that wants to edit settings in a file:
To save all settings to a file:
Code:

gconftool-2 --dump "/apps/maemo/maemo-mapper" > /media/mmc1/MMMaps/testdump
To load all settings back in from the file:
Code:

gconftool-2 --load=/media/mmc1/MMMaps/testdump

gnuite 2006-10-28 21:48

Quote:

Originally Posted by ilia
is it possible to interface with mapquest to generate GPX?

No... It's hard enough to get them from Google Maps.

poulsone 2006-10-28 23:06

Quote:

Originally Posted by ReinhardE
The following patch allows Maemo Mapper to download maps from WMS servers (useful for hiking).
For downloads and more information look at: MM-Extensions

With this patch, I get a Segmentation fault when I try to download Sat photos from google. I have three repositories set up, one for each of:
Code:

http://mt.google.com/mt?n=404&v=w2.11&x=%d&y=%d&zoom=%d
http://www.terraserver-usa.com/ogcmap6.ashx?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=DRG&STYLES=&SRS=EPSG:4326&BBOX=%.6f,%.6f,%.6f,%.6f&WIDTH=256&HEIGHT=288&FORMAT=image/jpeg&BGCOLOR=0xCCCCCC&EXCEPTIONS=NIMAGE
http://kh0.google.com/kh?n=404&v=11&t=%s

Only the last one produces seg faults. It fails even if I remove the other two repositories.
(If you use the gconftool-2 --dump and --load, & needs to be & in the file.)

gnuite 2006-10-29 03:56

Maemo Mapper v1.2.4 Released
 
This release fixes the startup crash when there are no settings, and also restores the broken "Download-by-Route" functionality.

As usual, the release is available for download from the Maemo Mapper Garage Files page, or simply update from the Maemo Garage Extras repository.

Or you can try something new: whether or not you have Maemo Mapper installed, and even whether or not you have the Maemo Garage repository set up, you can download the maemo-mapper.install file to automatically set up the repository and install Maemo Mapper. This is in testing, but it should work. (There is one issue: if you already have the repository set up, opening the file will not force an update of the repository, so it may not offer the most recent version of Maemo Mapper. You'll have to update your repository info manually.)

In addition to the bug fixes mentioned above, internationalization has also been fixed (it actually works now; sorry for the delay). There are currently translations available for en_US, it_IT, and nl_NL.

If you would like to help out by translating Maemo Mapper to your language (it's really simple; you do not need to know C or have any programming knowledge at all), please create a Maemo Garage account and request to be added to the Maemo Mapper development team, with a comment stating the language for which you would like to translate.

ReinhardE 2006-10-29 09:37

1 Attachment(s)
Quote:

Originally Posted by poulsone
With this patch, I get a Segmentation fault when I try to download Sat photos from google.

Should work with the patch for 1.2.4

aRTee 2006-10-29 13:56

Quote:

Originally Posted by gnuite
If you would like to help out by translating Maemo Mapper to your language (it's really simple; you do know need to know C or have any programming knowledge at all), please create a Maemo Garage account and request to be added to the Maemo Mapper development team, with a comment stating the language for which you would like to translate.


I'm guessing this should read:
Quote:

you do not need to know C or have any programming knowledge at all
To come back to my altitude request: am I really the only one who would like to see the altitude info in the track, after saving?

insert_nick 2006-10-29 14:16

Quote:

Originally Posted by gnuite
This release fixes the startup crash when there are no settings, and also restores the broken "Download-by-Route" functionality.

And you forgot to mention, but not to code, a great improvement: now it remembers and auto-loads at startup the routes that where opened before quitting (and it works even with multiple routes!)

You're the one gnuite! Now it's a really usable app even without GPS... (provided the Google Maps service continues to work for free, and the GPX driving directions server continues to serve as well)

mzandrew 2006-10-29 17:23

altitude / elevation
 
Quote:

Originally Posted by aRTee
To come back to my altitude request:
am I really the only one who would like to see the altitude info in the track, after saving?

You're not the only one. I'd like altitude / elevation in the track, too.

I'd also like a feature where it would auto-save the track every time it got N new positions for the track so that if/when MM crashes or the battery dies or etc, I would still have my track.

aRTee 2006-10-29 20:20

Quote:

Originally Posted by mzandrew
You're not the only one. I'd like altitude / elevation in the track, too.

I'd also like a feature where it would auto-save the track every time it got N new positions for the track so that if/when MM crashes or the battery dies or etc, I would still have my track.


Yeah, I'd like that too - it's all too easy to have the batteries run out - it could be that the last part of the file will have to be fixed in that case, but that would be easy.

gnuite 2006-10-30 01:53

Quote:

Originally Posted by mzandrew
I'd also like a feature where it would auto-save the track every time it got N new positions for the track so that if/when MM crashes or the battery dies or etc, I would still have my track.

If the battery dies, Maemo is supposed to give all apps notice (just before it dies completely, of course). So, if that's working, Maemo Mapper should save its route data before the battery actually dies. So, hopefully, in conjunction with the new "save current track data on close", you should be good to go.

I haven't tested it though...

aRTee 2006-10-30 12:49

Hmm, maybe I'll try to test that later, shouldn't be too hard.

So John, whatabout altitude info in the track output file?

gnuite 2006-10-30 14:32

Quote:

Originally Posted by aRTee
Hmm, maybe I'll try to test that later, shouldn't be too hard.

So John, whatabout altitude info in the track output file?

Already added, my friend! :) Just need to check it in and release it. Almost ready...

aRTee 2006-10-30 15:28

Ok cool!
Can't wait!
Well, yes I can, I still have to let the battery die and see if it saves the track..

But I am looking forward to it, so thanks a lot already!

[edit]
hmm, didn't realise your 'save track upon exit' function is not in 1.2.4, so I'll have to do my testing some other time... ;-)

rjungmann 2006-11-01 10:40

how to be supervisor ?
 
hi everybody...

because i'm not fluent with linux, especially with all the tips for the 770, can someone explain me the steps to be -su and permit Maemo Mapper to reset the Bluetooth connection with the Esc key. (because it still crashing for me a i need the restart de 770 to get infomations from the GPS receiver).

is it a trick for this ? is it an 'patched OS 2006' like it was a 2005 one ?

is there some packs and libs to install ?

thanks for help...

BanditRider 2006-11-01 12:17

The easiest way to enable yourself to become root is to add the repository described here and installing the becomeroot package.
Also install xterm if you haven't yet.
Once you've installed the becomeroot package, run xterm and enter:
sudo su -
Your prompt should end in #
That indicates you're now the root user. If it ends in $ then you're just the normal user.
Now edit the /etc/bluetooth/rfcomm.conf file as described here .
Change the mac address in maemo-mapper's settings to /dev/rfcomm0 and reboot. Your GPS won't get "lost" anymore and you won't need set the escape key to reset the bluetooth connection. You can use it to toggle between street maps and satellite maps or whatever.

If you don't know how to edit a text file in linux, you can copy the file to your mmc card then connect the usb cable to your PC and edit the file with a PC editor then copy the file back to where it belongs:
as root enter in xterm:
cp /etc/bluetooth/rfcomm.conf /media/mmc1
Connect the USB cable and on the PC edit the file then disconnect the USB cable and:
cp /media/mmc1/rfcomm.conf /etc/bluetooth

If that seems too difficult, post your GPS's mac address and I'll post an edited file for you.

gnuite 2006-11-01 15:35

Quote:

Originally Posted by BanditRider
The easiest way to enable yourself to become root is to add the repository described here and installing the becomeroot package.
Also install xterm if you haven't yet.
Once you've installed the becomeroot package, run xterm and enter:
sudo su -
Your prompt should end in #
That indicates you're now the root user. If it ends in $ then you're just the normal user.
Now edit the /etc/bluetooth/rfcomm.conf file as described here .
Change the mac address in maemo-mapper's settings to /dev/rfcomm0 and reboot. Your GPS won't get "lost" anymore and you won't need set the escape key to reset the bluetooth connection. You can use it to toggle between street maps and satellite maps or whatever.

If you don't know how to edit a text file in linux, you can copy the file to your mmc card then connect the usb cable to your PC and edit the file with a PC editor then copy the file back to where it belongs:
as root enter in xterm:
cp /etc/bluetooth/rfcomm.conf /media/mmc1
Connect the USB cable and on the PC edit the file then disconnect the USB cable and:
cp /media/mmc1/rfcomm.conf /etc/bluetooth

If that seems too difficult, post your GPS's mac address and I'll post an edited file for you.

Or, alternatively, you can just install and use the Maemo Bluetooth Plugin. That will set up your GPS receiver as /dev/rfcomm0.

Both these suggestions, of course, don't answer the original question, which is about the sudo changes required to enable bluetooth resetting. Admittedly, setting up rfcomm is better, but for those still curious about how to set up bluetooth resetting, simply gain root access and edit the /etc/sudoers (preferably using the program "visudo") file to add the following line:

user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 reset

ilia 2006-11-02 16:32

I just installed the latest OS2006 firmware and the backup omitted the Application Catalog (sources.list) so I find myself again collecting the source URIs. I added the one provided on the maemo-mapper homepage. But it's not enough. Some dependency is required. I'm guessing sqlite. Is there a repository URI for the right version of sqlite required by maemo-mapper?

cjackiewicz 2006-11-02 19:00

Quote:

Originally Posted by ilia
I just installed the latest OS2006 firmware and the backup omitted the Application Catalog (sources.list) so I find myself again collecting the source URIs. I added the one provided on the maemo-mapper homepage. But it's not enough. Some dependency is required. I'm guessing sqlite. Is there a repository URI for the right version of sqlite required by maemo-mapper?

http://downloads.kernelconcepts.de/maemo2 mistral free

ilia 2006-11-02 19:45

thank you :-)

Now i wonder when the night colors feature will be in Maemo Mapper? 1.2.5?

insert_nick 2006-11-03 16:11

bug: "delete maps along route" re-downloads them instead
 
I have a bug to report: the downloading of the maps around the route works well. But, if I choose to "delete" the maps, specifying to delete those along the route, the dialogue box popping up is right, saying something about it's going to delete the files, but the action triggered is the (re-)download of the maps instead.

You know, with that poor 64 MB bundled card, we have to keep it clean and having that feature broken is uncomfortable :(

It would be very useful, at this regard, a "delete all maps but those along route" feature! (instead of manually deleting all the maps with the file manager, and then download the maps along the route...)

rjungmann 2006-11-04 22:03

thanks for help !
 
hi and thanks for help !

i didn't made it at this moment, because of a certain lack of time.
i will do surely tomorrow.

thanks for all explainations...

i really enjoy this 770, and this is because of this community,
everybody is nice an prompt to help !

i really appreciate.






Quote:

Originally Posted by BanditRider
The easiest way to enable yourself to become root is to add the repository described here and installing the becomeroot package.
Also install xterm if you haven't yet.
Once you've installed the becomeroot package, run xterm and enter:
sudo su -
Your prompt should end in #
That indicates you're now the root user. If it ends in $ then you're just the normal user.
Now edit the /etc/bluetooth/rfcomm.conf file as described here .
Change the mac address in maemo-mapper's settings to /dev/rfcomm0 and reboot. Your GPS won't get "lost" anymore and you won't need set the escape key to reset the bluetooth connection. You can use it to toggle between street maps and satellite maps or whatever.

If you don't know how to edit a text file in linux, you can copy the file to your mmc card then connect the usb cable to your PC and edit the file with a PC editor then copy the file back to where it belongs:
as root enter in xterm:
cp /etc/bluetooth/rfcomm.conf /media/mmc1
Connect the USB cable and on the PC edit the file then disconnect the USB cable and:
cp /media/mmc1/rfcomm.conf /etc/bluetooth

If that seems too difficult, post your GPS's mac address and I'll post an edited file for you.


gnuite 2006-11-04 22:25

Quote:

Originally Posted by insert_nick
I have a bug to report: the downloading of the maps around the route works well. But, if I choose to "delete" the maps, specifying to delete those along the route, the dialogue box popping up is right, saying something about it's going to delete the files, but the action triggered is the (re-)download of the maps instead.

You know, with that poor 64 MB bundled card, we have to keep it clean and having that feature broken is uncomfortable :(

It would be very useful, at this regard, a "delete all maps but those along route" feature! (instead of manually deleting all the maps with the file manager, and then download the maps along the route...)

This was fixed in v1.2.4 - are you using the latest version? Also, make sure you don't have "Auto-Download" enabled, or it will re-download the maps (in view) as soon as you delete them.

rjungmann 2006-11-05 09:24

done !
 
i want to thanks everybody : alll people developping Mapper, especially Gnuite (who is really THE man), and all people using it, active on this board, and helping everybody !

this is WHAT i really enjoy in this 'FREE' world of 770 !

THANK YOU


i have finally done this tip : i've setup the rfcomm.conf
with my GPS number. i will test drive it and see if a last the gps/bluetooth connection or not !



Quote:

Originally Posted by gnuite
Or, alternatively, you can just install and use the Maemo Bluetooth Plugin. That will set up your GPS receiver as /dev/rfcomm0.

Both these suggestions, of course, don't answer the original question, which is about the sudo changes required to enable bluetooth resetting. Admittedly, setting up rfcomm is better, but for those still curious about how to set up bluetooth resetting, simply gain root access and edit the /etc/sudoers (preferably using the program "visudo") file to add the following line:

user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 reset


lucaluca2 2006-11-05 14:02

The new URI?
thanks

BanditRider 2006-11-05 14:36

I'm still using:
street: http://mt0.google.com/mt?n=404&v=w2....d&y=%d&zoom=%d
satellite: http://kh0.google.com/kh?n=404&v=11&t=%s

gigabites 2006-11-06 08:26

ok, poi is still not working.
can someone who has gotten it to work please post detailed instuctions. the directions of winpoi are kinda vague. i alway end up with a file that mm reports as either encrypted or not a db.

maxilogan 2006-11-06 09:33

Quote:

Originally Posted by gigabites
ok, poi is still not working.
can someone who has gotten it to work please post detailed instuctions. the directions of winpoi are kinda vague. i alway end up with a file that mm reports as either encrypted or not a db.

That's because the Maemo Mapper implementation uses SQLite 2 instead of Cezary's Maemo Mapper version and Winmapper that use SQlite 3

insert_nick 2006-11-06 09:52

request: zip support
 
Don't know if it has been already requested as feature for maemo-mapper, and if it is feasible with the effort of one person only, but I throw it:

given the big time file operations (transfer, delete, etc.) take when lots of files are involved (and this is the case for maps in maemo-mapper) it would be hugely better have support for zip files in maemo-mapper: that is, maps should be readable/writeable into single files, so that a "delete maps" action, or a transfer from a winmapper set created to the memory card, or whatever, don't take forever. The slowdown for compression/decompression in execution should be acceptable if the prize is a faster management of the files, but I don't know if it is too much slow to be really acceptable.

At least for the reading side (which would great anyway!), a clue could be looking into the zip support of xmame and fce-ultra compiled for 770 by other cool coders on this forum.


All times are GMT. The time now is 22:12.

vBulletin® Version 3.8.8