asGPS: a geocoding plugin for ASP
Re: asGPS: a geocoding plugin for ASP
many thanks ! By the way I'll try to update the French translation which is perfectible.
Darktable 3. Bye bye aftershot.
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
Regarding the problems in zenPhoto: This looks like a zenPhoto problem. If you look into the exif data with exiv2, you will see the correct rationale values for the position. There is no chance to code the "N", "W" etc. into this exif fields. Also Darktable displays my test images in the correct position. They also show up correctly in panoramino / google maps.
There may be a ref problem in asGPS with negative altitudes. I will correct it in version 1.3.3.
Andreas
There may be a ref problem in asGPS with negative altitudes. I will correct it in version 1.3.3.
Andreas
Linux - not Windows
Re: asGPS: a geocoding plugin for ASP
In fact they already are. I tried this command :andreas wrote:There is no chance to code the "N", "W" etc. into this exif fields.
Code: Select all
$ exiv2 -pv misplaced.jpg | grep GPS
0x8825 Image GPSTag Long 1 424
0x0000 GPSInfo GPSVersionID Byte 4 2 3 0 0
0x0001 GPSInfo GPSLatitudeRef Ascii 2 N
0x0002 GPSInfo GPSLatitude Rational 3 46/1 41/1 37080/6000
0x0003 GPSInfo GPSLongitudeRef Ascii 2 W
0x0004 GPSInfo GPSLongitude Rational 3 73/1 1/1 1079/6000
0x0005 GPSInfo GPSAltitudeRef Byte 1 0
0x0006 GPSInfo GPSAltitude Rational 1 301/1
0x0009 GPSInfo GPSStatus Ascii 2 A
By default exivtool or exiv2 translates the exif. The
-pvoption shows plain exif.
Thanks for the time on my problem.
B.
Darktable 3. Bye bye aftershot.
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
I did some further checks with zenphoto. I made some changes in asGPS regarding the altitude ref and reexported my test image. Now it was imported correctly into zenphoto. I checked, which values had changed and both exiftool and exiv2 report that the GPS values did not change at all. I tried with the already imported image, exported it and reimported it: wrong position. All new created jpegs: good position. Currently i cannot reproduce the problem.
Andreas
Andreas
Linux - not Windows
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
Exif in zenPhoto when GPS is displayed:
wrong positioned image
image with correct position:
What is shown in your images?
Andreas
wrong positioned image
Code: Select all
Breitengrad: 56,48166662037
Breitengradreferenz: N
Längengrad: 6,1498333333333
Längengradreferenz: Ws`
Höhenlage: 3m
Höhenlagereferenz: 008d9d60Code: Select all
Breitengrad: 56,48166662037
Breitengradreferenz: N
Längengrad: 6,1498333333333
Längengradreferenz: W
Höhenlage: 3m
Höhenlagereferenz: 00c7e008Andreas
Linux - not Windows
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
Here is my workaround. I added the substr function in two lines in zp-extension/GoogleMap.php:
This resolves the problem vhen refs are messed up. But the original problem remains: Who messes the ref values? ASP or php-exif or somethink in the zenPhoto database import?
Andreas
Code: Select all
/**
* $eturns coordiante information for an image
* @param $obj
*/
function getGeoCoord($obj) {
$result = false;
if (is_object($obj) && $obj->table == 'images') {
$exif = $obj->getMetaData();
if(!empty($exif['EXIFGPSLatitude']) && !empty($exif['EXIFGPSLongitude'])){
$lat_c = explode('.',str_replace(',', '.', $exif['EXIFGPSLatitude']));
$lat_f = round((float) abs($lat_c[0])+$lat_c[1]/pow(10,strlen($lat_c[1])),5);
if (substr($exif['EXIFGPSLatitudeRef'], 0, 1) == 'S') {
$lat_f = (float) -$lat_f;
}
$long_c = explode('.',str_replace(',', '.', $exif['EXIFGPSLongitude']));
$long_f = round((float) abs($long_c[0])+$long_c[1]/pow(10,strlen($long_c[1])),5);
if (substr($exif['EXIFGPSLongitudeRef'], 0, 1) == 'W') {
$long_f = (float) -$long_f;
}
$result = array('lat'=>$lat_f,'long'=>$long_f, 'title'=>$obj->getTitle(), 'desc'=>$obj->getDesc());
}
}
return $result;
}Andreas
Linux - not Windows
Re: asGPS: a geocoding plugin for ASP
Wow what a workaround !
Thanks for your hack. I'll refer it on ZP forum : http://www.zenphoto.org/support/topic.php?id=14205
Same as you ! I've weird types after N/S E/W And I wonder about the relevance of the EXIFGPSAltitudeRef datas. Here is a screenshot of my mysql datas : http://tmp.benoitvarret.fr/misplaced_phpmyadmin.pngandreas wrote:What is shown in your images?
Thanks for your hack. I'll refer it on ZP forum : http://www.zenphoto.org/support/topic.php?id=14205
Darktable 3. Bye bye aftershot.
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
so, asGPS version 1.3.4 is now compiled locally (lin/win). Waiting for the mac version. negative altitudes are now handled correctly - regarding the messed up options/exif mix in ASP.
Andreas
Andreas
Linux - not Windows
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
I sent a post regarding these problems to the mentioned zenphoto thread
Andreas
Andreas
Linux - not Windows
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
Thanks to Jonathan for the mac version.
Current asGPS v1.3.4 is available using asPluginManager or directly from the Corel plugin page: http://aftershotpro.com/plugins/index.html?plug=asgps
Andreas
Current asGPS v1.3.4 is available using asPluginManager or directly from the Corel plugin page: http://aftershotpro.com/plugins/index.html?plug=asgps
Andreas
Linux - not Windows
Re: asGPS: a geocoding plugin for ASP
Doesn't work for me. The map is still "locked".
Darktable 3. Bye bye aftershot.
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
-
andreas
- Posts: 154
- Joined: Thu Jan 12, 2012 1:53 pm
- System_Drive: X
- 32bit or 64bit: 64 Bit
- motherboard: Asus in Workstation and Dell XPS Notebook
- processor: i7-980 and i7-2720QM
- ram: 12GB - 8GB
- Video Card: ATI FireGL
- sound_card: on board
- Hard_Drive_Capacity: 4.5TB Rd10
- Monitor/Display Make & Model: Samsung Syncmaster 2343sw
- Location: DE - Wermelskirchen
- Contact:
Re: asGPS: a geocoding plugin for ASP
sorry old html page included, will update the link.
EDIT: no, this is not the case. Yesterday I tested with just this version which worked. Digging into it...
Andreas
EDIT: no, this is not the case. Yesterday I tested with just this version which worked. Digging into it...
Andreas
Linux - not Windows
Re: asGPS: a geocoding plugin for ASP
yes : 1.3.4 http://i38.servimg.com/u/f38/13/98/61/29/captur11.jpg
By the way, I found what's wrong with zenPhoto. Thanks for your help.
By the way, I found what's wrong with zenPhoto. Thanks for your help.
Darktable 3. Bye bye aftershot.
-
ogrizzo
- Posts: 60
- Joined: Fri Jan 13, 2012 7:45 pm
- System_Drive: Q
- 32bit or 64bit: 64 Bit
- processor: 2.8 Ghz Intel Core i7
- ram: 8 GB
- Hard_Drive_Capacity: 1TB
- Monitor/Display Make & Model: Integrated Apple iMac 27"
Re: asGPS: a geocoding plugin for ASP
Same here: pane still freezed, version 1.3.4, running OSX 10.8.2binoyte wrote:yes : 1.3.4 http://i38.servimg.com/u/f38/13/98/61/29/captur11.jpg
