This script is a client to a TAK server which forwards messages to web services like What3Words. It has been tested with https://github.com/tkuester/taky
python3 -m pip install what3words OSGridConverter
- Edit the settings in the script for your server and API keys
Parameter | Default | Description |
---|---|---|
TAK_SERVER_ADDRESS | 127.0.0.1 | TAK Server IP address |
TAK_SERVER_PORT | 8087 | TAK Server TCP port |
-
In a terminal, run your TAK server
taky -l debug
-
In a new terminal, run the chatbot script
python3 geobot.py
-
Expect to see a message on your TAK client in "All Chat Rooms" "GEO-BOT online"
-
Start chatting to the bot directly, not in the "All Chat Rooms"
Command | Description |
---|---|
bng | Convert WGS84 to British National Grid / OSGB |
w3w | Convert WGS84 to what-3-words. Requires API key... |
ddd | Decimal degrees dropper. Paste in coordinates, get a pin |