Changes between Version 14 and Version 15 of django_gheat
- Timestamp:
- Apr 18, 2011, 8:16:47 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
django_gheat
v14 v15 89 89 }}} 90 90 91 If you will use the csv_to_db.php, also edit the following: 91 == Importing .netxml == 92 93 There is a data import script for the .netxml file format: 92 94 {{{ 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> 95 103 }}} 96 104 97 These ways of inserting data will be temporarily, a python script is in the making. 105 When 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 }}} 98 119 99 120 == Prerender heatmap ==