3 | | '''django_gheat/''' Root |
4 | | >'''external/''' |
5 | | >>'''django-extensions/''' Extensions for Django. Run the setup.py to install. |
6 | | >'''gheat/''' The main folder for the heatmap application |
7 | | >>'''etc/''' |
8 | | >>>'''color-schemes/''' |
9 | | >>>[[BR]]'''dots/''' |
10 | | >>'''management/''' |
11 | | >>>'''commands/''' |
12 | | >'''website/''' The main folder for the heatmap website |
13 | | >>'''static/''' |
14 | | >>>'''image/''' |
15 | | >>>[[BR]]'''theme/''' |
16 | | >>>>'''default/''' |
17 | | >>'''templates/''' |
| 4 | == gheat/ == |
| 5 | You can find all gheat files here, general settings, models, data import scripts etc. |
| 6 | |
| 7 | === views.py === |
| 8 | Mainly responsible for serving heatmap tiles. |
| 9 | |
| 10 | === models.py === |
| 11 | Database structure is defined here. |
| 12 | |
| 13 | === management/commands/ === |
| 14 | Data import scripts are located here, scripts for importing Kismet, Droidstumbler, and general .csv files are available. Can be run with {{{./manage.py <script>}}}. |
| 15 | Also, a prerender script is available which uses the gheat-way of rendering (not the tile.py). |
| 16 | |
| 17 | === etc/ === |
| 18 | Dot sizes and colours for heatmap tiles are put here. |
| 19 | |
| 20 | == website/ == |
| 21 | === filters.py === |
| 22 | The main script for heatmap rendering. Renders realtime. |
| 23 | |
| 24 | === urls.py === |
| 25 | Redirects urls to their given destination. |
| 26 | |
| 27 | === static/ === |
| 28 | Contains the static files for the website such as CSS, Javascripts and images. |
| 29 | |
| 30 | ==== heatmap.js ==== |
| 31 | Has the init() for the map. Contains settings for the heatmap, basic layers are added here too. |
| 32 | |
| 33 | ==== heatmap_extensions.js ==== |
| 34 | Most of the javascript extensions are here (except for the plugins like JQuery UI and the colorpicker, though their functions are used here). |
| 35 | Filters, slider, layer switcher functions and other things are coded here. |
| 36 | |
| 37 | ==== openstreetmap.js ==== |
| 38 | At the bottom, basic layers are set. |
| 39 | |
| 40 | === templates/ === |
| 41 | The website's templates are saved here. |