Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

source for website

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time


How to Start?

  • Ask Safecast for a copy of the database for you to run on your mysql server
  • Add the following files to your build


$db  = new fDatabase('mysql', 'DATABASE_NAME', 'DATABASE_USER', 'DATABASE_PASSWORD', 'localhost');


try {  

    $db = new PDO("mysql:host=localhost;dbname=DATABASE_NAME", 'DATABASE_USER', 'DATABASE_PASSWORD');  
    $db->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION ); 
catch(PDOException $e) {  
    return $e->getMessage();  


The following directories need to be write-able by your webserver for a fully functioning site

  • /feeds/driveCache
  • /feeds/temp

After CHMODing, for any of the drive maps that you want to display you need to generate them by going to /drive/manage and clicking on the "Generate Static Files" link for every drive.
This will populate the /feeds/driveCache directory with the static JSON (and KML and CSV) files for each drive.

Something went wrong with that request. Please try again.