| 1 | = Make a KML Overview = |
| 2 | |
| 3 | This page describes how to use the script make_kmloverview.py. |
| 4 | |
| 5 | == First run == |
| 6 | |
| 7 | This should be run at the unpacking stage - note that the first time it runs it will fail if the weblink does not exist. This can be created after the first run as follows. |
| 8 | |
| 9 | {{{ |
| 10 | make_kmloverview.py -l <main_project_directory> |
| 11 | }}} |
| 12 | |
| 13 | Runs in dry run mode - please check that there are no suspicious or fatal errors before running in --final mode. One error that you will get is the following: |
| 14 | |
| 15 | '''Symlink does not exist on webserver. This must exist to continue - paste below into terminal and enter password. Then re-run this script''' |
| 16 | |
| 17 | Copy / Paste the required command into the terminal and enter the rsgadmin password. |
| 18 | |
| 19 | Also note that in dry-run mode, the output password to the terminal will NOT be the same as the password created when run in --final mode. |
| 20 | |
| 21 | == Final run == |
| 22 | |
| 23 | If happy that everything looks in order run with --final, i.e. |
| 24 | |
| 25 | {{{ |
| 26 | make_kmloverview.py -l <main_project_directory> --final |
| 27 | }}} |
| 28 | |
| 29 | If you require the username and password for emailing the PI then you can access it from the processing/kml_overview/.htaccess file. |
| 30 | |
| 31 | == Auto updates == |
| 32 | |
| 33 | This script is set up as a cronjob to run automatically every night. |
| 34 | |