maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Navit on N900 (https://talk.maemo.org/showthread.php?t=38800)

d-iivil 2010-03-07 18:29

Re: Navit on N900
 
^ same problem here, no zoom-buttons. Navit won't also activate the gps. Should it be somehow manually activated?

hara 2010-03-08 07:15

Re: Navit on N900
 
Hi!

To activate GPS, you have to enable in navit.xml
Code:

<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="maemo" follow="1">
but it should be enabled if you're using the xml-files found earlier in this thread.

For the missing zoom icons there seems to be a problem. In my package they are .svg format while OSD.xml expects them to be .png. Have to check that one later today.

d-iivil 2010-03-08 09:40

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 559506)
Hi!

To activate GPS, you have to enable in navit.xml
Code:

<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="maemo" follow="1">
but it should be enabled if you're using the xml-files found earlier in this thread.

For the missing zoom icons there seems to be a problem. In my package they are .svg format while OSD.xml expects them to be .png. Have to check that one later today.

Weird. It seems to be activated in navit.xml, but no GPS icon is appearing into phone's top bar.

And yes, I'm using your package, thanks for wrapping it up :)

hara 2010-03-08 11:38

Re: Navit on N900
 
D-IiviI try to start navit from xterminal to get some debug info.

I'll have a look at this later this evening, and probably do a new package with icons included.

d-iivil 2010-03-08 11:57

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 559709)
D-IiviI try to start navit from xterminal to get some debug info.

I'll have a look at this later this evening, and probably do a new package with icons included.

Will do that, but I shall first wait for your new package and try it out. I already removed navit with it's depencies.

lifenexus 2010-03-08 12:43

Re: Navit on N900
 
for the zoom icons not showing up, edit the osd.xml in /home/user/.navit and where ever u find the "scr=gui_zoom_in.png" etc change "png" to "svg". restart navit and ull see the zoom icons

hara 2010-03-08 19:03

Re: Navit on N900
 
Good evening!

Here's an updated package, svn version 2985 (some changes to gui_internal and bookmarks). Package should have ALL the previously missing .png files.

As usual, please remove all previously installed navit packages in order not to "collide" anything. I've put librsvg2-common as a dependancy.

Also, if possible, try to use xml-files found at the beginning of this thread, that's what I use. And o'boy, navit surely looks alot better with all images present :)

Let me remind you, you're on your own if something breaks up by using the package I've created.

Good luck on this http://rapidshare.com/files/36072647...armel.deb.html and tell here how it goes ;)

/h

craftyguy 2010-03-08 19:16

Re: Navit on N900
 
Why doesn't this get placed in garage.maemo.org with a maintainer (how about the person who is regularly building SVN and placing debs in this thread), and promoted to extras-devel?? :)

Using rapidshare as a distribution source is horrible because people like me who share an IP with thousands of others (in a corporate environment) cannot access rapidshare's "free" account

hara 2010-03-09 03:00

Re: Navit on N900
 
Quote:

Originally Posted by craftyguy (Post 560344)
Why doesn't this get placed in garage.maemo.org with a maintainer (how about the person who is regularly building SVN and placing debs in this thread), and promoted to extras-devel?? :)

Using rapidshare as a distribution source is horrible because people like me who share an IP with thousands of others (in a corporate environment) cannot access rapidshare's "free" account

Good morning!

@craftyguy: First, I'm not a "good-enough" coder. Second, this is not properly packaged. Data-files should be separated from main executable and so on. I simply don't know yet how to build multi-binary deb-packages. I've just been too excited to get my hands on the real thing, to get it running. Hopefully I haven't stepped on anyones toes with my doings. I do wish the real maintainer would update more regularly.

Sure, I can upload the pack anywhere else, gimme a hint where ;)


Have a nice day,
/h

d-iivil 2010-03-09 05:32

Re: Navit on N900
 
garage.maemo.org is a good place to upload. It's fast and it's free.

d-iivil 2010-03-09 05:54

Re: Navit on N900
 
With the latest package; still no zoom-icons and gps doesn't work.
Here's the command-line result:
~ $ navit
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
navit:vehicle_new:invalid type 'gpsd'
navit:main_real:Using '/opt/navit/share/navit/navit.xml'
graphics_gtk_drawing_area:keypress:keyval 0xffe3

hara 2010-03-09 07:01

Re: Navit on N900
 
Quote:

