无法在覆盆子pi中看到NAVIT上的地图

时间:2015-12-04 21:44:32

标签: dictionary navigation raspberry-pi raspbian

我正在关注this指南以安装" navit"在我的覆盆子pi。更改' navit.xml'文件,我运行导航,但我看不到任何地图。有些屏幕截图如下。

更改地图路径后的navit.xml文件。我做到了

 <mapset enabled="yes">
                 <map type="binfile" enabled="yes" data="/home/pi/Downloads/osm_bbox_tr.bin"/>
            </mapset>

enter image description here

以下是我运行导航的方法:

enter image description here

启动后,我明白了。没有地图:

enter image description here

这是什么原因?我怎么能看到地图?

2 个答案:

答案 0 :(得分:1)

您是否禁用了示例地图(您编辑的那个上方的条目指向.bin文件)?它看起来应该是这样的;

<!-- If you dont want to use the sample map, either set enable="no" in the next line or remove the xml file from the maps directory -->
<mapset enabled="no">
<xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
<mapset>

答案 1 :(得分:0)

确保您的GPSD正常工作(使用cgps -s或gpsmon)并将中心定位到属于地图的点。

<navit center="4808 N 1134 E" zoom="256" tracking="1" orientation="-1" recent_dest="10">