wiki:structure

Version 2 (modified by dennisw, 13 years ago) ( diff )

--

4. Folder & Files explained

Some folders and files that you might need later are listed here with their description.

gheat/

You can find all gheat files here, general settings, models, data import scripts etc.

views.py

Mainly responsible for serving heatmap tiles.

models.py

Database structure is defined here.

management/commands/

Data import scripts are located here, scripts for importing Kismet, Droidstumbler, and general .csv files are available. Can be run with ./manage.py <script>. Also, a prerender script is available which uses the gheat-way of rendering (not the tile.py).

etc/

Dot sizes and colours for heatmap tiles are put here.

website/

filters.py

The main script for heatmap rendering. Renders realtime.

urls.py

Redirects urls to their given destination.

static/

Contains the static files for the website such as CSS, Javascripts and images.

heatmap.js

Has the init() for the map. Contains settings for the heatmap, basic layers are added here too.

heatmap_extensions.js

Most of the javascript extensions are here (except for the plugins like JQuery UI and the colorpicker, though their functions are used here). Filters, slider, layer switcher functions and other things are coded here.

openstreetmap.js

At the bottom, basic layers are set.

templates/

The website's templates are saved here.

Note: See TracWiki for help on using the wiki.