Originally Posted by D-Iivil (Post 560810)
With the latest package; still no zoom-icons and gps doesn't work.
Here's the command-line result:
~ $ navit
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
navit:vehicle_new:invalid type 'gpsd'
navit:main_real:Using '/opt/navit/share/navit/navit.xml'
graphics_gtk_drawing_area:keypress:keyval 0xffe3

You're using the default navit.xml in /opt/navit which is not so good configured. Please read this thread from beginning and copy xml files from this thread to /home/user/.navit

Also have a look at official navit-wiki to learn how to configure navit.

To help you out for a bit, check this link to download the necessary xml-files (OSD.xml, navit.xml, maps.xml and speech.xml). You don't need to download the icons-package as everything should be included in my navit-package.

http://talk.maemo.org/showpost.php?p...&postcount=127

Remember to adjust correct path to YOUR map-file in maps.xml.

Hope this helps,
/h

d-iivil 2010-03-09 08:19

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 560845)
You're using the default navit.xml in /opt/navit which is not so good configured. Please read this thread from beginning and copy xml files from this thread to /home/user/.navit

Also have a look at official navit-wiki to learn how to configure navit.

To help you out for a bit, check this link to download the necessary xml-files (OSD.xml, navit.xml, maps.xml and speech.xml). You don't need to download the icons-package as everything should be included in my navit-package.

http://talk.maemo.org/showpost.php?p...&postcount=127

Remember to adjust correct path to YOUR map-file in maps.xml.

Hope this helps,
/h

Aaa, ok :) I though you had included all necessary files in the package including xml-files. Will try that out, thanks dude!

Edit: Hallelujah! Works :) But still quite unusable due to OpenStreetMaps not including enough streets and looking pretty ugly to me also. Would be great if I could use maps from GarminXT I've purchased for S60 -platform.

hara 2010-03-09 08:54

Re: Navit on N900
 
You can modify the OSD.xml file to your liking. There are a couple of example OSD's on navit wiki (http://wiki.navit-project.org/index.php/OSD_Layouts)

I agree about the finnish openstreet maps, they're very limited. I cannot find my homestreet on it.

Garmin option is enabled in this navit version, so feel free to try it. I had no success on it, I might have a locked garmin map. To enable garmin map, edit /home/user/.navit/maps.xml like this:
Code:

...
<map type="garmin" enabled="yes" data="/path/to/gmapsupp.img"/>

and in Navit settings, you can then choose which map to use if you have more than 1 map configured in maps.xml. Or you can just disable unused maps in maps.xml with "enabled=no".

Seems I need to register myself to garage before I can upload there :(

Here's screen shot from my current location, bad signal (I'm inside).

http://media.share.ovi.com/m1/s/1834...86992d3712.jpg

gnasgame3 2010-03-09 09:59

Re: Navit on N900
 
does it do voice navigation

d-iivil 2010-03-09 10:06

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 560913)
You can modify the OSD.xml file to your liking. There are a couple of example OSD's on navit wiki (http://wiki.navit-project.org/index.php/OSD_Layouts)

I agree about the finnish openstreet maps, they're very limited. I cannot find my homestreet on it.

Garmin option is enabled in this navit version, so feel free to try it. I had no success on it, I might have a locked garmin map. To enable garmin map, edit /home/user/.navit/maps.xml like this:
Code:

...
<map type="garmin" enabled="yes" data="/path/to/gmapsupp.img"/>

and in Navit settings, you can then choose which map to use if you have more than 1 map configured in maps.xml. Or you can just disable unused maps in maps.xml with "enabled=no".

Seems I need to register myself to garage before I can upload there :(

Here's screen shot from my current location, bad signal (I'm inside).

http://media.share.ovi.com/m1/s/1834...86992d3712.jpg

Locked Garmin maps seem to be no go, so maps from S60 version won't work :-/
OSD maps doesn't find my home, my work nor even Mannerheimintie at Helsinki :-D

hara 2010-03-09 10:23

Re: Navit on N900
 
Quote:

Originally Posted by gnasgame3 (Post 560964)
does it do voice navigation

Yes. You need to install espeak.

hara 2010-03-09 10:24

Re: Navit on N900
 
Quote:

Originally Posted by D-Iivil (Post 560974)
Locked Garmin maps seem to be no go, so maps from S60 version won't work :-/
OSD maps doesn't find my home, my work nor even Mannerheimintie at Helsinki :-D

Then I guess this is pretty much useless to Finnish people without unlocked garmin maps.

Helmuth 2010-03-09 10:34

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 560990)
Then I guess this is pretty much useless to Finnish people without unlocked garmin maps.

