UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:tracker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:tracker [2008/08/28 01:25] natrium42projects:tracker [2011/07/26 02:50] (current) – [Usage] natrium42
Line 7: Line 7:
  
 ==== Download ==== ==== Download ====
 +[[http://natrium42.com/downloads/tracker-0.2.zip|tracker-0.2.zip]] (Current)
 +
 [[http://natrium42.com/downloads/tracker-0.1.tar.bz2|tracker-0.1.tar.bz2]] [[http://natrium42.com/downloads/tracker-0.1.tar.bz2|tracker-0.1.tar.bz2]]
  
Line 25: Line 27:
   `gps_heading` double NOT NULL default '0',   `gps_heading` double NOT NULL default '0',
   `gps_speed` double NOT NULL default '0',   `gps_speed` double NOT NULL default '0',
 +  `picture` varchar(32) NOT NULL default '',
   PRIMARY KEY  (`position_id`)   PRIMARY KEY  (`position_id`)
 ) ENGINE=MyISAM  DEFAULT CHARSET=latin1; ) ENGINE=MyISAM  DEFAULT CHARSET=latin1;
  
 </code> </code>
-  *Copy all files to a folder on your server. +  * Copy all files to a folder on your server. 
-  *Edit config.php and track.kml +  * Edit config.php 
-  * Google maps requires an API Key for each domain, sign up for one at [[http://code.google.com/apis/maps/signup.html]] and replace the key in index.php+  * Google maps requires an API Key for each domain, sign up for one at [[http://code.google.com/apis/maps/signup.html]] and put it into $gmaps_key in config.php 
 + 
 +==== Customization ==== 
 +  * Modify the Twitter section in index.php: you can remove it or put your own user name 
 +  * Modify the Mibbit IRC section in index.php: you can remove it or put your own IRC channel into it 
 +  * Modify the ustream section in index.php to enable live video feed 
 +  * If you don't need picture down-link, remove header div from index.php
  
 ==== Usage ==== ==== Usage ====
  
- +=== Updates via HTTP GET or POST === 
-=== Updates via Email === +To send an update via HTTP, send a GET or POST request to http://domain.com/tracker/track.php with following variables (or any other variables supported by the tracker):
-Send email to track@domain.com of the format: +
-  N:firefly,T:233720,Lat:5142.8844N,Lon:00007.1758W,Alt:123.9,H:40,S:20.5km/h,P:yourpass +
-It's also possible to omit "km/h" and/or use decimal lat/lon: +
-  N:halo,T:233720,Lat:51.71474,Lon:0.119596,Alt:123.9,H:40,S:20.5,P:yourpass +
-Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. +
- +
-=== Updates via HTTP GET === +
-To send an update via HTTP, send a GET request to http://domain.com/tracker/track.php with following variables (or any other variables supported by the tracker):+
   vehicle=halo   vehicle=halo
   time=233720   time=233720
Line 58: Line 59:
  
 Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. Decimal lat/lon can be used, because the tracker auto-recognizes the format. Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. Decimal lat/lon can be used, because the tracker auto-recognizes the format.
 +
 +=== Updates via Email ===
 +Send email to track@domain.com of the format:
 +  N:firefly,T:233720,Lat:5142.8844N,Lon:00007.1758W,Alt:123.9,H:40,S:20.5km/h,P:yourpass
 +It's also possible to omit "km/h" and/or use decimal lat/lon:
 +  N:halo,T:233720,Lat:51.71474,Lon:0.119596,Alt:123.9,H:40,S:20.5,P:yourpass
 +Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss.
  
 === Live Pictures === === Live Pictures ===
Line 70: Line 78:
 === Administration === === Administration ===
 Admin interface is available in http://domain.com/tracker/admin and can be used to delete tracks. Admin interface is available in http://domain.com/tracker/admin and can be used to delete tracks.
 +
 +=== Change Log ===
 +
 +0.2 (2009-01-24)
 +
 +  * Added picture down-link option
 +
 +0.1 (2008-08-02)
 +
 +  * Initial revision
projects/tracker.1219886714.txt.gz · Last modified: 2008/08/28 01:25 by natrium42

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki