File: test139.param

package info (click to toggle)
gpscorrelate 2.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,996 kB
  • sloc: ansic: 3,074; cpp: 499; makefile: 481; sh: 129
file content (10 lines) | stat: -rw-r--r-- 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
TITLE='Geotag a file from a specified latitude/longitude/elevation (dms forms with commas)'
PRECOMMAND='cat "$STAGINGDIR/point1-1.jpg" >"$LOGDIR/test.jpg"'
# A UTF-8 locale isn't strictly needed currently, but it's highly likely to be
# present when the UTF-8 degrees symbol is being used, as it is here.
# As can be seen, it's tricky to pass a single quote character into the test
# suite.
# Run in C locale to avoid errors when comparing numbers in output
COMMAND='env LC_CTYPE=UTF-8 LC_NUMERIC=C $PROGRAM -z+1 -l "-34d56m8.9s,-90d0m59s,123.4" "$LOGDIR/test.jpg" > "$OUTFILE" 2>&1 && exiv2 -pv pr "$LOGDIR/test.jpg" >> "$OUTFILE" 2>&1'
POSTCOMMAND='rm -f "$LOGDIR/test.jpg"'
RESULTCODE=0