Hi,
I have a problem with the [RV Maps & Earth] :
I'm put Gps info on file (with a very good perl script )
On my local machine :
exiftool 2010-07-03--11.46.44\ -\ .jpg
...
GPS Version ID : 2.2.0.0
GPS Latitude Ref : North
GPS Longitude Ref : East
GPS Altitude Ref : Above Sea Level
GPS Time Stamp : 11:46:53.07
GPS Img Direction Ref : True North
GPS Img Direction : 0
GPS Map Datum : WGS-84
GPS Date Stamp : 2010:07:03
...
But, after upload on the web server , On this URL :
XXXX/images/admin.php?page=plugin§ion=rv_gmaps%2Fadmin%2Fadmin.php&tab=sync
Nothing is done if i click on Synchronize :
Synchronization of EXIF gps metadata information with the database.
Résultat de la synchronisation des méta-données
* 0 éléments mis à jour dans la base de données
* 22 images candidates à la synchronisation avec les méta-données
* 0 erreurs survenues durant la synchronisation
It's the same if the checkbox "Simuler uniquement (aucun changement ne sera fait dans la base de données)"
I can put manualy the gps info on file via XXXX/images/admin.php?page=plugin§ion=rv_gmaps%2Fadmin%2Fadmin.php&tab=edit & after the map is OK
But i can't make the synchronization, after investigation, i have a idea where is the problem :
I thinking it's a problem about reading exif information :
I have added a print_r on plugins/rv_gmaps/admin//admin_sync.php :
foreach ($images as $image)
{
$exif = @read_exif_data( $image['path'] );
print_r($exif);
if ( empty($exif) )
continue;
$exif = array_intersect_key( $exif, array_flip( array('GPSLatitudeRef', 'GPSLatitude', 'GPSLongitudeRef', 'GPSLongitude') ) );
Pinrting the output of one file
Array ( [FileName] => 20100705194347-23aea213.jpg [FileDateTime] => 1278351828 [FileSize] => 93297 [FileType] => 2 [MimeType] => image/jpeg [SectionsFound] => COMMENT [COMPUTED] => Array ( [html] => width="450" height="600" [Height] => 600 [Width] => 450 [IsColor] => 1 ) [COMMENT] => Array ( [0] => CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 95 ) )
I don't see any information about Gps ...
RV Maps & Earth need a other extension for read on exif ?
Php Info :
PHP Version 5.2.13-pl0-gentoo eint :
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
Also, on a printing view, piwigo can display some exif info :
Exemple http://roumano.com/images/picture.php?/21/category/2
EXIF Metadata
Make Canon
Model Canon PowerShot A40
DateTimeOriginal 2010:07:04 11:09:15
ApertureFNumber f/8.0
Offline
I've notified the plugin's author.
Offline
I got the same problem with my installation! So i´m really hoping there is a solution for us.
Thanks in advance
l
Marco.
Offline
I subscribe to what it has been said before me. Synchronization with EXIF does not work it just prints the number of pictures which have to be synchronized and puts the check mark on simulation.
I have the latest plugin version 2.1a and piwigo 2.1.2
Edit works, but geotagging manually 2000 pictures is not something anyone would do, specially when the information is already in the metadata of each picture.
I believe that it needs to be fixed. I am a Python guy otherwise I would try to fix it myself, but PHP is not something I know.
The availability of this plugin is what attracted me towards piwigo. I really hoe that it can be fixed
Bogdan
I choose PiwiGo for this extension and it don't work and never have a feedack after 2months and half waiting !
If need more information or need to test something, i here
Offline
I see what the problem is :-/
You uploaded the photo with the web form in the administration panel and unfortunately, it removes the EXIF/IPTC metadata from the "resized" photo, see [Forum, post 115831 by plg in topic 15958] [plugin] Advanced Metadata
The solution would be that [extension by rvelices] RV Maps & Earth reads EXIF/IPTC in the high definition version of the photo. (or that you upload with pLoader but it means reuploading all your photos). In the next versions of Piwigo, I will try to avoid the removal of EXIF/IPTC from the web size version of the photo.
I notify rvelices about this problem and we'll see who add this feature in the plugin.
Offline
So, if i instersand correctly , with if use upload from uploading, it's will be work's correctly ?
Offline
roumano wrote:
So, if i instersand correctly , with if use upload from uploading, it's will be work's correctly ?
I'm not 100% sure I understand your question correctly :-/ There are 2 solutions to make this feature work correctly:
1) use another method to add photos (FTP+synchronization or Piwigo Uploader will be fine)
2) wait for an improvement on [extension by rvelices] RV Maps & Earth : your GPS metadata are not lost, they are just invisible to the plugin in its current version
Offline
Ok,
For the 2), do you have idea aout how many time it will be take ? (for me, it's a important bug, i think !)
Other question may be related :
A question about this, my photo are not physicaly turn but it's on the exif information : It's the same bug why i have a lag about 90° on it ?
For exemple: http://roumano.com/images/picture.php?/236/category/16
Also, do you have a idea
For the 1)
- Ftp + synchronisation is annoying and take long time and especially modify the structure of directory in the web site, what i don't like
- Uploader on Linux is chaotic on install it ! nothing stabilized. any improvement in this area in a shot terme ?
Offline
I will add to maps&earth the possibility to use the high definition image if required
In the meantime you can also use exiftool to manually copy the gps from high definition ( Something like -r -ext jpg -overwrite_original -tagsFromFile %d/pwg_high/%f.%e ) and then resync ...
Offline
Thanks you for the trick, now it working as expected
Offline
I'm also performing some test to use ImageMagick instead of GD to resize photos on server side, this way we should avoid automatic removal of EXIF/IPTC metadata.
Offline
Hi,
RV Maps & Earth is not working anymore on my up-2-date piwigo.
A available picture : http://roumano.com/images/picture.php?/2217/category/69
On this page, we can see Gps Info : (so gps data are on exif information )
Latitude : 41° 22' 55.75"
Longitude : 2° 11' 41.20"
But on the admin of piwigo, sync directory for rv maps (simulate or not simulate give the same thing :
0 photos mises à jour dans la base de données
62 photos candidates à la synchronisation avec les méta-données
0 erreurs survenues durant la synchronisation
Can anyone help me ?
Offline
Hi,
I just have tested the new revision make today "2.4.d" : same thing.
I have try to upload a picture manualy and when it's uploaded, i have see warning, it's maybe related :
Warning: exif_read_data(20120926163607-c2e91b94.jpg) [exif_read_data]: Illegal IFD size: 2 + x2700*12 = x1D402 > xAD06 in /var/www/roumano.com/htdocs/images/admin/include/image.class.php on line 244
Warning: exif_read_data(20120926163607-c2e91b94.jpg) [exif_read_data]: Process tag(x8692=UndefinedTa): Illegal format code 0x0700, suppose BYTE in /var/www/roumano.com/htdocs/images/admin/include/image.class.php on line 244
Warning: exif_read_data(20120926163607-c2e91b94.jpg) [exif_read_data]: Process tag(x8692=UndefinedTa): Illegal pointer offset(xBAAF0000 + x8010000 = xC2B00000 > xB174) in /var/www/roumano.com/htdocs/images/admin/include/image.class.php on line 244
Offline