![]() |
Re: Navit GPS (and libgarmin) for os2008
[QUOTE=Mara;300990]I did read all that good progress of this app and had enough curiosity to install it, and got it working... :)
Same for me! I had tried before, but the configuration via xml-file made me stop trying. Now, with the sample-configuration files and the wiki everything went smooth. All Nxx0-users should give it a try. It works really fine. But: As I'm living in Germany, I'm a little confused by the announcements made by an English-accented voice, spelling German streetnames and unknown words ... It's quite funny, but honestly: Is there a way to edit the navit.xml-file for use by German users, wanting to here a German announcement? For use in maemo-mapper I installed flite 1.3. Since I didn't install anything else, I think navit uses it as well. Thank you again for this surprisingly good working piece of software! Karl |
Re: Navit GPS (and libgarmin) for os2008
Why can't I have multiple maps???
When I use the line: /media/mmc1/maps/navit/*.bin in my XML I get no maps at all... And yes I do have maps there. If I specify florida.bin or gerogia.bin it works fine, but I travel a lot and was hoping to not have to modify that line when I travel between states... OR.. Is there a way to combine the 2 states into one file and use it that way??? I am using the CloudMade Maps |
Re: Navit GPS (and libgarmin) for os2008
scanman77
You can have multiple map lines in your setup. Do one for Florida and one line for Georgia. I have both Ohio and Indiana specified. They work just fine, as if one map. |
Re: Navit GPS (and libgarmin) for os2008
Thanks I will give it a shot.. A gui that starts before you run Navit to change some setting like this, or the ability to add maps while running Navit would be awesome.
|
Re: Navit GPS (and libgarmin) for os2008
Quote:
|
Re: Navit GPS (and libgarmin) for os2008
Hi all, I need to clarify something about the multiple maps. I initially wrote that section of the wiki because it was the method that I used, I didn't realize that using *.bin will not actually grab multiple map files but actually grab just the first map file in the directory. I confirmed this with the developer I thought I updated the wiki to state as such. If there is a place in the wiki that still shows this let me know so I can change it.
Note that *.bin still does have it's use... If you are using just a single map file in a single directory then whenever you downoad an updated map file you can place it into the directory and not have to worry about modifying the navit.xml file with the new map name. Just remember to delete your old map file from the directory. On the same note to specifiy multiple map files you will have to add multiple lines to the navit.xml file with the file name for each map. An alternative is just to use the Navit t extractor at: http://maps.navit-project.org/download/ This will allow you to download a map of just the area you want to use. |
Re: Navit GPS (and libgarmin) for os2008
Oh, and as for a gui to change the settings. There is one planned and I did see on the IRC channel that someone did work on something for it. It apparently did not make it into the SVN source code so either it's not quite polished yet for use or the main developer wanted to go in another direction.
For those of you who don't know, Navit has one main developer who also started Navit. There are a few others that regularly contribute code and fixes but most of the work though falls on the shoulders of the guy who started Navit. As a result there isn't a lot of manpower to spread around so somethings that would definitly be nice to have get put on a back burner while issues of having blue oceans and an overview map are higher priority. The main developer is very nice though and welcomes anyone that wants to help. I actually got involved with Navit because I was asking him a lot of the questions that have come up here. After answering he asked if I could update the wiki for him and the rest is history... |
Re: Navit GPS (and libgarmin) for os2008
a couple of navit questions...
first, i just tried this again after giving it a shot about a year plus ago--impressed with the progress, and it's nice to see such continued active development. 1. is it possible to import a gpx route a la MM or roadmap? the routing in navit still isn't quite ready for prime time, and even on the commercial systems i oftentimes prefer my own route. 2. is it possible to configure the logic with which navit routes? preferential highway v. back roads for example, or (better yet) set a minimum speed limit? don't know if the osm maps contain that info. navit routed me on a 70 mi trip through every side street possible. estimated TOA 5 hours, instead of the actual 1 1/4 that it takes. 3. is there a parameter for adjusting the zoom level at which street names are displayed? often, i need to zoom way in to get that info; i suppose this is to speed rendering. 4. any imperial measurements for us yanks? or am i just going to have to learn how far a km REALLY is? 5. having trouble finding addresses. when i click "town" it defaults to the uk. i can change "country" to us, but it only shows up after typing "united". then i must go back to actions menu (since the next entry is then for street, and nothing shows up) select "town" again, at which point i can type a city. my city, however, doesn't show up (it's the capital of the state, so it should). i have no idea how to dig into the osm data to see where the problem is, or how to contribute. thanks! |
Re: Navit GPS (and libgarmin) for os2008
I've only had my n810 for a week or so, and navit for less than that, so I'm a novice.... but:
4. I set up scratchbox and the Nokia devel kit just to use this patch: http://trac.navit-project.org/ticket/12. It's an important issue for U.S. and Canadian users. I believe the patch is worth incorporating, but it needs re-writing.. as-is, you're better off using km and km/h. I ended up writing my own km-to-miles conversion (using the patch as a starting point)....I was able to compile, but not test it (but if anyone would like me to send a patch, PM me). 3. I have the same question. I don't see any street-name labels at some zoom levels where labels would be appropriate. Not sure if this is an issue with Navit, or with my CloudMade .navit.bin file, but there is a specific highway near me with a "corrupt" label. (The highway name is printed in a spiral, dozens of times, cluttering the display.) Quote:
|
Re: Navit GPS (and libgarmin) for os2008
hoorah, it looks like you have some coding skills...:) It'as been a while since I last spoke with the developer of Navit but I know he would be more then happy to have someone submit a patch for converting units. You can contact him on the #navit channel on freenode.net. He goes by cp15 and monitors the channel quite often. If you don't get a response right away try back in a couple of hours. He is in Europe somewhere so you will have to account for the time difference.
As for the highway name thing, I just submitted that yesterday as ticket 408. I to would like to see a fix for this issue as it can slow navit down quite a bit. |
Re: Navit GPS (and libgarmin) for os2008
I'm seeing the same bug as in your screenshot (in my case with an SVN build and a CloudMade map of DC).
What settings have you looked at? I had some success with setting a smaller font size in my navit.xml. Painting speed is improved, but the problem didn't go away entirely. I now have the OSD showing the correct speed in mph, BTW. Some additional work is needed, but I posted a patch to tracker. Quote:
|
Re: Navit GPS (and libgarmin) for os2008
I haven't played around with any settings. I'm currently on a business trip and I don't have the time to dig into things like this unfortunately. I hope to get more involved again in a month or two when things settle down.
Did you by chance get a chance to chat with cp15? I would be curious to know if and when he might be able to apply your patches because I sure would like to have some English units... |
Re: Navit GPS (and libgarmin) for os2008
I haven't talked to cp15.... the gtk statusbar is still metric-only, so I doubt he'd apply the patch at present. Will ask anyway. (I posted my patch so the author of the original patch could add mph to his.)
Do you have the statusbar enabled on your navit? I don't think many N8X0 users do, so I can send you my deb if you'd like (as long as you aren't using garmin maps.... pretty sure libgarmin isn't installed on my dev kit). |
Re: Navit GPS (and libgarmin) for os2008
Hi, sorry for the delayed reply. I do not have my status bar enabled. I am only using the Internal GUI.
|
Re: Navit GPS (and libgarmin) for os2008
Excuse me for pouring my anger and frustration into this post, also excuse my cussing words - delete them if you like, I won't.
Linux is a joke. I mean, seriously - how can you expect me to treat it as a real alternative to any other OS out there, when I, who consider myself quite capable of dealing with most issues on Windows, spent 2 ****ing days trying to set up this Navit to work with freaking Garmin maps and am far from achieving my goal. I mean, I am no Linux fan/expert, probably not even an amatuer, but I would hope that after spending so much time doing this I would get somewhere. But NOOOOO, I guess I should be using Linux at least for 2 years as my primary OS to figure this **** out. Can you believe this? I actually went through around 24 hour of video lessons of introduction to Linux, learning some basic stuff - for what? It has no ****ing use to me if I have to spent hours upon hours figuring there is always something missing and that I am just not there yet. And holy **** - I know I took lessons recorded in 2004 - but noone - and I don't know if this is newer stuff - EVER mentioned anything about SVN or freaking CVS. User friendliness on scale 1-100? -10 period So yeah, had to get this out. Now, I would appreciate some help ... I have a Nokia n810, probably corrupted installation of libgarmin somewhere (freaking svn DOES NOT WORK OUT OF COMMAND LINE!! - something about UTF8 error (?), so i had to install it using .deb package, which probably messed everything up). Anyway i could start over? and is there any tutorial - like step by step and not in form like this: "Be sure to update navit to latest cvs reconfigure and build navit. " You might just as well say "Bla bla, bla, blah, blah bla ... BLA!" ****. Well thanks for reading, sorry for my anger again and take care. |
Re: Navit GPS (and libgarmin) for os2008
sword, your anger seems to be a little misguided. Linux is not Windows (thank goodness for that...) so you can't expect everything you thought you knew about computers to just automatically transfer over. It's a different mindset, different philosophy.
With that said... where are you getting your instructions to install Navit? You do NOT need to compile Navit. There are already nightly SVN builds available. Doing a simple google search of n810+navit brings up in the first position the wiki for installing Navit on the N810. The first thing mentioned is where to go to get the Navit SVN repository installed on your tablet (linked to the maemo.org website). Point, Click, Install, Simple... For setting up Navit the rest of the wiki is pretty self explanatory and contains everything you need to get going including sample configuration files with included commands to enter. Although not quite as simple as installing Navit it is still manageable. Finally... I think your expectations need to be checked with reality. Navit is not advertised as release quality, nor was it even designed for the Nokia tablets in general. One of the community members here was kind enough to provide a way to install it on our tablets so the rest of us could play around with it. There is a LOT of work that still has to be done and it will probably be months if not a year or two before you can expect Navit to be polished enough to be considered a release. If you are thinking you are going to get a Tom Tom replacement by installing Navit I suggest you move along. If you are looking for something that has vector maps, works on the tablets and can do limited offline routing and you don't mind playing around with alpha software then use Navit. |
Re: Navit GPS (and libgarmin) for os2008
Alright. I did actually use the install method you mentioned for Navit - and it works just fine this way except any maps actually showing up. Otherwise - for setting up I used this wiki articles:
1. http://wiki.navit-project.org/index....n770/n800/n810 2. http://wiki.navit-project.org/index.php/Garmin_maps I did use two example configuration files provided in frist article. And I get the look I was supposed to with OSD - though as mentioned, no map view. I am aware that this setting will only detect maps set in /media/mmc1/map/ directory and this is where I placed my Gaarmin img file. Now to the libgarmin configuration - this is where things got frustratingly difficult for me. Firstly, they are only available through SVN - which incidentally I know nothing about. But i figured it was not installed on my n810, as the command svn did not return anything but "command not found". Therefore I installed SVN support (point and click method). Alright - I thought I was getting somewhere - I try to use command svn co again to receive the files I needed. First time I received something about UFT-8 error and while I tried to recreate the problem and actual error message, this time svn co worked and I think I have the files I need. (just to explain - when it didn't work before, i tried downloading one by one and putting it into directory tree, it took too long on n810 so I tried in Windows and then transfer it over USB cable, but I gave up the plan when I saw that when downloaded these files had .htm extension. So I found this .deb package at http://www.tecdencia.net/navit/ (at the bottom) ... it claimed to have installed, but any tests were unsuccessful.) Now, back on track - I have the directory structure I need to execute following commands: cd libgarmin ./autosh.sh make And, as root : make install and then: Be sure to update navit to latest cvs reconfigure and build navit. cd ../.. ./autogen.sh && ./configure && make Now this last part as I mentioned means nothing to me - update navit to latest cvs?! reconfigure and build? Really? Yeah, I ll do that ... Well unfortunately I didn't get that far but it sure took my initiative away. I stopped at ./autosh.sh now. It just returns "-sh: ./autosh.sh: not found" though it is clearly there in the folder with other files. Using sudo, full path to the file doesn't work either and I can't actually determine what's wrong. So here I am. And before this worked and I used libgarmin .deb package I also already set up navit.xml to point to appropriate garmin map. I also found these instructions - http://libgarmin.sourceforge.net/ - but they seem to do the same thing by using more commands? Which should I follow? |
Re: Navit GPS (and libgarmin) for os2008
I don't use the garmin maps so I am unfamiliar with what it takes to utilize those maps. The OSM maps although not perfect are what most of the development focus for Navit is on. Getting OSM maps to work are fairly straight forward and do not require any of this compiling stuff. If you can live with the limitations of OSM then try using those maps. Otherwise you might want to join the Navit irc channel on freenode.net and ask your garmin specific questions there.
|
Re: Navit GPS (and libgarmin) for os2008
Elsewhere in this thread people have asked about methods for keeping the screen display on rather than having it blank out after a few minutes. I would like to use Navit on my N800 while riding my motorcycle, but the screen display problem kept me from doing so.
I found an old post at http://talk.maemo.org/showthread.php...ghlight=arnims that describes the commands to change the screen display settings. In a nutshell, you open up a terminal on your N8xx and then use the gconftool to modify the settings. For example, to set your display dim and blank timeouts directly (for e.g. to 1/2 hour and 1 hour - 1800 and 3600 seconds respectively) run this from ssh/xterm: gconftool-2 -s "/system/osso/dsm/display/display_dim_timeout" 1800 -t INT gconftool-2 -s "/system/osso/dsm/display/display_blank_timeout" 3600 -t INT |
Re: Navit GPS (and libgarmin) for os2008
Quote:
|
Re: Navit GPS (and libgarmin) for os2008
Quote:
Quote:
|
Re: Navit GPS (and libgarmin) for os2008
Well ... someone knows if Navit runs on Maemo 5?
I'm about buying this phone ... |
Re: Navit GPS (and libgarmin) for os2008
Hey everyone, I have in troubles with Navit and Garmin maps. I installed Navit-svn-2976 from downloads.maemo.org. Then create /home/user/.navit and navit.xml/osd.xml. This works with demo map. But, after install Garmin map from http://ftp.pucpr.br/pub/tracksource/gmapsupp_v1002.zip and configured navit.xml, Navit don't display anything.
Anyone can perform test with that map? PS.: Sorry my bad english. |
Re: Navit GPS (and libgarmin) for os2008
Quote:
vehicle_gpsd:vehicle_gpsd_try_open:Trying to connect to localhost:default vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=4 evwatch=0x10ea88 :/work/compile/libgarmin/src/src/garmin.c:217:1|:libgarmin 0.1 initializing as GPS Backend :/work/compile/libgarmin/src/src/garmin.c:471:1|:Loading /media/mmc2/maps/navit/gmapsupp.img as disk image :/work/compile/libgarmin/src/src/garmin_rgn.c:1059:1|:Error can not read TRE header! :/work/compile/libgarmin/src/src/garmin_mdr.c:222:1|:HDR len =44832 our=554 :/work/compile/navit/src/navit/map/garmin/garmin.c:983:1|:Using builtin types :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_goverment_building :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_bussines_service :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_bussines_service navit:main_real:Using '/home/user/.navit/navit.xml' :/work/compile/libgarmin/src/src/garmin_obj.c:886:1|:Error no objects found |
Re: Navit GPS (and libgarmin) for os2008
I just tried it with svn-2982 (under scratchpad not my n800) and it lists:
:/work/compile/libgarmin/src/src/garmin.c:217:1|:libgarmin 0.1 initializing as GPS Backend :/work/compile/libgarmin/src/src/garmin.c:471:1|:Loading /home/neil/gmapsupp.img as disk image :/work/compile/libgarmin/src/src/garmin_rgn.c:1024:4|:Have 978 mapsets :/work/compile/libgarmin/src/src/garmin_mdr.c:222:1|:HDR len =708 our=554 :/work/compile/navit/src/navit/map/garmin/garmin.c:983:1|:Using builtin types :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_goverment_building :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_bussines_service :/work/compile/navit/src/navit/map/garmin/gar2navit.c:66:1|:Please define: poi_bussines_service Unfortunately I have no idea how to get something of this map shown. I guess I have to search for something. What towns in what country does it contain? |
Re: Navit GPS (and libgarmin) for os2008
Although stdout shows the map is loaded. It does not appear in the menu (am using the gtk ui). So something is still wrong....
|
Re: Navit GPS (and libgarmin) for os2008
One step further. When the garmin map is the only mapset enabled in navit.xml it shows up in the menu. However when searching for a town it crashes when typing char number 3.
|
Re: Navit GPS (and libgarmin) for os2008
wdehoog thanks, this map is from Brazil, entire country, but navit don't show (at menu it's ok) and don't perform city/address search... I'll re-download map file and test again.
|
Re: Navit GPS (and libgarmin) for os2008
Searching in garmin maps seems to be broken. If you can get navit to start at the correct coordinate it does show the map. I now have this in ~/.navit/center.txt:
mg: -0x493eb7 -0x27ee87 and then it starts showing Rio de Janeiro. |
Re: Navit GPS (and libgarmin) for os2008
Quote:
|
Re: Navit GPS (and libgarmin) for os2008
Hello, I need help. I tried using a garmin map along with the navit.xml and navitOSD.xml that were premade. The img file is a little over a gig (is this correct?) When I open navit, the GPS starts, but navit never opens. I'm wondering what I did wrong. I had the xml with garmin image set to yes, and had it pointing to media/mms1/maps/*.img.
After deleting out the modified xml's, navit loaded up without issue, just with no maps :) where is my mistake? |
Re: Navit GPS (and libgarmin) for os2008
You could try to run this from the X terminal:
run-standalone.sh navit maybe the problem is printed out. |
Re: Navit GPS (and libgarmin) for os2008
well i got navit to boot, must have been something i set up incorrectly. the garmin map doesnt show anything so i assume i got the wrong one. I was able to configure openstreetmap map so I'm asuming I understand the setup and the map I have is wrong. can someone shoot me a pm where i can find a USA garmin map that will work with navit. thx!
|
Re: Navit GPS (and libgarmin) for os2008
When the garmin map shows up in the menu you know it has been loaded. My problem is always how to get navit go to an area that is covered by the map. Unfortunately searching always crashes for me. A GPS could work or setting the center in navit.xml or in ~/.navit/center.txt. As for which values to use as the center that is still a mistery to my.
|
Re: Navit GPS (and libgarmin) for os2008
mrdally204: I am the one that put pre-made navit.xml files up on the wiki as well as modified the wiki instructions to use those example files. I unfortunatly had a typo in the instructions that someone else just recently fixed.
On the old version of the wiki I wrote that the example navit.xml file would look for maps in /media/mmc1/map however in the navit.xml file available for download it was set to /media/mmc1/Maps. Thankfully someone else saw the issue and corrected the wiki to match the location in the xml file. So make sure that if you are using the navit.xml that is available on the wiki that your maps are in the correct spot. (In this case it should now be /media/mmc1/Maps) My apologies to anyone that downloaded the example files in the past and was frustrated with this little detail... |
Re: Navit GPS (and libgarmin) for os2008
thanks for the info. i was able to get the map to load in navit, it just doesnt show the map. my configuration is correct, i actually read the xml file for the location instead of the directions :) Again I'm thinking its the map I am trying to use. Can anyone using a map give me some hints. (size of img file, where they got it ect)
|
Re: Navit GPS (and libgarmin) for os2008
Do a search for a nearby town and see if anything comes up. If nothing comes up then something is definitly wrong with your setup.
If you do have items that come up in search then one typical problem with new installs is that Navit doesn't know where you are located when it is first run. As a result it draws your location somewhere on the planet (not sure where it defaults to) where your map data probably doesn't contain anything to display. The result is what appears to be an empty map and zooming out doesn't get you far enough to see where your map data might be on the planet. There are two tricks to getting around this. The first is to do a search for a town you know should be contained within your map data. Then click on "display on map" and Navit should then take you to that location. The other is to wait until you get a GPS fix and assuming you have map data for your location Navit center to your location and display your data. Finally... You may have stated this before but are you using OSM data or something else? If you are using OSM data are you getting it from the following location: http://maps.navit-project.org/download/ If not, try downloading your map data using that utility. |
Re: Navit GPS (and libgarmin) for os2008
Thanks for the tips. I am attempting to use a garmin img file. Nothing is brought up when I search for town. I can successfully load up OSM file, but would prefer the garmin as I would believe it should have better map/POI/routing information built in, Or am I mistaken?
*edit There is a green check next to my garmin img file so it seems like it can locate it, it just wont load the map file |
Re: Navit GPS (and libgarmin) for os2008
Trac 282 is now closed/Fixed courtesy of chollya. The patch that I made sooo long ago is now part of Navit for the N8/9x0.
Gerritv |
Re: Navit GPS (and libgarmin) for os2008
Wrote somewhere else, but I rephrase here:
Will Garmin NT maps work under Navit? Thanks in advance |
All times are GMT. The time now is 02:12. |
vBulletin® Version 3.8.8