bGeigie log to GPX convertor

67 views
Skip to first unread message

František Burian

unread,
Jul 24, 2017, 5:16:06 PM7/24/17
to Safecast Device Discussions and Support
Hi all,

  The data in the log of bGeigie can be used for geotagging of photos made during same trail. All applications I know are accepting GPX file format. So I developed small windows application that converts all bGeigie log files in the directory to GPX file format.

The application is released under GNU GPLv3 there: https://github.com/BuFran/SafecastToGpx/releases

  Feel free to use it!

  Many thanks to SURO.cz for borrowing one unit for measurements.

Regards,

  Frantisek Burian

Mat Schaffer

unread,
Jul 24, 2017, 8:14:05 PM7/24/17
to František Burian, Safecast Device Discussions and Support
Nice!

Are you at all familiar with how we might run this on Linux?

Could be fun to get into the API along side the KML export feature. 
--

František Burian

unread,
Jul 25, 2017, 2:53:10 AM7/25/17
to Mat Schaffer, safecast...@googlegroups.com
Hi, Matt,

  It should be easily applicable app under linux, you should have .NET 4.5.2 installed - for example from there: https://www.microsoft.com/net/download/linux and You can run the exe file under linux. (maybe wine should be required too - i'm not familiar with Linux and those libs from Microsoft are too new for me). If 4.5.2 is too new for linux, I can rebuild it to use .net core 4.5 - someone who is familiar with building .net apps for linux should state there what should be done to run it on the linux.

  Secondly, the app is so easy, it should be compilable for Mono (http://www.mono-project.com/) but I haven´t any linux install near me to test it. If it will be wanted, I will install some debian on the virtual, so I could make and release binaries for Linux too. But as I stated, i will need slight help with this install from experienced user.

  According to KML support, please open ticket at GitHub (to be not forgotten), I have KML file format plugin done too, but the file structure is more complex and require more time to finish.

Regards,

  Frantisek

Jan Helebrant

unread,
Jul 25, 2017, 2:57:53 AM7/25/17
to Safecast Device Discussions and Support, buf...@gmail.com
Hi Mat,
I tried to run it on linux but using Wine failed. I looked in the config file and it says:

supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"

So I installed Mono runtime and tried it. No success :-(

I tried it on my Windows machine but running the exe only flashes a CMD window for a second without any effect (I have .NET 4.5.2 installed). 

Maybe I need to run it with some arguments or something? How do you select the LOG file to convert?

regards

Jan

Dne úterý 25. července 2017 2:14:05 UTC+2 Mat Schaffer napsal(a):

Mat Schaffer

unread,
Jul 25, 2017, 3:00:35 AM7/25/17
to Jan Helebrant, Safecast Device Discussions and Support, František Burian
Thanks for trying, Jan! Yeah if we can get it running on linux we can probably have a "Download in GPX" option on the site.

Frantisek, KML is already supported (see https://github.com/Safecast/safecastapi/issues/287 for example), I was thinking GPX could be introduced as yet another download option.

František Burian

unread,
Jul 25, 2017, 3:12:47 AM7/25/17
to Jan Helebrant, Safecast Device Discussions and Support
Hi, Jan,

  Seems you have supported .NET core 4.0 on linux, so I should make .net 4.0 binaries available for you. Seems you should run it with command 'dotnet SafecastToDotnet.exe --help' But stay connected, I should be able to deploy self-contained exe for linux and mac-osX very easily from windows, according to https://docs.microsoft.com/en-us/dotnet/core/deploying/deploy-with-vs

  The program has --help parameter, where it will print all commands available to control. But when you run it in directory where you have log files, it will convert all log files in current directory to GPX files, splitted to multiple tracks.

Regards,

  Frantisek

Kalin KOZHUHAROV (Safecast)

unread,
Jul 25, 2017, 6:09:44 AM7/25/17
to Safecast Device Discussions and Support, Jan Helebrant, František Burian
I definitely think for such tasks, a "native" app on the server should
be in order.

Since we are using Ruby in most places... I cannot help :-\

Otherwise, adding "the Safecast format" to GPSBabel
(https://www.gpsbabel.org/) would be a lot more useful and
cross-platform.

Kalin.

Jan Helebrant

unread,
Jun 10, 2018, 8:30:43 AM6/10/18
to Safecast Device Discussions and Support
Hi,
I just wanted to say that I recently used the LOG2GPX converter several times when I needed to add GPS coordinates to my photos. I used my Win7 machine at work and all went OK and I got GPX files from all my LOGs. Then used GeoSetter to add GPS data to my photos. Great. I am going to use this also for my holiday - I used GPS logger in my smartphone before but now I always take a bGeigie with me so it is really useful.

Jan
Reply all
Reply to author
Forward
0 new messages