So, if I get it right, it could be done in a shell script into linux, BSDs and any unix with a file with something like this:
#/bin/sh if [ "$1" = "" ]; then echo "Usage: $0 <image file>"; exit fi 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 Just need to save it in a file and turn it executable changing it's permitions. In command line something like: chmod 755 script_file I just put a "usage" part so the command would show that it needs a parameter in case it is run without it. If I understood well it gives us a final URL that we need to access to get the final information, is it? So, the script could be improved to get it itself and give the user the final information. If someone give me some test image with the GPS information I could make tests. Do you think someone here would use it under linux or mac? Just asking because I won't use it as I don't have GPS information in my images :) Cheers, Carlos E G Carvalho (Cartola) http://cartola.org/360 http://www.panoforum.com.br/ 2012/11/19 Erik Krause <[email protected]> > 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<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. > -- 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
