Nodemap 2.0 - An interactive nodemap

= Introduction =
Nodemap 2.0 is an interactive map to show the nodes of the Wireless Leiden network. It
reads from a node location file and a node status file and parses this in a KML file.

The KML file can be used in all sort of applications like Google Earth, Google Maps,
etc.. But for this project we integrated our very own Google Maps intepretation of the
KML file. The KML file is read and processed. Extra information is included.

= Usage =
The KML files are stored in the /src/kml/ directory. Users can just call
/src/kml.php?time=%TIMESTAMP% to get the latest KML file created.

The map is placed at /src/index.php and can be included in every website using a iframe.

= File layout =
/src/img/			-> Directory with the images used in the applications (both KML file as
						map site)
/src/inc/			-> Directory with the includes for the KML parser
/src/kml/			-> Directory with the stored KML files
/src/map/			-> Main directory for map site
/src/map/inc/		-> Directory with the includes for the map site
/src/map/style/		-> Directory with the stylesheets for the map site
/src/test/			-> Directory with a couple of tests for the KML parser classes
/src/config.php		-> Main config file
/src/init.php		-> Init file for KML parser
/src/kml-echo.php	-> Echo's live a KML valid file
/src/kml.php		-> Redirects the user to the latest KML file in the /src/kml/ directory.
						If needed, creates a new KML file
/src/logfile.txt	-> Main logging file with errors, warnings, etc.

= Hacking =
In src/inc/LogHandler.class.php you can edit the logging values:
define('LOG_LEVEL_ECHO', SYSLOG_DEBUG);
define('LOG_LEVEL_WRITE', SYSLOG_DEBUG);
define('LOG_LEVEL_MAIL', SYSLOG_EMERG);

Use USB Webserver (www.usbwebserver.com) for testing under Windows systems

Use Eclipse (www.eclipse.org) for editing the code for easy auto completion

= Credits =
Application created as a project of Hogeschool Leiden by the students:
Pieter Naber, Jan van Eeden, David de Boer