Am 19.11.2012 23:31, schrieb Carlos Eduardo G. Carvalho (Cartola):
Hmm, I don't know if I got it. Maybe is my bad English. It is able to
know where the north is? Is it? To give the correct direction of the
picture?

Yes. It determines the angle between north and the sun, called "azimuth".

Well, it is probably very simple to make the same line to linux and mac
(which is a BSD and can handle shell scripts), but the problem is that I
don't know BAT files very well :) so I also didn't get exactly what does
this line do:

for /f %%a in ('exiftool -m -c "%%+.4f" -d "%%d.%%m.%%Y+%%H:%%M:%%S" -p
"http://www.wolframalpha.com/input/?i=sun+position+$DateTimeOriginal+at+$GPSLatitude+N+$GPSLongitude+E";
%1') do @start %%a

Sorry, this is needed in BAT to assign the output of a command to a variable. The plain command line is (without the line breaks of course):

exiftool -m -c "%+.4f" -d "%d.%m.%Y+%H:%M:%S" -p "http://www.wolframalpha.com/input/?i=sun+position+$DateTimeOriginal+at+$GPSLatitude+N+$GPSLongitude+E"; %1

where %1 is the the first parameter which is the image file. -c defines the GPS coordinates format, -d the date format, -p prints the following to std out. The words preceeded with $ are variables filled by exiftool.

--
Erik Krause
http://www.erik-krause.de

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to