Or you need to use OSM2Go on your N900 quite a lot the next couple of weeks. Here in Germany the Open Streetmaps are very well covered. Often even betten than google maps.

svalavuo 2010-03-09 10:41

Re: Navit on N900
 
Quote:

Originally Posted by D-Iivil (Post 560974)
OSD maps doesn't find my home, my work nor even Mannerheimintie at Helsinki :-D

How come it doesn't?

I have extracted whole Finland and using Navit for navigation in Helsinki.
For some reason (as I have stated here earlier) I can't route whole route between Helsinki and Rauma, but Navit works fine at both ends.

d-iivil 2010-03-09 12:22

Re: Navit on N900
 
Quote:

Originally Posted by svalavuo (Post 561006)
How come it doesn't?

I have extracted whole Finland and using Navit for navigation in Helsinki.
For some reason (as I have stated here earlier) I can't route whole route between Helsinki and Rauma, but Navit works fine at both ends.

Well because there seems to be a lots of streets missing from OSM database. Try to search one of these:
Helsinki, Pienen Villasaaren Tie
Lohja, Kiiskinkatu

Tell me if your's finds those :)

Stoned Hippy 2010-03-15 12:29

Re: Navit on N900
 
Could someone please re-upload the latest build as the last link doesn't seem to be working any more.
Thanks!

hara 2010-03-15 19:17

Re: Navit on N900
 
@Stoned Hippy: I have in progress a newer package (svn3014). I have managed to pack them in more standard way (navit, navit-data and so on). Just have some problems with icons again. I'll try to release it tomorrow if I can make it to work again. Stay tuned ;)

Stoned Hippy 2010-03-15 19:35

Re: Navit on N900
 
Cheers dude, looking forward to it!

hara 2010-03-16 14:33

Re: Navit on N900
 
Hi again. Here's an updated navit-package, from svn version 3014 (packaged in a more standard way).

