1 | Nodemap 2.0 - An interactive nodemap
|
---|
2 |
|
---|
3 | = Introduction =
|
---|
4 | Nodemap 2.0 is an interactive map to show the nodes of the Wireless Leiden network. It
|
---|
5 | reads from a node location file and a node status file and parses this in a KML file.
|
---|
6 |
|
---|
7 | The KML file can be used in all sort of applications like Google Earth, Google Maps,
|
---|
8 | etc.. But for this project we integrated our very own Google Maps intepretation of the
|
---|
9 | KML file. The KML file is read and processed. Extra information is included.
|
---|
10 |
|
---|
11 | = Usage =
|
---|
12 | The KML files are stored in the /src/kml/ directory. Users can just call
|
---|
13 | /src/kml.php?time=%TIMESTAMP% to get the latest KML file created.
|
---|
14 |
|
---|
15 | The map is placed at /src/index.php and can be included in every website using a iframe.
|
---|
16 |
|
---|
17 | = File layout =
|
---|
18 | /src/img/ -> Directory with the images used in the applications (both KML file as
|
---|
19 | map site)
|
---|
20 | /src/inc/ -> Directory with the includes for the KML parser
|
---|
21 | /src/kml/ -> Directory with the stored KML files
|
---|
22 | /src/map/ -> Main directory for map site
|
---|
23 | /src/map/inc/ -> Directory with the includes for the map site
|
---|
24 | /src/map/style/ -> Directory with the stylesheets for the map site
|
---|
25 | /src/test/ -> Directory with a couple of tests for the KML parser classes
|
---|
26 | /src/config.php -> Main config file
|
---|
27 | /src/init.php -> Init file for KML parser
|
---|
28 | /src/kml-echo.php -> Echo's live a KML valid file
|
---|
29 | /src/kml.php -> Redirects the user to the latest KML file in the /src/kml/ directory.
|
---|
30 | If needed, creates a new KML file
|
---|
31 | /src/logfile.txt -> Main logging file with errors, warnings, etc.
|
---|
32 |
|
---|
33 | = Hacking =
|
---|
34 | In src/inc/LogHandler.class.php you can edit the logging values:
|
---|
35 | define('LOG_LEVEL_ECHO', SYSLOG_DEBUG);
|
---|
36 | define('LOG_LEVEL_WRITE', SYSLOG_DEBUG);
|
---|
37 | define('LOG_LEVEL_MAIL', SYSLOG_EMERG);
|
---|
38 |
|
---|
39 | Use USB Webserver (www.usbwebserver.com) for testing under Windows systems
|
---|
40 |
|
---|
41 | Use Eclipse (www.eclipse.org) for editing the code for easy auto completion
|
---|
42 |
|
---|
43 | = Credits =
|
---|
44 | Application created as a project of Hogeschool Leiden by the students:
|
---|
45 | Pieter Naber, Jan van Eeden, David de Boer
|
---|