http://wiki.webos-internals.org/api.php?action=feedcontributions&user=Hape&feedformat=atomWebOS Internals - User contributions [en]2024-03-29T09:51:57ZUser contributionsMediaWiki 1.35.1http://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=21871Application:SpeechDispatcher2012-11-01T08:08:19Z<p>Hape: /* Can my Mojo app use this service */</p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
[[Image:SpeechDispatcher.png|50px|left]]<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit|Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How does it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Where I can get help ==<br />
<br />
See the thread on Precentral: http://forums.precentral.net/showthread.php?p=2549731<br />
<br />
== Can my PDK app use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Starting with version 0.7.1-14 the package contains 4 Javascript service that can be used in Mojo or Enjo Apps. The service url is palm://org.webosinternals.speechd.service and has the following methods:<br />
<br />
<br />
<br />
* Name: getOutput, Parameter: n.a. <br> Returns the current default audio output channel in the 'reply' property.<br />
<br />
this.request = new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'getOutput',<br />
parameters: {},<br />
onSuccess: function(result) {<br />
this.setHtml(result.reply);<br />
delete this.request;<br />
}.bind(this),<br />
onFailure: function(err) {<br />
delete this.request;<br />
Mojo.Log.error('Unable to get speech dispatcher audio output');<br />
Mojo.Controller.errorDialog('Unable to get speech dispatcher audio output');<br />
}.bind(this)<br />
});<br />
<br />
<br />
<br />
* Name: setOutput, Parameter: output. <br> Set the default audio output channel. This channel is used for all text that is spoken from any application (e.g. Navit) that do not set a special audio channel. Use the output parameter of the say method if you only what to send this text to a specific audio channel (e.g. Use the espeak-ringtone output of the say method if you speak the caller name)<br />
<br />
The allowed values for output are:<br><br />
espeak-voip: used for phone calls. This channel uses the devce speaker even if the device is connected to a buetooth output. If a phone call is active the audio is mixed into it.<br><br />
espeak-ringtones: Uses for ringtones<br><br />
espeak-feedback: <br><br />
espeak-alarm: Used for caledar or other device alarms<br><br />
espeak-media: all webOS appication audio output<br><br />
espeak-navigation: The running volume of audio from the media is reduced while the text is spoken. ATTATION: The seech output will be dissmissed if the phone is rining or an arlam is active <br><br />
All audio channes uses the device audio settinge. Example: If you use the espeak-ringtones output and the phone is on mute the text will not be spoken. If not on mute it will use the volume of the rintone settings settings.<br />
<br />
this.request = new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'setOutput',<br />
parameters: {<br />
"output":audio<br />
},<br />
onSuccess: function(result) {<br />
this.setHtml(audio);<br />
delete this.request;<br />
}.bind(this),<br />
onFailure: function(err) {<br />
delete this.request;<br />
Mojo.Log.error('Unable to set speech dispatcher audio output');<br />
Mojo.Controller.errorDialog('Unable to set speech dispatcher audio output');<br />
}.bind(this)<br />
});<br />
<br />
<br />
<br />
* Name: say, Speak some text.<br><br />
Parameter: say are all optional expect of text. The default language is English interdependent of the device setting!<br><br />
text: The test to be spoken<br><br />
language: text language (iso code)<br><br />
output: Use a special output instead of the default, the possible values are listet in the setOutput method<br><br />
rate: rate of the speech (between -100 and +100, default: 0)<br><br />
pitch: pitch of the speech (between -100 and +100, default: 0)<br><br />
volume: volume (intensity) of the speech (between -100 and +100, default: 0) <br><br />
type: voice type (male1, male2, male3, female1, female2, female3, child_male, child_female)<br> <br />
<br />
new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'say',<br />
parameters: {<br />
language: "en",<br />
text: $L("Let us do a test")<br />
}<br />
});<br />
<br />
<br />
You can test all methods from novaterm:<br><br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/checkperms '{}'<br />
{"reply":{"root":true,"homebrew":true},"returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/say '{"text":"Dies ist ein Test","language":"de","output":"espeak-ringtones"}'<br />
{"reply":"","error":"","returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/setOutput '{"output":"espeak-ringtones"}'<br />
{"reply":"(00639/790284550) org.webosinternals.speechd (stop) running, process 1221\n(00639/790559209) org.webosinternals.speechd (stop) pre-stop, (main) process 1221\n(00639/790681280) org.webosinternals.speechd (stop) stopping, process 1221\n(00639/791108526) org.webosinternals.speechd (stop) killed, process 1221\n(00639/791261114) org.webosinternals.speechd (stop) post-stop\n(00639/791566289) org.webosinternals.speechd (stop) waiting\n(00639/810426153) org.webosinternals.speechd (start) waiting\n(00639/810609259) org.webosinternals.speechd (start) starting\n(00639/810700811) org.webosinternals.speechd (start) pre-start\n(00639/810822882) org.webosinternals.speechd (start) spawned, process 2334\n(00639/812257208) org.webosinternals.speechd (start) post-start, (main) process 2334\n(00639/812409796) org.webosinternals.speechd (start) running, process 2334\n","error":"","returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/getOutput '{}'<br />
{"reply":"espeak-ringtones","error":"","returnValue":true}</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=21869Application:SpeechDispatcher2012-11-01T08:03:40Z<p>Hape: </p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
[[Image:SpeechDispatcher.png|50px|left]]<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit|Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How does it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Where I can get help ==<br />
<br />
See the thread on Precentral: http://forums.precentral.net/showthread.php?p=2549731<br />
<br />
== Can my PDK app use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Starting with version 0.7.1-14 the package contains 4 Javascript service that can be used in Mojo or Enjo Apps. The service url is palm://org.webosinternals.speechd.service and has the following methods:<br />
<br />
<br />
<br />
* Name: getOutput, Parameter: n.a. <br> Returns the current audio output channel in the 'reply' property.<br />
<br />
this.request = new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'getOutput',<br />
parameters: {},<br />
onSuccess: function(result) {<br />
this.setHtml(result.reply);<br />
delete this.request;<br />
}.bind(this),<br />
onFailure: function(err) {<br />
delete this.request;<br />
Mojo.Log.error('Unable to get speech dispatcher audio output');<br />
Mojo.Controller.errorDialog('Unable to get speech dispatcher audio output');<br />
}.bind(this)<br />
});<br />
<br />
<br />
<br />
* Name: setOutput, Parameter: output. <br> Set the audio output channel.<br />
<br />
The allowed values for output are:<br><br />
espeak-voip: used for phone calls. This channel uses the devce speaker even if the device is connected to a buetooth output. If a phone call is active the audio is mixed into it.<br><br />
espeak-ringtones: Uses for ringtones<br><br />
espeak-feedback: <br><br />
espeak-alarm: Used for caledar or other device alarms<br><br />
espeak-media: all webOS appication audio output<br><br />
espeak-navigation: The running volume of audio from the media is reduced while the text is spoken. ATTATION: The seech output will be dissmissed if the phone is rining or an arlam is active <br><br />
All audio channes uses the device audio settinge. Example: If you use the espeak-ringtones output and the phone is on mute the text will not be spoken. If not on mute it will use the volume of the rintone settings settings.<br />
<br />
this.request = new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'setOutput',<br />
parameters: {<br />
"output":audio<br />
},<br />
onSuccess: function(result) {<br />
this.setHtml(audio);<br />
delete this.request;<br />
}.bind(this),<br />
onFailure: function(err) {<br />
delete this.request;<br />
Mojo.Log.error('Unable to set speech dispatcher audio output');<br />
Mojo.Controller.errorDialog('Unable to set speech dispatcher audio output');<br />
}.bind(this)<br />
});<br />
<br />
<br />
<br />
* Name: say, Speak some text.<br><br />
Parameter: say are all optional expect of text. The default language is English interdependent of the device setting!<br><br />
text: The test to be spoken<br><br />
language: text language (iso code)<br><br />
output: Use a special output instead of the default, the possible values are listet in the setOutput method<br><br />
rate: rate of the speech (between -100 and +100, default: 0)<br><br />
pitch: pitch of the speech (between -100 and +100, default: 0)<br><br />
volume: volume (intensity) of the speech (between -100 and +100, default: 0) <br><br />
type: voice type (male1, male2, male3, female1, female2, female3, child_male, child_female)<br> <br />
<br />
new Mojo.Service.Request('palm://org.webosinternals.speechd.service', {<br />
method: 'say',<br />
parameters: {<br />
language: "en",<br />
text: $L("Let us do a test")<br />
}<br />
});<br />
<br />
<br />
You can test all methods from novaterm:<br><br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/checkperms '{}'<br />
{"reply":{"root":true,"homebrew":true},"returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/say '{"text":"Dies ist ein Test","language":"de","output":"espeak-ringtones"}'<br />
{"reply":"","error":"","returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/setOutput '{"output":"espeak-ringtones"}'<br />
{"reply":"(00639/790284550) org.webosinternals.speechd (stop) running, process 1221\n(00639/790559209) org.webosinternals.speechd (stop) pre-stop, (main) process 1221\n(00639/790681280) org.webosinternals.speechd (stop) stopping, process 1221\n(00639/791108526) org.webosinternals.speechd (stop) killed, process 1221\n(00639/791261114) org.webosinternals.speechd (stop) post-stop\n(00639/791566289) org.webosinternals.speechd (stop) waiting\n(00639/810426153) org.webosinternals.speechd (start) waiting\n(00639/810609259) org.webosinternals.speechd (start) starting\n(00639/810700811) org.webosinternals.speechd (start) pre-start\n(00639/810822882) org.webosinternals.speechd (start) spawned, process 2334\n(00639/812257208) org.webosinternals.speechd (start) post-start, (main) process 2334\n(00639/812409796) org.webosinternals.speechd (start) running, process 2334\n","error":"","returnValue":true}<br />
root@HPPre3:/# luna-send -n 1 palm://org.webosinternals.speechd.service/getOutput '{}'<br />
{"reply":"espeak-ringtones","error":"","returnValue":true}</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=13655Application:Navit2011-03-06T09:36:59Z<p>Hape: /* Where do you get the latest version of Navit for WebOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
[[Category:Application]]<br />
This page is currently available in two languages:<br />
:[[Image:Australia.png]] [[Image:USA.png]] [[Application:Navit]]<br />
:[[Image:France.png]] [[Application:Navit-FR]]<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Release Notes ==<br />
<br />
The release notes can be found at [[Application:NavitReleaseNotes]].<br />
<br />
== Where do you get the latest version of Navit for WebOS 1.4.5 and above ? ==<br />
<br />
WEBOS 2.1.0 is working with 0.5.0 4254M and above ( HaPe at 06 Mar 2011).<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If the response from your device does not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the empty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. '''There was a recent problem with the Navit planet extractor - this should now be fixed as of 19:22, 18 October 2010 (UTC).'''<br />
Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version FIRST.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment markers from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Multiple maps. Using *.bin will not actually grab multiple map files but actually grab just the FIRST map file in the directory. 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 download 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. To specify multiple map files you will have to add multiple lines to the navit.xml file with the file name for each map, switch between them via the settings/maps onscreen menu. Extra maps may be for your holiday trips to Hawaii allowing you to set up bookmarks in advance without GPS using the instructions here http://www.webos-internals.org/wiki/Application:Navit#On_how_to_plan_a_route. Having the Garmin BaseMap in your mapset allows you to see the whole world when you zoom out.<br />
To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/Australia.navit.bin"/><br />
<map type="binfile" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/Hawaii.navit.bin"/><br />
<map type="garmin" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/garmin/gmapbmap.img"/><br />
</mapset><br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major routes of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the application<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Changing the display of POI (Points of interest) symbols ==<br />
<br />
you can switch every POI symbol off and on, but there is no Menu function to do it. Connect your Pre in USB Mode and open "appdata/org.webosinternals.navit/navit_layout.xml".<br />
<br />
'''Make a backup of the file before you start and be careful. Navit will not start if you mess up the file !!!'''<br />
<br />
This file defines the different layouts that you can select (Car, Car-dark, bike and T@M). Every layout starts with a line like this:<br />
<br />
<layout name="Car" nightlayout="Car-dark" color="#ffefb7" font="Prelude"><br />
.<br />
.<br />
.<br />
</layout><br />
<br />
If you scroll down in the layout you will find the POI definitions. It starts with the line:<br />
<br />
<layer name="POI Symbols"><br />
<br />
For every defined POI symbole you find the following three lines:<br />
<br />
<itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra><br />
<br />
to switch the POI of simply remove the three lines or change them to<br />
<pre><br />
<!-- <itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra> <br />
--><br />
</pre><br />
Then you can switch them on later if you like.<br />
<br />
Navit loads the first layout that is defined in this file on startup. If you like to have a other layout you will need to move it to the beginning of the file. You can find more documentation in the navit_layout.xml file. The current version can be found in the git repository => http://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/navit/files/navit_layout.xml<br />
<br />
<br />
== Understanding ISSUES with OpenStreet Maps ==<br />
<br />
There is a list of issues that first time users keep asking about. These are not WEBOS issues but due to how NAVIT operates with OpenStreet maps. Look at <br />
http://wiki.navit-project.org/index.php/OpenStreetMaps#Problems_with_OSM_and_navit_or_navigation_in_general<br />
Look at the section below called "On how to plan a route" for advice.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
Installation of Navit only copies in the new XML files '''''if the Navit.xml is not there'''''. You need to delete the old ones to get the new. '''''Preware does NOT REMOVE THEM!'''''<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included.<br />
Remove the comment markers from the skin you plan to use and add them to the current skin. For example to use < !-- <xi:include href="$NAVIT_USER_DATADIR/navit_gui.xml"/> -- > remove the < !-- and the -- > and ADD the same in front and back of the existing skin, for example <xi:include href="$NAVIT_USER_DATADIR/navit_gui_PreNav.xml"/>. There is NO SPACE between the < and -- and similarly between -- and > in the code. The space appears in this wiki text due to formatting issues.<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
[[Image:NavitScreenshot1.jpg]]<br />
<br />
[[Image:NavitScreenshot2.jpg]]<br />
<br />
[[Image:NavitScreenshot3.jpg]]<br />
<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus v3 (still not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
Here are some FAQ about searching http://wiki.navit-project.org/index.php/OpenStreetMaps#Search_for_my_town_works.2C_but_I_can.27t_find_my_street<br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Choose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
[[Now you want to change from a CAR to a Pedestrian, Horse or BIKE!]]<br />
<br />
Choose the Main Menu, then choose Settings and you will see this<br />
<br />
[[Image:Settings_menu.png]]<br />
Now choose Vehicle and you will see this<br />
<br />
[[Image:Vehicle_screen.png]]<br />
Now select GPS and you will see your last choice which is shown here as a car.<br />
<br />
[[Image:GPS_screen_car.png]]<br />
Press once on the row Change profile to: pedestrian (for example)<br />
Then at the top of the screen press on VEHICLE. This will get you back to the GPS screen. Now if you select GPS again you will get this screen confirming you are now a pedestrian.<br />
<br />
[[Image:GPS_screen_ped.png]]<br />
Enjoy :-)<br />
<br />
[[Changing Map view (or getting rid of all the POIs)]]<br />
<br />
If you want very few POIs the simplest option is MainMenu>>Settings>>Display>>Layout>>T@H<br />
<br />
[[Image:choose T@H.png]] [[Image:T@H view.png]] <br />
Go back to map and you will see hardly any POIs. <br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== '''On how to plan a route''' ==<br />
<br />
'''OPTION 1 with GPS'''<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. <br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
<br />
'''OPTION 2 No GPS needed'''<br />
<br />
The map you see is centred on your last GPS/chosen location. Now you wish to plan a route at another location '''NOT''' on your current map so GPS is not going to work. You will not get a map on the screen for this location until the end of this setup.<br />
<br />
1) Remove all maps except the one that includes the locations you plan to use later. (if you fully understand how maps work in NAVIT this step is not necessary of course but for first timers it makes things simple to diagnose if you have troubles doing these steps.)<br />
<br />
2) Open bookmarks.txt ===== To do the edit go to USB mode, open R:\appdata\org.webosinternals.navit\bookmark.txt with any text editor you like (replace R: with your Drive Letter)<br />
<br />
3) add a new line<br />
<br />
mg: longitude latitude type=bookmark label="Location 1"<br />
<br />
Format is longitude and latitude, both in DD.ddd coordinates. For example Honolulu Stadium is -157.829 21.295, note the need for "-" for W longitude and "-" for S latitude. DD.ddd can have more d's added.<br />
<br />
4) save bookmarks.txt<br />
<br />
5) Start navit and navigate via bookmarks to "Location 1"<br />
<br />
6) If you want to go from place to place just add more bookmarks, suggest arrange them inside a new folder called "My Trip". <br />
<br />
<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12<br />
<br />
After 3 years of waiting "Yes you can". You should get miles and feet, sorry UK yds are not provided.<br />
<br />
If you want to use imperial, just add imperial="1" into your navit tag, i.e.<br />
<br />
<navit ... imperial="1" ... ><br />
<br />
This is in the navit.xml text file about Line 36. This file is in \appdata\org.webosinternals.navit so you do this in USB mode with a text editor.</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=11840Application:Navit2010-10-16T08:54:15Z<p>Hape: Removed install instructions for webos 1.4.1 as allmost all are on 1.4.5 now.</p>
<hr />
<div>[[Category:SDL]]<br />
[[Category:Application]]<br />
This page is currently available in two languages:<br />
:[[Image:Australia.png]] [[Image:USA.png]] [[Application:Navit]]<br />
:[[Image:France.png]] [[Application:Navit-FR]]<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest version of Navit for WebOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the empty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version FIRST.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment markers from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Multiple maps. Using *.bin will not actually grab multiple map files but actually grab just the FIRST map file in the directory. 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. To specify multiple map files you will have to add multiple lines to the navit.xml file with the file name for each map, switch between them via the settings/maps onscreen menu. Extra maps may be for your holiday trips to Hawaii allowing you to set up bookmarks in advance without GPS using the instructions here http://www.webos-internals.org/wiki/Application:Navit#On_how_to_plan_a_route. Having the Garmin BaseMap in your mapset allows you to see the whole world when you zoom out.<br />
To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/Australia.navit.bin"/><br />
<map type="binfile" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/Hawaii.navit.bin"/><br />
<map type="garmin" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/garmin/gmapbmap.img"/><br />
</mapset><br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Changing the display of POI (Points of interest) symbols ==<br />
<br />
you can switch every POI symbol off and on, but there is no Menu function to do it. Connect your Pre in USB Mode and open "appdata/org.webosinternals.navit/navit_layout.xml".<br />
<br />
'''Make a backup of the file before you start and be careful. Navit will not start if you mess up the file !!!'''<br />
<br />
This file defines the different layouts that you can select (Car, Car-dark, bike and T@M). Every layout starts with a line like this:<br />
<br />
<layout name="Car" nightlayout="Car-dark" color="#ffefb7" font="Prelude"><br />
.<br />
.<br />
.<br />
</layout><br />
<br />
If you scroll down in the layout you will find the POI definitions. It starts with the line:<br />
<br />
<layer name="POI Symbols"><br />
<br />
For every defined POI symbole you find the following three lines:<br />
<br />
<itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra><br />
<br />
to switch the POI of simply remove the three lines or change them to<br />
<pre><br />
<!-- <itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra> <br />
--><br />
</pre><br />
Then you can switch them on later if you like.<br />
<br />
Navit loads the first layout that is defined in this file on startup. If you like to have a other layout you will need to move it to the beginning of the file. You can find more documentation in the navit_layout.xml file. The current version can be found in the git repository => http://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/navit/files/navit_layout.xml<br />
<br />
<br />
== Understanding ISSUES with OpenStreet Maps ==<br />
<br />
There is a list of issues that first time users keep asking about. These are not WEBOS issues but due to how NAVIT operates with OpenStreet maps. Look at <br />
http://wiki.navit-project.org/index.php/OpenStreetMaps#Problems_with_OSM_and_navit_or_navigation_in_general<br />
Look at the section below called "On how to plan a route" for advice.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
Installation of Navit only copies in the new XML files '''''if the Navit.xml is not there'''''. You need to delete the old ones to get the new. '''''Preware does NOT REMOVE THEM!'''''<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included.<br />
Remove the comment markers from the skin you plan to use and add them to the current skin. For example to use < !-- <xi:include href="$NAVIT_USER_DATADIR/navit_gui.xml"/> -- > remove the < !-- and the -- > and ADD the same in front and back of the existing skin, for example <xi:include href="$NAVIT_USER_DATADIR/navit_gui_PreNav.xml"/>. There is NO SPACE between the < and -- and similarly between -- and > in the code. The space appears in this wiki text due to formatting issues.<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
[[Image:NavitScreenshot1.jpg]]<br />
<br />
[[Image:NavitScreenshot2.jpg]]<br />
<br />
[[Image:NavitScreenshot3.jpg]]<br />
<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus v3 (still not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
Here are some FAQ about searching http://wiki.navit-project.org/index.php/OpenStreetMaps#Search_for_my_town_works.2C_but_I_can.27t_find_my_street<br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
[[Now you want to change from a CAR to a Pedestrian, Horse or BIKE!]]<br />
<br />
Choose the Main Menu, then choose Settings and you will see this<br />
<br />
[[Image:Settings_menu.png]]<br />
Now choose Vehicle and you will see this<br />
<br />
[[Image:Vehicle_screen.png]]<br />
Now select GPS and you will see your last choice which is shown here as a car.<br />
<br />
[[Image:GPS_screen_car.png]]<br />
Press once on the row Change profile to: pedestrian (for example)<br />
Then at the top of the screen press on VEHICLE. This will get you back to the GPS screen. Now if you select GPS again you will get this screen confirming you are now a pedestrian.<br />
<br />
[[Image:GPS_screen_ped.png]]<br />
Enjoy :-)<br />
<br />
[[Changing Map view (or getting rid of all the POIs)]]<br />
<br />
If you want very few POIs the simplest option is MainMenu>>Settings>>Display>>Layout>>T@H<br />
<br />
[[Image:choose T@H.png]] [[Image:T@H view.png]] <br />
Go back to map and you will see hardly any POIs. <br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== '''On how to plan a route''' ==<br />
<br />
'''OPTION 1 with GPS'''<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. <br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
<br />
'''OPTION 2 No GPS needed'''<br />
<br />
The map you see is centred on your last GPS/chosen location. Now you wish to plan a route at another location '''NOT''' on your current map so GPS is not going to work. You will not get a map on the screen for this location until the end of this setup.<br />
<br />
1) Remove all maps except the one that includes the locations you plan to use later. (if you fully understand how maps work in NAVIT this step is not necessary of course but for first timers it makes things simple to diagnose if you have troubles doing these steps.)<br />
<br />
2) Open bookmarks.txt ===== To do the edit go to USB mode, open R:\appdata\org.webosinternals.navit\bookmark.txt with any text editor you like (replace R: with your Drive Letter)<br />
<br />
3) add a new line<br />
<br />
mg: longitude latitude type=bookmark label="Location 1"<br />
<br />
Format is longitude and latitude, both in DD.ddd coordinates. For example Honolulu Stadium is -157.829 21.295, note the need for "-" for W longitude and "-" for S latitude. DD.ddd can have more d's added.<br />
<br />
4) save bookmarks.txt<br />
<br />
5) Start navit and navigate via bookmarks to "Location 1"<br />
<br />
6) If you want to go from place to place just add more bookmarks, suggest arrange them inside a new folder called "My Trip". <br />
<br />
<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=11468Application:Navit2010-09-21T08:33:44Z<p>Hape: </p>
<hr />
<div>[[Category:SDL]]<br />
[[Category:Application]]<br />
This page is currently available in two languages:<br />
:[[Image:Australia.png]] [[Image:USA.png]] [[Application:Navit]]<br />
:[[Image:France.png]] [[Application:Navit-FR]]<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest version of Navit for WebOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Where do you get the latest ALPHA version of Navit for WebOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. <br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Changing the display of POI (Points of interest) symbols ==<br />
<br />
you can switch every POI symbol off and on, but there is no Menu function to do it. Connect your Pre in USB Mode and open "appdata/org.webosinternals.navit/navit_layout.xml".<br />
<br />
'''Make a backup of the file before you start and be careful. Navit will not start if you mess up the file !!!'''<br />
<br />
This file defines the different layouts that you can select (Car, Car-dark, bike and T@M). Every layout starts with a line like this:<br />
<br />
<layout name="Car" nightlayout="Car-dark" color="#ffefb7" font="Prelude"><br />
.<br />
.<br />
.<br />
</layout><br />
<br />
If you scroll down in the layout you will find the POI definitions. It starts with the line:<br />
<br />
<layer name="POI Symbols"><br />
<br />
For every defined POI symbole you find the following three lines:<br />
<br />
<itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra><br />
<br />
to switch the POI of simply remove the three lines or change them to<br />
<pre><br />
<!-- <itemgra item_types="poi_hotel" order="12-"><br />
<icon src="hotel.png"/><br />
</itemgra> <br />
--><br />
</pre><br />
Then you can switch them on later if you like.<br />
<br />
Navit loads the first layout that is defined in this file on startup. If you like to have a other layout you will need to move it to the beginning of the file. You can find more documentation in the navit_layout.xml file. The current version can be found in the git repository => http://git.webos-internals.org/?p=preware/cross-compile.git;a=blob;f=packages/apps/navit/files/navit_layout.xml<br />
<br />
<br />
== Understanding ISSUES with OpenStreet Maps ==<br />
<br />
There is a list of issues that first time users keep asking about. These are not WEBOS issues but due to how NAVIT operates with OpenStreet maps. Look at <br />
http://wiki.navit-project.org/index.php/OpenStreetMaps#Problems_with_OSM_and_navit_or_navigation_in_general<br />
Look at the section below called "On how to plan a route" for advice.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
Installation of Navit only copies in the new XML files '''''if the Navit.xml is not there'''''. You need to delete the old ones to get the new. '''''Preware does NOT REMOVE THEM!'''''<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included.<br />
Remove the comment markers from the skin you plan to use and add them to the current skin. For example to use < !-- <xi:include href="$NAVIT_USER_DATADIR/navit_gui.xml"/> -- > remove the < !-- and the -- > and ADD the same in front and back of the existing skin, for example <xi:include href="$NAVIT_USER_DATADIR/navit_gui_PreNav.xml"/>. There is NO SPACE between the < and -- and similarly between -- and > in the code. The space appears in this wiki text due to formatting issues.<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
[[Image:NavitScreenshot1.jpg]]<br />
<br />
[[Image:NavitScreenshot2.jpg]]<br />
<br />
[[Image:NavitScreenshot3.jpg]]<br />
<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus v3 (still not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
Here are some FAQ about searching http://wiki.navit-project.org/index.php/OpenStreetMaps#Search_for_my_town_works.2C_but_I_can.27t_find_my_street<br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
[[Now you want to change from a CAR to a Pedestrian, Horse or BIKE!]]<br />
<br />
Choose the Main Menu, then choose Settings and you will see this<br />
<br />
[[Image:Settings_menu.png]]<br />
Now choose Vehicle and you will see this<br />
<br />
[[Image:Vehicle_screen.png]]<br />
Now select GPS and you will see your last choice which is shown here as a car.<br />
<br />
[[Image:GPS_screen_car.png]]<br />
Press once on the row Change profile to: pedestrian (for example)<br />
Then at the top of the screen press on VEHICLE. This will get you back to the GPS screen. Now if you select GPS again you will get this screen confirming you are now a pedestrian.<br />
<br />
[[Image:GPS_screen_ped.png]]<br />
Enjoy :-)<br />
<br />
[[Changing Map view (or getting rid of all the POIs)]]<br />
<br />
If you want very few POIs the simplest option is MainMenu>>Settings>>Display>>Layout>>T@H<br />
<br />
[[Image:choose T@H.png]] [[Image:T@H view.png]] <br />
Go back to map and you will see hardly any POIs. <br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== '''On how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=11467Application:Navit2010-09-21T07:46:33Z<p>Hape: /* How to get around the menus v3 (still not complete)''' */</p>
<hr />
<div>[[Category:SDL]]<br />
[[Category:Application]]<br />
This page is currently available in two languages:<br />
:[[Image:Australia.png]] [[Image:USA.png]] [[Application:Navit]]<br />
:[[Image:France.png]] [[Application:Navit-FR]]<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest version of Navit for WebOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Where do you get the latest ALPHA version of Navit for WebOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. <br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
<br />
== Understanding ISSUES with OpenStreet Maps ==<br />
<br />
There is a list of issues that first time users keep asking about. These are not WEBOS issues but due to how NAVIT operates with OpenStreet maps. Look at <br />
http://wiki.navit-project.org/index.php/OpenStreetMaps#Problems_with_OSM_and_navit_or_navigation_in_general<br />
Look at the section below called "On how to plan a route" for advice.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
Installation of Navit only copies in the new XML files '''''if the Navit.xml is not there'''''. You need to delete the old ones to get the new. '''''Preware does NOT REMOVE THEM!'''''<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included.<br />
Remove the comment markers from the skin you plan to use and add them to the current skin. For example to use < !-- <xi:include href="$NAVIT_USER_DATADIR/navit_gui.xml"/> -- > remove the < !-- and the -- > and ADD the same in front and back of the existing skin, for example <xi:include href="$NAVIT_USER_DATADIR/navit_gui_PreNav.xml"/>. There is NO SPACE between the < and -- and similarly between -- and > in the code. The space appears in this wiki text due to formatting issues.<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
[[Image:NavitScreenshot1.jpg]]<br />
<br />
[[Image:NavitScreenshot2.jpg]]<br />
<br />
[[Image:NavitScreenshot3.jpg]]<br />
<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus v3 (still not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
Here are some FAQ about searching http://wiki.navit-project.org/index.php/OpenStreetMaps#Search_for_my_town_works.2C_but_I_can.27t_find_my_street<br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
[[Now you want to change from a CAR to a Pedestrian, Horse or BIKE!]]<br />
<br />
Choose the Main Menu, then choose Settings and you will see this<br />
<br />
[[Image:Settings_menu.png]]<br />
Now choose Vehicle and you will see this<br />
<br />
[[Image:Vehicle_screen.png]]<br />
Now select GPS and you will see your last choice which is shown here as a car.<br />
<br />
[[Image:GPS_screen_car.png]]<br />
Press once on the row Change profile to: pedestrian (for example)<br />
Then at the top of the screen press on VEHICLE. This will get you back to the GPS screen. Now if you select GPS again you will get this screen confirming you are now a pedestrian.<br />
<br />
[[Image:GPS_screen_ped.png]]<br />
Enjoy :-)<br />
<br />
[[Changing Map view (or getting rid of all the POIs)]]<br />
<br />
If you want very few POIs the simplest option is MainMenu>>Settings>>Display>>Layout>>T@H<br />
<br />
[[Image:choose T@H.png]] [[Image:T@H view.png]] <br />
Go back to map and you will see hardly any POIs. <br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== '''On how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=11460Application:Navit2010-09-19T19:55:14Z<p>Hape: /* Only as a start. Some images of the current skins: */</p>
<hr />
<div>[[Category:SDL]]<br />
[[Category:Application]]<br />
This page is currently available in two languages:<br />
:[[Image:Australia.png]] [[Image:USA.png]] [[Application:Navit]]<br />
:[[Image:France.png]] [[Application:Navit-FR]]<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest version of Navit for WebOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Where do you get the latest ALPHA version of Navit for WebOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. <br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
<br />
== Understanding ISSUES with OpenStreet Maps ==<br />
<br />
There is a list of issues that first time users keep asking about. These are not WEBOS issues but due to how NAVIT operates with OpenStreet maps. Look at <br />
http://wiki.navit-project.org/index.php/OpenStreetMaps#Problems_with_OSM_and_navit_or_navigation_in_general<br />
Look at the section below called "On how to plan a route" for advice.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
Installation of Navit only copies in the new XML files '''''if the Navit.xml is not there'''''. You need to delete the old ones to get the new. '''''Preware does NOT REMOVE THEM!'''''<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included.<br />
Remove the comment markers from the skin you plan to use and add them to the current skin. For example to use < !-- <xi:include href="$NAVIT_USER_DATADIR/navit_gui.xml"/> -- > remove the < !-- and the -- > and ADD the same in front and back of the existing skin, for example <xi:include href="$NAVIT_USER_DATADIR/navit_gui_PreNav.xml"/>. There is NO SPACE between the < and -- and similarly between -- and > in the code. The space appears in this wiki text due to formatting issues.<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
[[Image:NavitScreenshot1.jpg]]<br />
<br />
[[Image:NavitScreenshot2.jpg]]<br />
<br />
[[Image:NavitScreenshot3.jpg]]<br />
<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus v3 (still not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
[[Now you want to change from a CAR to a Pedestrian, Horse or BIKE!]]<br />
<br />
Choose the Main Menu, then choose Settings and you will see this<br />
<br />
[[Image:Settings_menu.png]]<br />
Now choose Vehicle and you will see this<br />
<br />
[[Image:Vehicle_screen.png]]<br />
Now select GPS and you will see your last choice which is shown here as a car.<br />
<br />
[[Image:GPS_screen_car.png]]<br />
Press once on the row Change profile to: pedestrian (for example)<br />
Then at the top of the screen press on VEHICLE. This will get you back to the GPS screen. Now if you select GPS again you will get this screen confirming you are now a pedestrian.<br />
<br />
[[Image:GPS_screen_ped.png]]<br />
Enjoy :-)<br />
<br />
[[Changing Map view (or getting rid of all the POIs)]]<br />
<br />
If you want very few POIs the simplest option is MainMenu>>Settings>>Display>>Layout>>T@H<br />
<br />
[[Image:choose T@H.png]] [[Image:T@H view.png]] <br />
Go back to map and you will see hardly any POIs. <br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== '''On how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=File:NavitScreenshot3.jpg&diff=11459File:NavitScreenshot3.jpg2010-09-19T19:48:39Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=File:NavitScreenshot2.jpg&diff=11458File:NavitScreenshot2.jpg2010-09-19T19:48:20Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=File:NavitScreenshot1.jpg&diff=11457File:NavitScreenshot1.jpg2010-09-19T19:47:48Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10728Application:Navit2010-08-09T18:14:13Z<p>Hape: /* Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR'''<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. <br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "" from the skin you plan to use and add them to the current skin. <br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10727Application:Navit2010-08-09T18:12:44Z<p>Hape: /* Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR'''<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps or use this direct links:<br/>[http://maps.navit-project.org/api/map/?bbox=-125.4,24.3,-66.5,49.3 USA (except Alaska and Hawaii)]<br/>[http://maps.navit-project.org/api/map/?bbox=-179.5,49.5,-129,71.6 Alaska]<br/>[http://maps.navit-project.org/api/map/?bbox=-161.07,18.49,-154.45,22.85 Hawaii]<br/>[http://maps.navit-project.org/api/map/?bbox=-141.3,41.5,-52.2,70.2 Canada]<br/>[http://maps.navit-project.org/api/map/?bbox=-117.6,14.1,-86.4,32.8 Mexico]<br/>[http://maps.navit-project.org/api/map/?bbox=-9.7,49.6,2.2,61.2 UK]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.17,51.25,-5.23,55.9 Ireland]<br/>[http://maps.navit-project.org/api/map/?bbox=5.18,46.8,15.4,55.6 Germany]<br/>[http://maps.navit-project.org/api/map/?bbox=-5.45,42.0,8.44,51.68 France]<br/>[http://maps.navit-project.org/api/map/?bbox=2.08,48.86,7.78,54.51 Benelux]<br/>[http://maps.navit-project.org/api/map/?bbox=-11.03,34.87,4.61,44.4 Spain and Portugal]<br/>[http://maps.navit-project.org/api/map/?bbox=6.52,36.38,18.96,47.19 Italy]<br/>[http://maps.navit-project.org/api/map/?bbox=7.49,54.33,13.05,57.88 Denmark]<br/>[http://maps.navit-project.org/api/map/?bbox=9.4,46.32,17.21,49.1 Austria]<br/>[http://maps.navit-project.org/api/map/?bbox=5.79,45.74,10.59,47.84 Switzerland]<br/>[http://maps.navit-project.org/api/map/?bbox=11.91,48.48,19.02,51.17 Czech Republic]<br/>[http://maps.navit-project.org/api/map/?bbox=33.99,29.8,35.95,33.4 Israel]<br/>[http://maps.navit-project.org/api/map/?bbox=110.5,-44.2,154.9,-9.2 Australia]<br/>[http://maps.navit-project.org/api/map/?bbox=165.2,-47.6,179.1,-33.7 New Zealand]<br/>[http://maps.navit-project.org/api/map/?bbox=15.6,-35.2,33.3,-21.9 South Africa]<br/> <br/>''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.'' <br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
To switch between the three skins shown below you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the bottom you find the section where the skin is included. Remove the comment makers "" from the skin you plan to use and add them to the current skin. <br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10496Application:Navit2010-07-15T08:37:13Z<p>Hape: /* Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR'''<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
Thanks to Rod there is now an app in The Preware Testing feed that can do the fix for you => http://forums.precentral.net/showthread.php?p=2556103<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10472Application:Navit2010-07-12T16:57:54Z<p>Hape: /* Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summary ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR'''<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
There is a bug in the OTA (over the air) update from 1.4.1 to 1.4.5 that prevents Navit from working. To check for the bug open a Terminal or Novaterm and issue this command 'cat /etc/fstab|grep internal'. You should get the following line:<br />
<br />
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed,umask=0000 0 0<br />
<br />
If your line do not have the 'umask=0000' statement then you need to fix this first as explained here => http://developer.palm.com/distribution/viewtopic.php?p=34750<br />
<br />
Eine Deutsche Anleitung zum beheben des Problemes ist hier zu finden => http://www.nexave.de/forum/39654-fehler-im-ota-1-4-5-update.html<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10469Application:Navit2010-07-11T16:27:40Z<p>Hape: /* Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summery ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/webos-internals/254622-navit-3d-car-navigation-system.html<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10468Application:Navit2010-07-11T16:26:17Z<p>Hape: /* Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? */</p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summery ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
If you have any questions about this version then you can find help here => http://forums.precentral.net/showthread.php?p=2549826#post2549826<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=10467Application:SpeechDispatcher2010-07-11T14:36:26Z<p>Hape: </p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
[[Image:SpeechDispatcher.png|50px|left]]<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit|Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How does it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Where I can get help ==<br />
<br />
See the thread on Precentral: http://forums.precentral.net/showthread.php?p=2549731<br />
<br />
== Can my PDK app use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Currently not. We plan to add a Mojo service to the Speech Dispatcher service, but that is not done right now. It will be documented here when it is available.</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=10466Application:SpeechDispatcher2010-07-11T14:36:02Z<p>Hape: </p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
[[Image:SpeechDispatcher.png|50px|left]]<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit|Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How does it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Where I can get help ==<br />
<br />
See the tread on Precentral: http://forums.precentral.net/showthread.php?p=2549731<br />
<br />
== Can my PDK app use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Currently not. We plan to add a Mojo service to the Speech Dispatcher service, but that is not done right now. It will be documented here when it is available.</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10465Application:Navit2010-07-11T14:32:35Z<p>Hape: </p>
<hr />
<div>[[Category:SDL]]<br />
<br />
<br />
== Summery ==<br />
<br />
[[Image:Navit_icon.png|50px|left]]<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=10464Application:SpeechDispatcher2010-07-11T14:28:24Z<p>Hape: </p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
[[Image:SpeechDispatcher.png|50px|left]]<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit|Navit]] application and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How does it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a sokect and/or C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we have included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Can my PDK app use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Currently not. We plan to add a Mojo service to the Speech Dispatcher service, but that is not done right now. It will be documented here when it is available.</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10461Application:Navit2010-07-11T14:16:20Z<p>Hape: </p>
<hr />
<div>[[Category:SDL]]<br />
<br />
'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <BR><br />
<BR><br />
<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:SpeechDispatcher&diff=10460Application:SpeechDispatcher2010-07-11T14:13:33Z<p>Hape: </p>
<hr />
<div>== What is the Speech Dispatcher ==<br />
<br />
This daemon provides speech synthesis. At the moment, it is only used by the [[Application:Navit]] and there is no dedicated application front-end, but a Mojo service and application will be developed in the future.<br />
<br />
== How dose it work ==<br />
<br />
The speech dispatcher is based on [http://www.freebsoft.org/speechd speechd]. It accepts text via a soked or and C-API. This text is then sent sentence by sentence to a speech synthesizer.<br />
At the moment we included [http://espeak.sourceforge.net espeak] as the speech synthesizer.<br />
<br />
== Do my PDK app can use this service ==<br />
<br />
Yes it can. The C-Api is documented on the speechd home page => http://cvs.freebsoft.org/doc/speechd/speech-dispatcher.html#SEC42<br />
<br />
The other way would be to use the spechd socked directly as doumented here => http://cvs.freebsoft.org/doc/speechd/ssip.html#Top<br />
<br />
The default socket for the PalmPre is 'export SPEECHD_SOCKET=/tmp/speechd-sock'<br />
<br />
== Can my Mojo app use this service ==<br />
<br />
Currently not. We plan to add a Mojo service to the Speech Dispatcher service, but that is not done right now. It will be documented here when it is available.</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10455Application:Navit2010-07-10T18:56:37Z<p>Hape: </p>
<hr />
<div>'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <BR><br />
<BR><br />
<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit for WeobOS 1.4.1 ? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Where do you get the latest version of Navit for WeobOS 1.4.5 and above ? ==<br />
<br />
<br />
# Open Preware. Select available applications. Then type 'Navit' and install as any other WebOS application.<br />
# This will automatically install two other needed packages if you not have installed them. The packages are 'speechd' and 'locale'.<br />
# You settings are migrated if you had installed the Navit Alpha before. Then you can skip step 4-8 the rest.<br />
# Now start Navit. You will see the OSD but no map as this will be installed in the next step. This first start will create the default settings and the emty folder for the map.<br />
# Quit Navit and connect your Pre to your PC in USB mode.<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first.''<br />
# Put the *.bin file into the folder appdata/org.webosinternals.navit/maps on the USB drive of your Pre.<br />
# To switch between the three skins you need to open the navit.xml in appdata/org.webosinternals.navit/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at appdata/org.webosinternals.navit/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open appdata/org.webosinternals.navit/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/appdata/org.webosinternals.navit/maps/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/appdata/org.webosinternals.navit/maps/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:/appdata/org.webosinternals.navit/<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=WebOS_Internals_PDK&diff=10431WebOS Internals PDK2010-07-02T20:14:52Z<p>Hape: /* Installation on Ubuntu for WebOS PDK cross compiling */</p>
<hr />
<div>[[Category: SDL]]<br />
Palm's binary sdk the "Plugin Developer Kit" became available to all developers in March 2010.<br />
<br />
In addition to the PDK, WebOS Internals has released a full "WIDK" (WebOS Internals Development Kit) for you using Scratchbox2. <br />
<br />
We ''strongly'' urge the community to standardize on this WIDK. It uses the same underlying technologies, and is entirely open. <br />
<br />
Scratchbox 2 is a cross-compilation engine, it can be used to create a highly flexible SDK.<br />
<br />
As installed below, the install process uses a script which extracts the required Palm provided files from a copy of webos doctor, and downloads from other sources, and builds a complete compilation environment automatically which can compile SDL and openGLES apps for webOS. <br />
<br />
SB2 ''itself'' is totally distribution neutral but the webOS cross-compile environment is designed and tested on Ubuntu 9.10 32 bit. (At least one user in #webos-internals reports complete success running the cross compile environment in Ubuntu 9.10 64 bit after installing curl via apt-get.) See [[WebOS_Internals_PDK_on_Mandriva]] if you want to run it on Mandriva and are willing to support that yourself and not ask WebOS Internals any questions about it. Otherwise, use the recommended OS.<br />
<br />
The webOS Internals team ''strongly suggest'' apt-get install into that environment only for this purpose. The same installation of Sun Virtualbox which hosts the Palm SDK emulator can host an Ubuntu 9.10 server with very little effort. <br />
<br />
Developers wanting to work in an open environment 'without' SB2 can consider using the [[PuffTheMagic NDK]].<br />
<br />
==SB2 Homepage==<br />
[http://www.freedesktop.org/wiki/Software/sbox2 http://www.freedesktop.org/wiki/Software/sbox2]pdk<br />
<br />
==License==<br />
Scratchbox 2 is distributed under LGPL version 2.1, portions are under GPL version 2. Some minor stuff is under MIT style license.<br />
<br />
== Installation on Ubuntu for WebOS PDK cross compiling ==<br />
<div style="float:right; clear:right; width:30%">{{Ubuntu_VM_notes_for_Windows_users}}</div><br />
===Toolchain===<br />
<br />
===Prequisites===<br />
Your Ubuntu installation will need the following installed. If you do not have them, run the command after the package name. You can test if they are found by just typing the command name. If it says command not found, you need to install it.<br />
<br />
{| border="1"<br />
|+ <br />
|'''git''' || sudo apt-get install git-core<br />
|-<br />
|'''gcc''' || sudo apt-get install build-essential<br />
|-<br />
|'''curl''' || sudo apt-get install curl<br />
|-<br />
|'''unzip'''|| sudo apt-get install unzip<br />
|-<br />
|'''autoconf'''|| sudo apt-get install autoconf<br />
|-<br />
|'''subversion'''|| sudo apt-get install subversion<br />
|-<br />
|'''libtool'''|| sudo apt-get install libtool<br />
|-<br />
|'''wget'''|| sudo apt-get install wget<br />
|-<br />
|'''pkg-config'''|| sudo apt-get install pkg-config<br />
|-<br />
|'''gettext'''|| sudo apt-get install gettext<br />
|-<br />
|'''fakeroot'''|| sudo apt-get install fakeroot<br />
|-<br />
|'''javac'''|| sudo apt-get install sun-java6-jdk<br />
|-<br />
|'''ant'''|| sudo apt-get install ant<br />
|-<br />
|'''xsltproc'''|| sudo apt-get install xsltproc<br />
|-<br />
|'''intltool'''|| sudo apt-get install intltool<br />
|-<br />
|'''mkimage'''|| sudo apt-get install uboot-mkimage<br />
|-<br />
|'''lsdiff'''|| sudo apt-get install patchutils<br />
|-<br />
|'''flex'''|| sudo apt-get install flex<br />
|-<br />
|'''bison'''|| sudo apt-get install bison<br />
|-<br />
|'''libssl-dev'''|| sudo apt-get install libssl-dev<br />
|-<br />
|'''libz-dev'''|| sudo apt-get install libz-dev<br />
|-<br />
|'''libbz2-dev'''|| sudo apt-get install libbz2-dev<br />
|-<br />
|'''xar'''|| sudo apt-get install xar<br />
|}<br />
<br />
*** it has been reported that sun-java6-jdk isn't necessary ***<br />
<br />
If you're uncertain at all, just cut and paste the following. If they are already installed, they'll be skipped. <br />
<br />
sudo apt-get install git-core build-essential curl unzip autoconf subversion libtool wget pkg-config gettext fakeroot ant xsltproc intltool uboot-mkimage patchutils flex bison libssl-dev libz-dev libbz2-dev xar<br />
<br />
'''Note:''' If you are a beginner with Ubuntu Linux Distribution, you should update all the packages on your system to avoid problems when you will compile.<BR><br />
Use these 2 command line :<BR><br />
Update repositories :<br />
sudo aptitude update<br />
And next, update the packages :<br />
sudo aptitude safe-upgrade<br />
<br />
If you're on a 64-bit system, you will also need to install the ia32-libs package.<br />
<br />
'''Note:''' The ''make toolchain'' command and later steps will download approximately a half-gig of tools and sources from various locations. Do not start this if you do not have time for a large download. Additionally, if you already have downloaded a copy of the correct version of the WebOS doctor, you can reduce the download time by copying the doctor file into cross-compile/doctors/ with the correct name. This will cause the appropriate command to skip that download. Note that codesourcery rate limts downloads and at a minimum this process will take 10 to 15 minutes irrespective of your connection speed. <br />
<br />
====Start setup====<br />
Create a preware folder, copy the cross-compile tools into it (if you have not installed git, apt-get install git-core), and use a make script to begin the set up of the compilation toolchain. <br />
<br />
sudo mkdir -p /srv/preware<br />
cd /srv/preware<br />
sudo chmod 777 .<br />
git clone git://git.webos-internals.org/preware/cross-compile.git<br />
cd cross-compile<br />
make toolchain<br />
<br />
====Fix mmap errors====<br />
The following commands appear redundant. They are not. The install this fixes your mmap config to fix an mmap: permission denied error, but we don't need the package itself.<br />
<br />
sudo apt-get install qemu-arm-static<br />
sudo apt-get remove qemu-arm-static<br />
<br />
: <span style="font-size:150%">OR</span> As a workaround, if this package is not available, <br />
::: the following commands can be executed in a root shell (sudo -s) to fix the mmap configuration to enable qemu-arm to work.<br />
<br />
echo "vm.mmap_min_addr = 4096" > /etc/sysctl.d/mmap_min_addr.conf<br />
/etc/init.d/procps restart<br />
<br />
(note that the value should not be "0". 4096 is chosen to avoid null pointer attacks.)<br />
<br />
<br />
====Setup Scratchbox====<br />
Now, use apt-get to setup scratchbox...<br />
<br />
sudo apt-get install scratchbox2 qemu-kvm-extras<br />
<br />
...and set it up for compiling for webOS. <br />
<br />
cd /srv/preware/cross-compile/toolchain/arm-2007q3/arm-none-linux-gnueabi/libc<br />
PATH=/srv/preware/cross-compile/toolchain/arm-2007q3/bin:${PATH} sb2-init -c /usr/bin/qemu-arm armv7 arm-none-linux-gnueabi-gcc<br />
cd /srv/preware/cross-compile<br />
<br />
Then:<br />
<br />
make stage<br />
<br />
Once this setup is complete, compiling sdl apps for webOS is very simple.<br />
<br />
==Errors during make stage (Feb 27 8:45 UTC)==<br />
Confirmed by 2 people:<br />
===Ecore===<br />
*TRUE and FALSE are not defined<br />
<br />
Manually add the definition:<br />
<br />
#ifndef TRUE<br />
# define TRUE 1<br />
#endif<br />
<br />
#ifndef FALSE<br />
# define FALSE 0<br />
#endif<br />
<br />
<br />
===/bin/sh errors===<br />
If you are getting a "bad fd number" or other /bin/sh error, make sure your /bin/sh points to bash, not another shell (such as dash.)<br />
<br />
==Sample build of [[Application:Doom]]==<br />
<br />
Now, go to [[Building DOOM with scratchbox2]] and follow the simple directions.<br />
<br />
==In Process Enhancements==<br />
[[Extracting the PDK on Linux]]</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10430Application:Navit2010-07-02T07:42:01Z<p>Hape: /* Using Map&Guide maps */</p>
<hr />
<div>'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <BR><br />
<BR><br />
<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
If you have the m&g and the OSM maps on your USB drive then you can use the index from the m&g maps for searching and the OSM maps for routing and display. To do this you need to add the mapset this way:<br />
<mapset enabled="yes"><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
</mapset><br />
It looks like Navit uses the street index of the first enabled map even if it is not active.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:\.app-storage\file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10429Application:Navit2010-07-02T07:37:25Z<p>Hape: /* Where do you get the latest ALPHA version of Navit? */</p>
<hr />
<div>'''Note''' : '''there is a french translation for the english Navit wiki page here : http://www.webos-internals.org/index.php?title=Application:Navit-FR''' <BR><br />
<BR><br />
<br />
Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
You get the zip file for webos < 1.4.5 here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
'''Attention: This packages only work with webos < 1.4.5 . A version for 1.4.5 and above will be in Preware when finished.'''<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-14-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:\.app-storage\file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10281Application:Navit2010-06-14T19:34:38Z<p>Hape: /* Where do you get the latest ALPHA version of Navit? */</p>
<hr />
<div>Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
You get the zip file here => [http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD Navit Alpha]<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-12-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:\.app-storage\file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10280Application:Navit2010-06-14T19:31:13Z<p>Hape: /* Using Map&Guide maps */</p>
<hr />
<div>Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
You get the zip file here<br />
http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-12-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" active="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
Now you can switch between the OSM and the M&G maps from the settings/maps menu inside of Navit. The OSM map is the default. To make M&G the default you need to invert the active switches.<br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:\.app-storage\file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10279Application:Navit2010-06-14T19:20:55Z<p>Hape: </p>
<hr />
<div>Navit is an open source (GPL) car navigation software for Linux systems. It will display your position on a map (in bird-view mode or as a 3D "visualization") from GPS sensor data, and can provide precise route calculation, touch screen functionality and supports Points of Interest (POI), which can be extended via an easy to use plugin system. Unlike other navigation systems, Navit maps are dynamically generated in real time from vector data. Information about Navit can be found [http://wiki.navit-project.org/index.php/Main_Page on the Navit wiki].<br />
<br />
== Where do you get the latest ALPHA version of Navit? ==<br />
<br />
<br />
HaPe and noradtux have put this ALPHA version into a zip file all for you to enjoy, test, curse, and provide feedback at <br />
http://forums.precentral.net/webos-internals/224609-navit-pre.html<br />
<br />
You get the zip file here<br />
http://www.hp-jochmann.de/Download.nsf/Download?OpenAgent&doc=37B8A6BE782A7E04C1257702006A6DCD<br />
<br />
As instructed by HaPe you install it onto your Pre by, <br />
<br />
# The zip file contains a navit ipk, a espeak ipk and some locale ipks. The easy way to install is by using WebOSQuickInstall found here http://forums.precentral.net/canuck-software/228310-webos-quick-install-v3-12-a.html . Note Preware install method is not yet available, its promised in the future once the Palm PDK is officially released. If you have old versions of navit and espeak then use Preware or WebOSQuickInstall to delete them, although the locale ipk could be left alone.<br />
# You need to install at least the navit and the espeak ipk. You will see an Icon for both Navit and espeak (press it first and you get a speech to confirm it works!)<br />
# The default of the Navit menus and speak output is English. To get a other local language working you need to install the locale ipk for your lang/county. I made some small once with only one lang_COUNTRY combination and one big with all I have. Only use the all one if you can not find a matching other, as the installed size is about 64MB for the all one. ONLY INSTALL ONE LOCAL IPK AT THE TIME!!!!!! '''At the moment there is a bug when you remove an locale ipk. One symbolic link is not removed. You need to do this manually by executing the following commands from novterm or from the WOQI command line: <br />
## mount -o remount,rw /<br />
## rm /usr/lib/locale<br />
## mount -o remount,ro /'''<br />
# You also need a map. Go to http://maps.navit-project.org/download/ and create one of the part of the world you need or look for created maps here => http://wiki.navit-project.org/index.php/OpenStreetMaps Connect your Pre in USB mode, create a folder named MapsNavit and put the *.bin file into it. ''Note I (PreRunr) have found that small is better (faster processing) and that the Cloudmade maps can have problems so use the extractor version first. Many POIs seems to stuff it up so CHOOSE the T@H display option if your screen locks up and requires a restart - hopefully our experts will fix this up in later versions.''<br />
# To switch between the three skins you need to open the navit.xml in .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/ . At the button you find the section where the skin is included. Remove the comment makers "<!--" and "-->" from the skin you plan to use and add them to the current skin.<br />
# Try it out!<br />
# Look at .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.log on you USB drive if Navit is not working as expected. If Navit has problems it writes the information into this log file.<br />
<br />
== Using Map&Guide maps ==<br />
<br />
For all Europe uses. You can get a good Mapset from Amazon for 5 Euro => [http://www.amazon.de/Marco-Polo-Gro%C3%9Fer-Reiseplaner-DVD-ROM/dp/3829731426/ Marco Polo Großer Reiseplaner 2007/2008 (DVD-ROM) auf Amazon.de]<br />
<br />
The disadvantage is that the complete map is 3GB, if you only take Germany and the Major roots of Europe it is still 1GB.<br />
<br />
'''For Linux'''<br />
# Change directory to where DVD is mounted<br />
# Unpack data2.cab with: unshield x travel/data2.cab <br />
# Now, you should get a directory named like DIRLAN_GER.<br />
# Inside you find the maps...<br />
'''For Windows'''<br />
# Install the appliaction<br />
# you find the maps in a folder inside the program folder.<br />
<br />
'''Installing the maps'''<br />
# The dem.map folder with all the majors roads and towns of Europe...<br />
# ...and five smpX.smp folders, which contain the details of countries:<br />
* smp1: DK,S,N,IS,FIN,N<br />
* smp2: F,E,GBZ,P,AND,MC<br />
* smp3: Germany<br />
* smp4: CZ,SK,RSM,EST,GEO,LV,LT,MD,RUS,UA,BY,GR,H,I,RO,CH,A,PL,AL,MT,CY,BG,FL,SRB,MNE,HR,SLO,BIH,MK,TR,AZ,AM,V<br />
* smp5: NL,B,GB,L,IRL <br />
# copy the dem.map folder into a place on your hard drive<br />
# remove all *d60* files from the dem.map folder<br />
# copy the dem.map folder into /MaypsNavit on you usb drive<br />
# copy the smpX.smp folder you need into /MaypsNavit/dem.map folder<br />
# open .app-storage/file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0/navit.xml and change the following:<br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/*.bin"/><br />
</mapset><br />
to <br />
<mapset enabled="yes"><br />
<map type="binfile" enabled="yes" data="/media/internal/MapsNavit/osm/*.bin"/><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map" /><br />
<map type="mg" enabled="yes" active="no" data="/media/internal/MapsNavit/dem.map/smp3.smp" /><br />
</mapset><br />
<br />
I would expect the the Map&Guide maps for other countries will also work. But you need to find a cheep Product that contains them.<br />
<br />
== Why don't I get the new skins we see below? ==<br />
<br />
Navit only copies in the new XML files if the Navit.xml is not there. You need to delete the old ones to get the new.<br />
<br />
<br />
You find the xml files on the USB drive J: (or another drive X: when your Pre is in USB mode (not charge only mode) depending upon your PC setup.<br />
<br />
Located here J:\.app-storage\file_.media.cryptofs.apps.usr.palm.applications.org.webosinternals.navit_0<br />
<br />
== Only as a start. Some images of the current skins: ==<br />
<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]<br />
'''<br />
<br />
== How to get around the menus (not complete)''' ==<br />
<br />
''As an aside the screen captures don't work on full screen - sorry.''<br />
<br />
Main screen is seen here before GPS lock <br />
<br />
[[Image:Start_screen.png]] (here the last saved GPS position is used to choose the starting map).<br />
<br />
Press your finger on the screen and "push" the map around to get the desired location (where you are now or where you want to go) right into the centre of the screen (if you want to zoom into a location use the + button). Tap the screen and you will get the Main Menu shown here.<br />
<br />
[[Image:Main_menu.png]]<br />
Since we want to go somewhere tap on Actions.<br />
<br />
[[Image:Actions_menu.png]]<br />
Now you have a choice of the Location at the center of the map screen, the location of the car (no good here as GPS has not locked in), the Location of a saved Bookmark, or searching for a Location in your OSM or other map you have already loaded into your Pre at /media/NavitMaps/. Choosing Town we get this screen.<br />
<br />
[[Image:Town_view.png]]<br />
Now unless you live in the USA you can now enter a town. If not tap on the US flag and you should get this screen.<br />
<br />
[[Image:Town_view2.png]]<br />
Now Type in your country eg Au will give at least two countries to choose from. Select one and you will then get to enter a town, the street and then house. Lots of times this does not work too well as the House numbering is not available. In this case follow instructions below on How to Plan a Route. <br />
<br />
OK I have told NAVIT that I wish to go to my new destination and now its ready to go. <br />
<br />
<br />
[[Image:Navit_OK_to_drive.png]] <br />
<br />
<br />
It shows the way to go as a BIG FAT BLUE line as well as speaking the directions. If you want to read the directions Chooose Route then Description. The voice reads these out as you go along the route. Now Rod Whitby can guess where I live.<br />
<br />
<br />
Helpful notes from vreihen on 18 and 26 May 2010 now follow,<br />
<br />
<br />
== On starting up issues ie '''why the map layer isn't loading?''' ==<br />
<br />
<br />
When Navit first starts up, it uses the north pole as it's initial position (if I recall correctly) until it gets an initial GPS fix. Your map layer problem may be that the GPS point is still at the north pole, or perhaps outside of the map that you have installed. If you tap on the center of the screen and tap on actions, there will be an icon of a car and an icon of a globe. The car icon is your current position, and should contain a non-zero latitude and longitude if your GPS is working and has a fix. Verify that those coordinates are where you are located before you dig any deeper into the maps as the cause of the missing layer.<br />
<br />
The information panels at the bottom of the screen are only populated when Navit is navigating between two points. Otherwise, they should be blank.<br />
<br />
If all else fails with the maps, you could download the entire planet.bin if you have 3.5 gigs of free USB flash space in your phone to eliminate the map file as the cause of your problem.....<br />
<br />
== On '''how to plan a route''' ==<br />
<br />
<br />
1) Scroll through the map until you can see the location that you want to drive to.<br />
<br />
2) Zoom in tight on the screen, if necessary. Tap on your destination on the map.<br />
<br />
3) When Navit opens it's main menu, tap on actions.<br />
<br />
4) The car icon should show your current latitude/longitude. (Just saying)<br />
<br />
5) The globe icon should show the destination latitude/longitude that you tapped on the map.<br />
<br />
6) Tap on the globe icon.<br />
<br />
7) From the menu that pops up, select either bookmark this location (recommended) or navigate to this location.<br />
<br />
8) If you chose to bookmark it, tap actions | bookmarks, then tap your bookmark. Select navigate to this location.<br />
<br />
9) Depending on the distance you asked it to go, Navit should pop up the first driving direction and speak it to you within 5-10 seconds.<br />
<br />
The OSM map data apparently does not contain the concept of a state, so navigating by state/city/street lookup is difficult to impossible. Navigating by bookmark on the map is the only option for the time being.....<br />
<br />
''' Changing The Starting position'''<br />
<br />
You might want to change the starting position of navit, especially if you are using Navit without a GPS. You can get your coordinates here: http://itouchmap.com/latlong.html<br />
<br />
You can change the starting position in navit.xml, here :<br />
<br />
<navit gui="..." graphics="..." center="4808 N 1134 E" zoom="128" ><br />
<br />
The latitude and longitude are written as multiplied by 100, i.e. you won't see the decimal point. For example, instead of 48.08, enter 4808.<br />
<br />
<br />
== So you want Miles not km? ==<br />
<br />
NAVIT has this link http://trac.navit-project.org/ticket/12</div>Hapehttp://wiki.webos-internals.org/index.php?title=Application:Navit&diff=10014Application:Navit2010-05-23T00:20:36Z<p>Hape: New page: Only as a start. Some images of the current skins: Skin PreNav: Image:PreNav-L.JPG Image:PreNav-P.JPG Skin Pre: Image:Pre-P.jpg Basic skin: Image:Basic-P.jpg</p>
<hr />
<div>Only as a start. Some images of the current skins:<br />
<br />
Skin PreNav:<br />
<br />
[[Image:PreNav-L.JPG]]<br />
[[Image:PreNav-P.JPG]]<br />
<br />
Skin Pre:<br />
<br />
[[Image:Pre-P.jpg]]<br />
<br />
Basic skin:<br />
<br />
[[Image:Basic-P.jpg]]</div>Hapehttp://wiki.webos-internals.org/index.php?title=File:Basic-P.jpg&diff=10013File:Basic-P.jpg2010-05-22T23:52:26Z<p>Hape: Navit with basic skin</p>
<hr />
<div>Navit with basic skin</div>Hapehttp://wiki.webos-internals.org/index.php?title=File:Pre-P.jpg&diff=10012File:Pre-P.jpg2010-05-22T23:46:33Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=File:PreNav-P.JPG&diff=10011File:PreNav-P.JPG2010-05-22T23:45:51Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=File:PreNav-L.JPG&diff=10010File:PreNav-L.JPG2010-05-22T23:44:37Z<p>Hape: </p>
<hr />
<div></div>Hapehttp://wiki.webos-internals.org/index.php?title=WebOS_Internals_PDK&diff=9446WebOS Internals PDK2010-03-27T10:13:30Z<p>Hape: /* Start setup */</p>
<hr />
<div>[[Category: SDL]]<br />
Palm's binary sdk the "Plugin Developer Kit" will not be available until March 2010.<br />
<br />
In the mean time, WebOS Internals has released a full "WIDK" (WebOS Internals Development Kit) for you using Scratchbox2. <br />
<br />
We ''strongly'' urge the community to standardize on this WIDK until Palm releases theirs. We believe that it uses the same underlying technologies, and that it will give you both a means to port games now, and a head-start to development against the official Palm PDK in the future.<br />
<br />
Scratchbox 2 is a cross-compilation engine, it can be used to create a highly flexible SDK.<br />
<br />
As installed below, the install process uses a script which extracts the required Palm provided files from a copy of webos doctor, and downloads from other sources, and builds a complete compilation environment automatically which can compile SDL and openGLES apps for webOS. <br />
<br />
SB2 ''itself'' is totally distribution neutral but the webOS cross-compile environment is designed and tested on Ubuntu 9.10 32 bit. (At least one user in #webos-internals reports complete success running the cross compile environment in Ubuntu 9.10 64 bit after installing curl via apt-get.) <br />
<br />
The webOS Internals team ''strongly suggest'' apt-get install into that environment only for this purpose. The same installation of Sun Virtualbox which hosts the Palm SDK emulator can host an Ubuntu 9.10 server with very little effort. <br />
<br />
==SB2 Homepage==<br />
[http://www.freedesktop.org/wiki/Software/sbox2 http://www.freedesktop.org/wiki/Software/sbox2]pdk<br />
<br />
==License==<br />
Scratchbox 2 is distributed under LGPL version 2.1, portions are under GPL version 2. Some minor stuff is under MIT style license.<br />
<br />
== Installation on Ubuntu for WebOS PDK cross compiling ==<br />
<div style="float:right; clear:right; width:30%">{{Ubuntu_VM_notes_for_Windows_users}}</div><br />
===Prequisites===<br />
Your Ubuntu installation will need the following installed. If you do not have them, run the command after the package name. You can test if they are found by just typing the command name. If it says command not found, you need to install it. <br />
<br />
{| border="1"<br />
|+ <br />
|'''git''' || sudo apt-get install git-core<br />
|-<br />
|'''gcc''' || sudo apt-get install build-essential<br />
|-<br />
|'''curl''' || sudo apt-get install curl<br />
|-<br />
|'''unzip'''|| sudo apt-get install unzip<br />
|-<br />
|'''autoconf'''|| sudo apt-get install autoconf<br />
|-<br />
|'''subversion'''|| sudo apt-get install subversion<br />
|-<br />
|'''libtool'''|| sudo apt-get install libtool<br />
|-<br />
|'''wget'''|| sudo apt-get install wget<br />
|-<br />
|'''pkg-config'''|| sudo apt-get install pkg-config<br />
|-<br />
|'''gettext'''|| sudo apt-get install gettext<br />
|-<br />
|'''fakeroot'''|| sudo apt-get install fakeroot<br />
|-<br />
|'''javac'''|| sudo apt-get install sun-java6-jdk<br />
|-<br />
|'''ant'''|| sudo apt-get install ant<br />
|}<br />
<br />
<br />
If you're uncertain at all, just cut and paste the following. If they are already installed, they'll be skipped. <br />
<br />
sudo apt-get install git-core build-essential curl unzip autoconf subversion libtool wget pkg-config gettext fakeroot sun-java6-jdk ant<br />
<br />
'''Note:''' The ''make toolchain'' command and later steps will download approximately a half-gig of tools and sources from various locations. Do not start this if you do not have time for a large download. Additionally, if you already have downloaded a copy of the WebOS 1.3.5 doctor, you can reduce the download time by copying the doctor file into cross-compile/doctors/webosdoctorp100ewwsprint-1.3.5.jar . This will cause the appropriate command to skip that download. Note that codesourcery rate limts downloads and at a minimum this process will take 10 to 15 minutes irrespective of your connection speed. <br />
<br />
====Start setup====<br />
Create a preware folder, copy the cross-compile tools into it (if you have not installed git, apt-get install git-core), and use a make script to begin the set up of the compilation toolchain. <br />
<br />
sudo mkdir -p /srv/preware<br />
cd /srv/preware<br />
sudo chmod 777 .<br />
git clone git://git.webos-internals.org/preware/cross-compile.git<br />
cd cross-compile<br />
make toolchain<br />
<br />
Execute this command after 'git clone' if you want to use other head/branch then the master branch (doctor_14 in this example).<br />
<br />
git checkout -b doctor_14 origin/doctor_14<br />
<br />
====Fix mmap errors====<br />
The following commands appear redundant. They are not. The install this fixes your mmap config to fix an mmap: permission denied error, but we don't need the package itself.<br />
<br />
sudo apt-get install qemu-arm-static<br />
sudo apt-get remove qemu-arm-static<br />
<br />
: <span style="font-size:150%">OR</span> As a workaround, if this package is not available, <br />
::: the following commands can be executed in a root shell (sudo -s) to fix the mmap configuration to enable qemu-arm to work.<br />
<br />
echo "vm.mmap_min_addr = 4096" > /etc/sysctl.d/mmap_min_addr.conf<br />
/etc/init.d/procps restart<br />
<br />
(note that the value should not be "0". 4096 is chosen to avoid null pointer attacks.)<br />
<br />
<br />
====Setup Scratchbox====<br />
Now, use apt-get to setup scratchbox...<br />
<br />
sudo apt-get install scratchbox2 qemu-kvm-extras<br />
<br />
...and set it up for compiling for webOS. <br />
<br />
cd /srv/preware/cross-compile/toolchain/arm-2007q3/arm-none-linux-gnueabi/libc<br />
PATH=/srv/preware/cross-compile/toolchain/arm-2007q3/bin:${PATH} sb2-init -c /usr/bin/qemu-arm armv7 arm-none-linux-gnueabi-gcc<br />
cd /srv/preware/cross-compile<br />
<br />
Then:<br />
<br />
make stage<br />
<br />
Once this setup is complete, compiling sdl apps for webOS is very simple.<br />
<br />
==Errors during make stage (Feb 27 8:45 UTC)==<br />
Confirmed by 2 people:<br />
===Ecore===<br />
*TRUE and FALSE are not defined<br />
<br />
Manually add the definition:<br />
<br />
<br />
#ifndef TRUE<br />
# define TRUE 1<br />
#endif<br />
<br />
#ifndef FALSE<br />
# define FALSE 0<br />
#endif<br />
<br />
<br />
<br />
==Sample build of [[Application:Doom]]==<br />
<br />
Now, go to [[Building DOOM with scratchbox2]] and follow the simple directions.<br />
<br />
==In Process Enhancements==<br />
[[Extracting the PDK on Linux]]</div>Hape