As usual, please uninstall any previously installed navit-packages to avoid any (harmful) side-effects. You should be safe with your configuration files in /home/user/.navit/*.xml. If you haven't those files, grab them from here (you don't need to load the icon-package) http://talk.maemo.org/showpost.php?p...&postcount=127 and PLEASE read navit-wiki to learn how to configure it right before you come here and say it doesn't work. You need to do the configuring only once.

As I started from scratch, I forgot to set some dependencies. Will do that with next update, if there will be one. So if you lack icons in menu, install librsvg2-common. For speech support, you need espeak with it's deps.

Garmin option is still enabled. If anyone has Garmin maps, please do try if it works. I still haven't got it to work, only displays some garbage on screen.

I still haven't found a better place to share this than rapidshare, so sorry about that. I put it on a premium account, so it will be accessible for a longer period. Download the zip-file, unpack its contents to n900, and install them as root.

Code:

sudo gainroot
apt-get install librsvg2-common  # not necessary in case you already have it
dpkg -i /path/to/navit*.deb
exit

That should be it. If something breaks up, too bad.

You'll find the zip here http://rapidshare.com/files/364129403/navit-svn3014.zip

Good luck!
/h

les_garten 2010-03-16 17:27

Re: Navit on N900
 
Hi Hara,
I have never installed this because it just seemed troublesome. Can you make a guide for how to do this for a new installer?

hara 2010-03-16 17:35

Re: Navit on N900
 
Quote:

Originally Posted by les_garten (Post 569523)
Hi Hara,
I have never installed this because it just seemed troublesome. Can you make a guide for how to do this for a new installer?

Check out my post above yours, in the code box. That's how its installed. You then need to configure the xml files in /home/user/.navit to your needs. This thread has some guides about that. Navit wiki is also worth visiting.

les_garten 2010-03-16 18:45

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 569531)
Check out my post above yours, in the code box. That's how its installed. You then need to configure the xml files in /home/user/.navit to your needs. This thread, etc. has some guides about that. Navit wiki is also worth visiting.

I thought there were other deps to DL, files to find, etc

Kjow 2010-03-16 19:18

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 569245)
Hi again. Here's an updated navit-package, from svn version 3014 (packaged in a more standard way).

As usual, please uninstall any previously installed navit-packages to avoid any (harmful) side-effects. You should be safe with your configuration files in /home/user/.navit/*.xml. If you haven't those files, grab them from here (you don't need to load the icon-package) http://talk.maemo.org/showpost.php?p...&postcount=127 and PLEASE read navit-wiki to learn how to configure it right before you come here and say it doesn't work. You need to do the configuring only once.

As I started from scratch, I forgot to set some dependencies. Will do that with next update, if there will be one. So if you lack icons in menu, install librsvg2-common. For speech support, you need espeak with it's deps.

Garmin option is still enabled. If anyone has Garmin maps, please do try if it works. I still haven't got it to work, only displays some garbage on screen.

I still haven't found a better place to share this than rapidshare, so sorry about that. I put it on a premium account, so it will be accessible for a longer period. Download the zip-file, unpack its contents to n900, and install them as root.

Code:

sudo gainroot
apt-get install librsvg2-common  # not necessary in case you already have it
dpkg -i /path/to/navit*.deb
exit

That should be it. If something breaks up, too bad.

You'll find the zip here http://rapidshare.com/files/364129403/navit-svn3014.zip

Good luck!
/h

How to enable GPS receiver? No simbols or popup (like ovi maps)

Thanks!

dashti 2010-03-16 22:18

Re: Navit on N900
 
can't see the map in Kuwait
Not work in Kuwait
the app auto shutdown after open it in 2 min.

白い熊 2010-03-16 23:57

Re: Navit on N900
 
Quote:

Originally Posted by hara (Post 560337)
Here's an updated package, svn version 2985 (some changes to gui_internal and bookmarks).
Good luck on this http://rapidshare.com/files/36072647...armel.deb.html and tell here how it goes

From rapidshare:
Quote:

Error

This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.
This limit is reached.
To download this file, the uploader either needs to transfer this file into his/her Collector's Account, or upload the file again. The file can later be moved to a Collector's Account. The uploader just needs to click the delete link of the file to get further information.

hara 2010-03-17 08:51

Re: Navit on N900
 
Quote:

Originally Posted by Kjow (Post 569611)
How to enable GPS receiver? No simbols or popup (like ovi maps)

Thanks!

Did you even try to read the post I gave a link to?

Quote:

Originally Posted by Trek1701
[snipped]
If you like it, place all *.xml files at /home/user/.navit

The speech.xml file is set to use the US language, and the maps.xml are pointing to US Florida maps, just for example.
The position and type of icons / text messages are set in the OSD.xml file.

GPS is enabled by default. You either have incorrect xml files, they're at wrong places or you're using the default xml-files. Download the Navit.zip package from Trek1701 post earlier in this thread. Unpack it to /home/user/.navit and modify the files to your liking.

hara 2010-03-17 08:52

Re: Navit on N900
 
Quote:

Originally Posted by 白い熊 (Post 569826)
From rapidshare:

Old version, don't use this one, please.

Stoned Hippy 2010-03-17 09:43

Re: Navit on N900
 
I just installed Navit for the first time and after some small problems it's working ok. I configured it to use both OSM maps and Garmin maps.

The OSM work fine but the program crashes after a couple of minutes.

I've also run the program using an unlocked Garmin map (first person?) and it seemed to run ok. The map had very little detail but i'm not sure whether this is the program or the map. Again the program crashes after a couple of minutes.

I've been using the xml files that hara linked in their post.

hara 2010-03-17 09:46

Re: Navit on N900
 
@Stoned Hippy: Could you please run navit from xterminal, and paste a few lines here, I'll have a peek at it. This version of navit hasn't crashed on me yet (knock on wood).

Stoned Hippy 2010-03-17 10:15

Re: Navit on N900
 
No problem but i'm afraid I don't know how to run a prog from xterminal...

bonsai009 2010-03-17 10:27

Re: Navit on N900
 
@Stoned Hippy: It`s easy, open xterminal and then type navit +ENTER, that`s all.

hara 2010-03-17 10:40

Re: Navit on N900
 
@Stoned Hippy: Could you be more precise about when/how it crashes? While driving, or even when not "routing" with navit?

I'll put a new version probably tomorrow, navit developers seem to be really active with it, svn is already at 3024. But now I'm off to work.

jakiman 2010-03-17 10:58

Re: Navit on N900
 
I will try out hara's new build. But I want to ask, is it useable now as a proper turn by turn navigation for daily use?

d-iivil 2010-03-17 11:08

Re: Navit on N900
 
Quote:

Originally Posted by jakiman (Post 570219)
I will try out hara's new build. But I want to ask, is it useable now as a proper turn by turn navigation for daily use?

IMHO the answer is no due at least these things:
- lack of good maps (OpenStreetMaps here in Finland sucks)
- it's still slow and jerky, I suppose this is because lack of OpenGL?

Edit: Hara's latest build crashes on my device too. I haven't tried even navigate with it yet since the program usually shuts itself down before I'm able to enter anything else :-D


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

vBulletin® Version 3.8.8