Currently a latitude and longitude must be given in decimals, like:
[flickr-user:id=public, size=q, num=8,location=48.867556/2.364088, date=2015-01-11]

Sometimes a GPS device only returns coordinates in degrees, minutes and seconds. It would be nice if also the following would be accepted:
[flickr-user:id=public, size=q, num=6,location=48° 52' 3.2016"/2° 21' 50.7168" , date=2015-01-11]

Comments

  • lolandese committed ae1329c on 7.x-1.x
    Issue #2486149: Accept location coordinates also in degrees, minutes and...
lolandese’s picture

Status: Active » Fixed
StatusFileSize
new14.62 KB
lolandese’s picture

StatusFileSize
new5.79 KB

Some corrections:

  • Do NOT remove the minus before coordinates.
  • Fallback for 'ZERO_RESULTS' status from Google geocoding.
  • Better block descriptions (unrelated to this issue).

  • lolandese committed e61ad0d on 7.x-1.x
    Issue #2486149 by lolandese: Correction on latest commit to accept also...

  • lolandese committed 73d3757 on 7.x-1.x
    Issue #2486149 by lolandese: As $lat changes during processing, we set a...
lolandese’s picture

As $lat changes during processing, we set a fixed version $latfix to use for the key to set the block cache after processing at the end.

What happened was that trailing zeros were removed and therefore the cache key was always different, resulting in a block never using the cache but to be rebuild on each display.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.