Error using version 1.4.5.1 and GoogleMaps

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.

Comments

  • 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.
  • 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 ?
  • And how would we do that? Seems specific to your image. You should probably create an issue ticket and include the image which fails.
  • 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
Sign In or Register to comment.