diff options
author | gregor herrmann <gregoa@debian.org> | 2013-10-22 19:37:04 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2013-10-22 19:37:04 +0200 |
commit | b6f6a17320fe8ec9ba631a1b1125ff71125a1ccb (patch) | |
tree | 9c824afafd039bf78abc27772b514a4aff24d38d /fmt_files | |
parent | f0b0cc2d326311e1cd217a797f9de773e7dfd901 (diff) |
Imported Upstream version 9.27
Diffstat (limited to 'fmt_files')
-rw-r--r-- | fmt_files/gpx.fmt | 29 | ||||
-rw-r--r-- | fmt_files/gpx_wpt.fmt | 33 | ||||
-rw-r--r-- | fmt_files/kml.fmt | 53 |
3 files changed, 115 insertions, 0 deletions
diff --git a/fmt_files/gpx.fmt b/fmt_files/gpx.fmt new file mode 100644 index 00000000..02a84831 --- /dev/null +++ b/fmt_files/gpx.fmt @@ -0,0 +1,29 @@ +#------------------------------------------------------------------------------ +# File: gpx.fmt +# +# Description: Example ExifTool print format file to generate a GPX track log +# +# Usage: exiftool -p gpx.fmt -d %Y-%m-%dT%H:%M:%SZ FILE [...] > out.gpx +# +# Revisions: 2010/02/05 - P. Harvey created +# +# Notes: 1) All input files must contain GPSLatitude and GPSLongitude. +# 2) The -fileOrder option may be used to control the order of the +# generated track points. +#------------------------------------------------------------------------------ +#[HEAD]<?xml version="1.0" encoding="utf-8"?> +#[HEAD]<gpx version="1.0" +#[HEAD] creator="ExifTool $ExifToolVersion" +#[HEAD] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +#[HEAD] xmlns="http://www.topografix.com/GPX/1/0" +#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> +#[HEAD]<trk> +#[HEAD]<number>1</number> +#[HEAD]<trkseg> +#[BODY]<trkpt lat="$gpslatitude#" lon="$gpslongitude#"> +#[BODY] <ele>$gpsaltitude#</ele> +#[BODY] <time>$gpsdatetime</time> +#[BODY]</trkpt> +#[TAIL]</trkseg> +#[TAIL]</trk> +#[TAIL]</gpx> diff --git a/fmt_files/gpx_wpt.fmt b/fmt_files/gpx_wpt.fmt new file mode 100644 index 00000000..6d6188fb --- /dev/null +++ b/fmt_files/gpx_wpt.fmt @@ -0,0 +1,33 @@ +#------------------------------------------------------------------------------ +# File: gpx_wpt.fmt +# +# Description: Example ExifTool print format file to generate GPX waypoints +# with pictures +# +# Usage: exiftool -p gpx_wpt.fmt -d %Y-%m-%dT%H:%M:%SZ FILE [...] > out.gpx +# +# Revisons: 2010/03/13 - Peter Grimm created +# +# Notes: 1) All input files must contain GPSLatitude and GPSLongitude. +# 2) The -fileOrder option may be used to control the order of the +# generated track points. +#------------------------------------------------------------------------------ +#[HEAD]<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +#[HEAD]<gpx version="1.1" +#[HEAD] creator="ExifTool $ExifToolVersion" +#[HEAD] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +#[HEAD] xmlns="http://www.topografix.com/GPX/1/1" +#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> +#[BODY]<wpt lat="$gpslatitude#" lon="$gpslongitude#"> +#[BODY] <ele>$gpsaltitude#</ele> +#[BODY] <time>$gpsdatetime</time> +#[BODY] <name>$filename</name> +#[BODY] <link href="$directory/$filename"/> +#[BODY] <sym>Scenic Area</sym> +#[BODY] <extensions> +#[BODY] <gpxx:WaypointExtension xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"> +#[BODY] <gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode> +#[BODY] </gpxx:WaypointExtension> +#[BODY] </extensions> +#[BODY]</wpt> +#[TAIL]</gpx>
\ No newline at end of file diff --git a/fmt_files/kml.fmt b/fmt_files/kml.fmt new file mode 100644 index 00000000..899bdb04 --- /dev/null +++ b/fmt_files/kml.fmt @@ -0,0 +1,53 @@ +#------------------------------------------------------------------------------ +# File: kml.fmt +# +# Description: Example ExifTool print format file for generating a +# Google Earth KML file from a collection of geotagged images +# +# Usage: exiftool -p kml.fmt FILE [...] > out.kml +# +# Revisions: 2010/02/05 - P. Harvey created +# 2013/02/05 - PH Fixed camera icon to work with new Google Earth +# +# Notes: 1) All input files must contain GPSLatitude and GPSLongitude. +# 2) For Google Earth to be able to find the images, the input +# images must be specified using relative paths, and "out.kml" +# must stay in the same directory as where the command was run. +# 3) Google Earth is picky about the case of the image file extension, +# and may not be able to display the image if an upper-case +# extension is used. +# 4) The -fileOrder option may be used to control the order of the +# generated placemarks. +#------------------------------------------------------------------------------ +#[HEAD]<?xml version="1.0" encoding="UTF-8"?> +#[HEAD]<kml xmlns="http://earth.google.com/kml/2.0"> +#[HEAD] <Document> +#[HEAD] <name>My Photos</name> +#[HEAD] <open>1</open> +#[HEAD] <Style id="Photo"> +#[HEAD] <IconStyle> +#[HEAD] <Icon> +#[HEAD] <href>http://maps.google.com/mapfiles/kml/pal4/icon38.png</href> +#[HEAD] <scale>1.0</scale> +#[HEAD] </Icon> +#[HEAD] </IconStyle> +#[HEAD] </Style> +#[HEAD] <Folder> +#[HEAD] <name>Waypoints</name> +#[HEAD] <open>0</open> +#[BODY] <Placemark> +#[BODY] <description><![CDATA[<br/><table><tr><td> +#[BODY] <img src='$directory/$filename' +#[BODY] width='$imagewidth' height='$imageheight'> +#[BODY] </td></tr></table>]]></description> +#[BODY] <Snippet/> +#[BODY] <name>$filename</name> +#[BODY] <styleUrl>#Photo</styleUrl> +#[BODY] <Point> +#[BODY] <altitudeMode>clampedToGround</altitudeMode> +#[BODY] <coordinates>$gpslongitude#,$gpslatitude#,0</coordinates> +#[BODY] </Point> +#[BODY] </Placemark> +#[TAIL] </Folder> +#[TAIL] </Document> +#[TAIL]</kml> |