This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there any way to embeded and export few photos & track in the same GPX file?

Former Member
Former Member
Hi,

I tried everything but just can't get it to work. You see, I have GPSMAP 62s and I recorded track with it and take couple of photos with my EOS camp during that trip. After the trip I exported track to BaseCamp and imported and geotagged few photos from my EOS 7D, than I created list that contains all of the waypoints from the trip, the track and the photos. As the last step I tried to export it all together in either gpx and gdb format but the problem is that I can't see photos that I tried to embed on the any software or online service that I tried so far. For example if I load this exported gpx file on Google Earth I'll get track and the way points but instead of geotagged photos I'll only get the the waypoints with the name of the photo?

So my question is how to embeded photos with track?!? Is it possible with BaseCamp at all? It should be somehow possible because I have samples that contains photos, waypoints and tracks all together and this photos are shown as thumbnails on Google maps and when you click on it xou can even see larger preview?

10X in advance,
Teo
  • It is not possible to embed other (binary) files into gpx or gdb files. What BaseCamp does is store a reference to the photos in the file. As long as you keep the relative path to the photos the same, and upload the photos together with the gpx file it would be possible providing that the target application supports this option. I'm almost sure that Google Earth doesn't support this; Google Maps certainly doesn't.
    A possible solution is to use an application that creates a kmz file containing the track and the photos.
    I've made one, but I don't think it is usable for you, unless you can read Dutch...
  • Former Member
    0 Former Member over 12 years ago
    Not sure how but there must be a way because I found numerous samples on the net, maybe it is a relative path to photos as you said, I'll see what I can do and is it possible to do it on that way or maybe there is another solution.

    Here is the link to one example, it is a gpx file displayed as a leyer on top of google maps together with photos and waypoints...

    http://www.j-berkemeier.de/GPXViewer/Beispiel4.html

    10x 4 you time and have a nice and long weekend by the way,
    Teo
  • That example requires you to upload the photos separately to your webspace. As I understand the script on that site doesn't use the special reference from the gpx file, but simply compares the name of a waypoint with the available images.
  • Former Member
    0 Former Member over 12 years ago
    In the last couple of day I tried nearyl everything tio get this photoi thing to work and so far IO discovered that it is impossible to add any binary file to gpx file itsels which menas that it can only contains reference to geotaged photos.

    After inspecting code of few gpy files that I found online I relaized that it is neccessary to ose name of the photo as way point name:

    <wpt lat="47.6547190" lon="10.8021930">
    ...
    <name>picture.jpg</name>
    ...
    </wpt>


    while the name of the way point is the path relative to the html document, so the best solution is to put html, gpx and jpg files into the same folder but as it is impossible with Joomla and GPStools so I'm looking for another solution.

    I'll try to manually tweak the code and for the wp name put relative path to image located inside the Joomla's image folder?

    <wpt lat="47.6547190" lon="10.8021930">
    ...
    <name>images/news/2012/09/vocic.jpg</name>
    ...
    </wpt>


    However will keep U informed, it could be helpful to somone ;)
  • Former Member
    0 Former Member over 12 years ago
    Finally solve the problem by adding the image link and title in Waypoint description....

    Here is the link to another thread, it could be helpful to somone:

    https://forums.garmin.com/showthread.php?31019-Waypoints-description-problem-!&p=149140#post149140
  • It's an 11 year old post which is probably why!