11.01.2020, 00:49
(This post was last modified: 11.01.2020, 00:57 by snowtracks.)
This isn't drectly related to RC so hope there's no issues me posting this here.
I have many GPX files built up over the years and I'd like to analyse them and extract data from them.
What I would like is to have some utility or program that will parse all the GPX files in a directory (Windows) and write data about each file to an output file (just a CSV text file or similar). The output file would therefore be a list with a line for each GPX file in the directory, each line containing information about that file.
The minimum data would be lat & long of the start point - i.e. first data point in the file; date and filename.
Other data derived from the files such as elapsed time and mileage would also be useful as would being able to convert that starting lat/long into a place name (guessing that would need a Google API call).
Can anyone advise me if there's anything available anywhere that does this?
If not any tips on how to start creating such a thing? I'm an IT person but my development days were many decades ago, so am looking for quickest and easiest solution, maybe building on existing open source code if any exists anywhere. I'm assuming there are libraries for handling GPX files available for languages like Java or Python.
Thanks in advance
I have many GPX files built up over the years and I'd like to analyse them and extract data from them.
What I would like is to have some utility or program that will parse all the GPX files in a directory (Windows) and write data about each file to an output file (just a CSV text file or similar). The output file would therefore be a list with a line for each GPX file in the directory, each line containing information about that file.
The minimum data would be lat & long of the start point - i.e. first data point in the file; date and filename.
Other data derived from the files such as elapsed time and mileage would also be useful as would being able to convert that starting lat/long into a place name (guessing that would need a Google API call).
Can anyone advise me if there's anything available anywhere that does this?
If not any tips on how to start creating such a thing? I'm an IT person but my development days were many decades ago, so am looking for quickest and easiest solution, maybe building on existing open source code if any exists anywhere. I'm assuming there are libraries for handling GPX files available for languages like Java or Python.
Thanks in advance