navit-project.org

forum for navit navigation tool
It is currently 17 Aug 2017, 11:36
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Custom POI does not appear
PostPosted: 28 Feb 2017, 08:19 
Offline

Joined: 22 Feb 2017, 13:14
Posts: 1
Dear all,
I’m working in a project that requires a navigation engine on Raspberry Pi. I’m using raspberry pi 3 running with raspbian jessie PIXEL latest version. Also I have installed navit version(navit-svn 0.5.0 6135-http://www.navit-project.org/) from this tutorial: http://raspberrypi.link-tech.de/doku.php?id=navitnavigation . And I’m interested to use my own custom POI, I have followed this tutorial: http://wiki.navit-project.org/index.php/Custom_POIs which is about inserting a custom POI from a text file. But it didn’t display the icon, the desired location is 23.6184444 N, 58.1799386 E.

In my_pois.txt look like this:
Code:
mg:58.1799386 23.6184444 type=poi_custom1 label="speed" icon_src="airport_96_96.png"


And in xml file like this:

Code:
<!-- Mapset template for openstreetmaps -->
      <mapset enabled="yes">
         <map type="binfile" enabled="no" data="/media/mmc2/MapsNavit/osm_europe.bin"/>
         <map type="binfile" enabled="yes" data="/home/pi/navit/maps/osm_oman.bin"/>
         <map type="textfile" enabled="yes" data="/home/pi/navit/maps/my_pois.txt"/>
      </mapset>



I have tried to put the icons full path in “icon_src” as Mr. Malcolm did it in http://forum.navit-project.org/viewtopic.php?f=6&t=524&p=1164&hilit=POI#p1164 . Also, I ‘ve tried to change the order in xml (0- to 20-) but seems it didn’t work either.
In navit, my_pois.txt file is activated in settings >> maps but nothing appears on the map!

Any suggestion?


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS