Author Topic: Required coordinate format for location search  (Read 2618 times)

Offline karlmz

  • Member
  • **
  • Posts: 77
    • View Profile
Required coordinate format for location search
« on: March 05, 2021, 01:47:40 PM »
Hi,
For a search for pictures taken within a certain distance from a location, what is the required format for latitude and longitude?

Karl

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Required coordinate format for location search
« Reply #1 on: March 05, 2021, 02:41:13 PM »
Karl,

For a search for pictures taken within a certain distance from a location, what is the required format for latitude and longitude?

Decimal degrees.  The same format that Google Maps uses by default.

45.51791465998908, -122.98912683631038

-Kirk

Offline karlmz

  • Member
  • **
  • Posts: 77
    • View Profile
Re: Required coordinate format for location search
« Reply #2 on: March 06, 2021, 06:31:01 AM »
Thank you. Any restrictions regarding the number of decimals?

Karl

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Required coordinate format for location search
« Reply #3 on: March 06, 2021, 11:04:52 AM »
Karl,

Thank you. Any restrictions regarding the number of decimals?

I don't think so, but don't expect more decimal places than 10-12 to make much difference.

-Kirk

Offline Odd Skjaeveland

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Re: Required coordinate format for location search
« Reply #4 on: March 08, 2021, 08:41:10 AM »
I don't think so, but don't expect more decimal places than 10-12 to make much difference.

1 degree of arc is 60 nautical miles on the Earths surface. 60 x 1852m = 111120m = 111120000mm or 1.1112E8mm. If I got this right, one degree of arc stated in 8 decimals means roughly 1mm accuracy. 12 decimals means 1/10000mm, 14 decimals means 1/1000000mm. None of my GPS receivers can match that!
--
Odd S.