Examples¶
Help¶
The --help flag will output a help message with all of the available options:
./archmap.py --help
Basic use¶
By default, running ./archmap.py will output three files to /tmp, users.txt, output.geojson and output.kml, this can be overridden by either using the config file or by the following command line switches.
Using the --verbose flag will print information on what the script is doing:
./archmap.py --verbose
You can specify the output location for the geojson, kml and csv:
./archmap.py --geojson /tmp/archmap.geojson --kml /tmp/archmap.kml --csv /tmp/archmap.csv
geojson.io¶
http://geojson.io is a website that allows you to visualise geojson on an OpenStreetMap map, it also has options for converting the geojson to a range of other formats.
Using the --geojsonio flag will send the geojson to the site via a GitHub gist.
./archmap.py --geojsonio
Logging¶
If the script is run on a system that uses systemd, it will log to it using the syslog identifier - "ArchMap".
You can review all logs generated by archmap.py by using:
journalctl SYSLOG_IDENTIFIER=ArchMap