Navit is a gps mapping application using open street maps :
a working gps - check with cgps or xpgs is a requirement.
prerequisites : whoops sorry remove the .x86_64 for 32 bit systems
libgarmin.x86_64
libgarmin-devel.x86_64
SDL.x86_64
SDL-devel.x86_64
libXmu.x86_64
libXmu-devel.x86_64
gd.x86_64
gd-devel.x86_64
espeak.x86_64
espeak-devel.x86_64
mesa-libGL.x86_64
mesa-libGL-devel.x86_64
mesa-libGLU.x86_64
mesa-libGLU-devel.x86_64
cegui.x86_64
cegui-devel.x86_64
freeglut.x86_64
freeglut-devel.x86_64
speech-dispatcher.x86_64
speech-dispatcher-devel.x86_64
quesoglc.x86_64
quesoglc-devel.x86_64
fribidi.x86_64
fribidi-devel.x86_64
SDL_image.x86_64
SDL_image-devel.x86_64
freeimage.x86_64
freeimage-devel.x86_64
shapelib.x86_64
shapelib-devel.x86_64
imlib2.x86_64
saxon.noarch
saxon-scripts.noarch
---------------------------------------------
web page url :
http://wiki.navit-project.org/index.php/Main_Page
subversion :
svn co
https://navit.svn.sourceforge.net/sv...it/trunk/navit
instructions to compile on linux :
http://wiki.navit-project.org/index....ation_on_Linux
basically just this :
CMake builds Navit in a separate directory of your choice - this means that the directory in which the SVN source was checked out remains untouched.
mkdir navit-build
cd navit-build
Once inside the build directory just call the following commands:
cmake ../navit
make
cd navit
--------------------------------------------------------------
open streetmap download from the navit planet extractor website
just select a regional map or make your own selection
http://maps3.navit-project.org/
once you have the map which at least in my case was a bin file; move it into the maps subdirectory
--------------------------------------------------------------
make a copy and edit : navit-build/navit/navit.xml
ok this is the tedious part --
to add the osm layout start around line 621 just after </mapset>
and insert the xml example from here.
http://wiki.navit-project.org/index.php/Layout/mapnik
--------------------------------------------------------------
These line numbers might work after navit-osm-layout.text is added to
navit.xml
after line 33 change the starting coordinates to your location
latitude longitude coordinates
<navit center="3900 N 11020 W" zoom="256" tracking="1" orientation="-1" recent_dest="10">
at line 41 for gui type gtk change enabled from no to yes
at line 47 for gui type internal change enabled from yes to no
at line 615 chg mapset enabled to no -- default map
at line 620 chg mapset enabled to yes -- for the open street map
for data= specify $NAVIT_SHAREDIR/maps/...
after data=" replace the first sample with the name of your map
<mapset enabled="no">
<map type="binfile" enabled="yes" data="/media/mmc2/MapsNavit/osm_europe.bin"/>
<mapset enabled="yes">
<map type="binfile" enabled="yes" data="$NAVIT_SHAREDIR/maps/osm_bbox_-139.6,10.1,-50.3,58.6.bin"/>
Although there are other mapping programs like viking, navit
for all its complications fits my requirements quite well.