Basic Trip Extract and Export Tool (KML or CSV currently supported)

autopi-cloud
#1

Hi All,

Just wanted to give you a heads up on a tool that I have created based on my experiences with the Cloud API.

Currently it supports exporting trips in the form of CSV or KML.

Instructions are as follows:

  1. Install .NET Core
    RPI: https://www.nidhishps.com/2019/04/how-to-install-net-core-on-raspberry-pi.html
    Others (windows, mac, linux): https://dotnet.microsoft.com/download/dotnet-core/2.2

  2. Clone my repo at: https://github.com/nothingmn/autopi.net
    Feel free to fork it, if that is your thing.

  3. open a terminal, command prompt, whatever with the “dotnet” executable linked/in your path and execute

dotnet run --project autopi.net.console/

For example on a Pi:
pi@PI1:~/data/source/autopi.net $ dotnet run --project autopi.net.console/

Or windows:
C:\data\source\garage\autopi.net>dotnet run --project autopi.net.console

You will be prompted for your credentials, and then you can choose the dongle (from a list) and then a trip (or all trips) for that dongle and finally the format, either KML or CSV. I will export to the current working folder.

If you dont see a file generated, it probably means there was no location data available for that trip, just choose another.

To view the files: Google earth for KML and Excel for CSV.

Cheers,

-Rob

1 Like