Changes between Version 14 and Version 15 of django_gheat


Ignore:
Timestamp:
Apr 18, 2011, 8:16:47 PM (14 years ago)
Author:
dennisw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • django_gheat

    v14 v15  
    8989}}}
    9090
    91 If you will use the csv_to_db.php, also edit the following:
     91== Importing .netxml ==
     92
     93There is a data import script for the .netxml file format:
    9294{{{
    93 // csv to open
    94 $file = ' .csv';
     95# 'cd' to project root
     96# In theory, only the -f option is needed, but for overview's sake, please use the others aswell.
     97# -f = location of the .netxml, e.g. '/home/test.netxml'
     98# -m = name of the dataset, e.g. 'Walk in park' or 'Trip with boat'
     99# -g = your name
     100# -e = your email address
     101
     102$ ./manage.py dataimport -f <file location> -m <dataset name> -g <username> -e <email>
    95103}}}
    96104
    97 These ways of inserting data will be temporarily, a python script is in the making.
     105When importing .netxml, be sure your file has atleast the following parent/child xml elements:
     106{{{
     107<wireless-network>
     108  <SSID>
     109    <encryption> </encryption>
     110    <essid cloaked=""> </essid>
     111  </SSID>
     112  <BSSID> </BSSID>
     113  <gps-info>
     114    <min-lat> </min-lat>
     115    <min-lon> </min-lon>
     116  </gps-info>
     117</wireless-network>
     118}}}
    98119
    99120== Prerender heatmap ==