dfandrich / gpscorrelate

C program to match GPS tracks to photographs, and store the matches in the EXIF data in the photographs.
https://dfandrich.github.io/gpscorrelate/
GNU General Public License v2.0
24 stars 8 forks source link

support hdop and compass #9

Open andrewharvey opened 3 years ago

andrewharvey commented 3 years ago

OSMTracker for Android will add a hdop and compass eg.

<trkpt lat="" lon="">
                                <ele>10</ele>
                                <time>2020-08-31T00:55:56Z</time>
                                <hdop>8.0</hdop>
                                <extensions>
                                        <speed>0.0</speed>
                                        <compass>206.067626953125</compass>
                                        <compass_accuracy>3.0</compass_accuracy>
                                </extensions>
                        </trkpt>

EXIF https://exiftool.org/TagNames/GPS.html supports GPSDOP and GPSImgDirection.

gpscorrelate should include these if found.

I'm not a C expert but I can give a PR a go, seems like most of the work is already there extracting ele.

dfandrich commented 3 years ago

Thanks for the suggestion. The heading branch already contains support for

. It's almost ready to submit, but I'd appreciate feedback if you're able. hdop support is something I've been thinking of adding (which would control the number of decimals), but I haven't started on that yet.
andrewharvey commented 3 years ago

The compass branch looks good, I just left one comment. It's more capable than I expected, supporting a range of different ways that the GPSImgDirection field could be set from many different kinds of GPX files. :+1:

dfandrich commented 4 months ago

The compass support has been merged. HDOP is still not there.

sikmir commented 4 months ago

The compass support has been merged. HDOP is still not there.

Is there any plans for next release?)

dfandrich commented 4 months ago

I hope to do it by early next week.

dfandrich commented 3 months ago

Version 2.1 has been released with compass support.