I really love the new Beta of Phocagallery, it brings exactly the functions I missed so desperately...! I started geotagging my pictures with Picasa and love the possibility to show this information on a Google-Map.
However, I ran into two main problems:
1. Phocagallery doesn't even seem to import the EXIF-information about the GPS-Position. If I check my pictures in Irfanview, it shows:
Apparently, Phocagallery doesn't know how to handle this information and there are no GPS-Coordinates in the detail view of the file. It would be great if phocagallery could read and use this informations.GPS information: -
GPSVersionID - 0.0.2.2
GPSLatitudeRef - N
GPSLatitude - 50 42 58.91
GPSLongitudeRef - W
GPSLongitude - 1 46 5.62
GPSAltitudeRef - Sea level
GPSAltitude - 0 m
2. While trying to find the error (solution), I typed manually filled my geocoordinates in. And stumbled across another problem. Phocagallery can handle latitude and longitude, but no gradually numbers. So I looked up a way (here)to convert my position into lat/long:
Code: Select all
function gps_konverter($pos)
{
preg_match ('#(\d+)\s*°\s*(\d+)\s*\'\s*(\d+)(?:[,.](\d+))?\s*"#U' , $pos , $items);
if (empty ($items)) return false;
array_shift ($items);
list ($deg , $min , $sec , $trail) = $items;
return $deg + $min / 60 + ($sec . '.' . $trail) / 3600;
} It would be great if somebody could give me hint of where I could put my code? I.e. where the imported files are handled.
Thanks Samuel
BTW: Another great feature concerning the handling of EXIF-data would be the abilty, to import EXIF-descriptions into the normal descriptions of a picture.



