[ gpsdrive ] POI's and icons.

Ross Scanlon info at 4x4falcon.com
Mon Jun 16 01:42:49 AKDT 2008


Hi All,

Just wanted to confirm this.

If I want to add an icon and poi type I need to put the icon in the relevant directory and edit the icons.xml file.

Then run the script create-geoinfo-db.pl and then copy the geoinfo.db file to ~/.gpsdrive

eg.

bp.png is icon file

Put icon in

map-icons/square.big (or small) /vehicle/fuel_station/

Add folowing section in icons.xml:

<rule>
  <condition k="poi" v="vehicle.fuel_station.bp"/>
  <scale_min>1</scale_min>
  <scale_max>50000</scale_max>
  <title lang="en">BP</title>
  <descrition lang="en"></description>
  <geoinfo>
    <restricted>brand</restricted>
  </geoinfo>
</rule>

Then run script/create-geoinfo-db.pl

Copy geoinfo.db to ~/.gpsdrive


-- 


 Regards
 Ross


More information about the GPSdrive mailing list