Member
Member
Ganesh   07-08-2013, 15:52
#1

Apparently, only on one album, i have the error below, this display occurs 6 times.

Notice: Undefined offset: 1 in /home/users3/b/bbbbbbbb/www/ttttttttt/zp-core/zp-extensions/GoogleMap.php on line 192

It is this line :
$long_f = round((float) abs($long_c[0]) + ($long_c[1] / pow(10, strlen($long_c[1]))), 5);

And the Google Map extension seems to work correctly...

Do you have any idea ?
i use ZpArdoise.

Member
Member
sbillard   07-08-2013, 16:22
#2

That image appears to have a longitude value that does not have any decimal places (Perhaps the whole value is corrupt.) I suppose that by chance some geo-cordinates could end up as integers. We can fix the code to deal with that. But you should probably check the data to be sure it is reasonable in the first place.

Member
Member
Ganesh   07-08-2013, 16:51
#3

Since my message, i found.
It is effectively a coordinates problem :

For Fez in Morocco coordinate i have obtain Geo Tag Generator
34.033333 and -5

After conversion i have
34,2N 5,00.0W

And Photoshop put 34,2N and 5,0W

I think you can check and reproduce the error. No ?

Member
Member
sbillard   07-08-2013, 22:30
#4

And how would we do that? Seems specific to your image. You should probably create an issue ticket and include the image which fails.

Member
Member
Ganesh   08-08-2013, 06:04
#5

OK, that's done in GitHub.

It is not specific to my image but specific to this kind of coordonates, here 34,2N and 5,0W

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.