Thank you, Frank. The following seems to have removed only the lat and long details:
for i in *.xmp; do echo "Processing $i"; exiftool -geotag= "$i"; done Now I'm back to where I was at the beginning; I must manipulate the offset so that the photos are moved by a couple of kilometres. Can you confirm that any repeated tweaks to the offset are cumulative? -----Original Message----- From: Frank J. <newslet...@fotodrachen.de> To: darktable-users@lists.sourceforge.net Subject: Re: [Darktable-users] How to purge incorrect Latitude & Longitude data? Date: Mon, 29 Feb 2016 20:46:08 +0100 Hallo, Am 29.02.2016 um 18:50 schrieb J Albrecht: > > .. following these directions purged everything from the xmp files! This sed-command deletes all lines in the *.xmp with the text-string "GPS". I looked into one of my *.xmp-files: exif:GPSLongitude="8,...E" exif:GPSLatitude="52,...N"> <darktable:mask_id> The GPSLatitude-Line ist the last line of the XML-tag "<rdf:Description>". The tag-closing ">" in the line will also be deleted. So the *.xmp gets unreadable. Try to modify the sed-Command to let the ">" in place. Or try to set a single ">" before "<darktable:mask_id>". Or maybe it is also possible to use exiv-tools to modify all *.xmp but not the raw (which has no GPS-Coordinates). http://www.exiv2.org/manpage.html : "exiv2 is a program to read and write ..., XMP metadata and .." exiv2 -M"set Exif.GPSInfo.GPSLatitude .... Frank > > > > > > > > > > > > On 29/02/16 16:44, Robert William Hutton wrote: ... > > > > > > > > > for file in *.xmp ; do sed -i '/GPS/d' "$file" ; done > > > --------------------------------------------------------------------- --------- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users