Thanks Peter. The thing is I need a way to use the geolocation that OsmAnd has recorded in the gpx file (in the waypoints corresponding to the pictures).
I wasn't doing any tracking when I noticed that things had changed quite a lot at a certain location. Normally I would have my gps logger and a camera and use the process you describe. It turns out the pictures ARE geotagged. Some are fine but some are way off. The info recorded in the OsmAnd gpx file is correct and is what I want to use. Maybe I need to strip the existing geotags before Josm or some other program will look into OsmAnd's file and use it's data. But GPS-correlate that I would use for this, has disappeared so I first need to find a replacement for that. Basically I need a simple script that will go through the pictures (for i in *.jpg do ...), parse the given OsmAnd gpx file for the geolocation, and then write that info to the picture using exiftool. I don't have the expertise nor time to figure out how to extract the info from the gpx file correctly so it can be passed on to exiftool. Kind regards, Lambert On Fri, 01 Nov 2013 11:24:47 +0100 Peter Wendorff <wendo...@uni-paderborn.de> wrote: > Hi Lambert, > > If I remember right JOSM is very nice in this area: > If you open a gpx file with timecodes at the points and images that > are time-coded (file-creation time), JOSM matches them together and > shows the image at the coordinate along the gpx at the corresponding > time. > > Of course for that to work properly the times have to be in sync, but > if you use osmand to do both - log the GPX and take the picture - this > should be the case automatically (be careful when combining a camera > with a smartphone) > > regards > Peter > > Am 01.11.2013 10:52, schrieb Lambert Carsten: > > Hi, > > > > OsmAnd has become increasingly useful to me whilst mapping so I am > > using it more and more. > > > > Recently I came across an area that needs to be fixed because it has > > changed considerably. I used a feature in OsmAnd I hadn't tried yet > > and took several 'picture notes' which are all nicely pinpointed at > > the right location within OsmAnd. The pictures themselves however > > are not geotagged, so I cannot use them directly in JOSM. The > > geolocation info is stored in the XML file (*.gpx) using waypoints. > > > > Does anyone know of a simple script to write the geolocation > > info to the pictures themselves using OsmAnd's gpx file? > > > > I did Google around a bit but found nothing including OsmAnd project > > site. > > > > Just to avoid confusion, the geolocation information for the > > 'notes' (pictures, audio, video) in OsmAnd's gpx file is NOT > > done using the time stamp. Therefor those utilities to geotag > > pictures using a track and the time stamps don't work here. > > Here is an excerpt of how the info is recorded in the gpx file: > > > > <wpt lat="52.3621917" lon="4.838233"> > > <name>0...@qlv8---1.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > <wpt lat="52.3621917" lon="4.8383188"> > > <name>0...@qlxc---1.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > <wpt lat="52.3622561" lon="4.8381257"> > > <name>0...@qoas---1.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > <wpt lat="52.362653" lon="4.8381257"> > > <name>0...@qord---1.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > <wpt lat="52.362653" lon="4.8381257"> > > <name>0...@qord---2.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > <wpt lat="52.3628783" lon="4.837954"> > > <name>0E4@q...@w---1.jpg</name> > > <time>2013-10-31T08:44:22Z</time> > > </wpt> > > > > (As you can see the time info is the same for several pictures at > > different locations.) > > > > Sadly I am not a programmer other than some very simple bash > > scripts. But this does not seem to need extensive programming > > skills. Anyone already solved this and care to share their script? > > > > Thanks, > > > > Lambert Carsten > > > > _______________________________________________ > > talk mailing list > > talk@openstreetmap.org > > https://lists.openstreetmap.org/listinfo/talk > > > > > _______________________________________________ > talk mailing list > talk@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk _______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk