I see that we can search for photos within a geographic rectangle in this manner:
latitude:-45..-46 longitude:169..170
(I assume that the Lat/Long ranges can be defined more precisely).
Links:
viewtopic.php?p=65256
viewtopic.php?p=65173
viewtopic.php?p=64168
I remembered that Deskrule by Zabkat included a map tool to aid in such searches, so I looked that up. It's illustrated by this short video:
https://www.youtube.com/watch?v=yaxztytSch0
You use the map tool to zoom in on the area of interest. You can give a name to the defined rectangle to use in future searches. When you click OK, the Latitude and Longitude boxes are filled in with the range of Latitudes (e.g. -25.2844 .. -43.9928) and a range of Longitudes (e.g. 124.189 .. 156.885). These example values specify an area in Australia. Then you do the search and the photos with Lat/Long values in the specified rectangle are returned.
Or maybe we could search for a photos with coordinates within a circle, i.e. within a specified distance of a location as defined by its Lat/Long values. Lat/long values for any desired location can easily be fetched to the clipboard from by right-clicking on Google Maps and then clicking on the coordinates. e.g. 30.274674415244725, -97.74035050003306. So may something like "Latlong:(30.274674415244725, -97.74035050003306,500ft)". I've found that the lat/long values stored in phone photos are not very accurate - as somebody said in the above threads, "phones gps co-ords are only accurate to about 20-100m".
search photos by location using a Map tool
-
jimspoon
- Posts: 213
- Joined: Tue Apr 26, 2011 11:39 pm
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: search photos by location using a Map tool
I did research this briefly when PhotoInsight introduced this feature.
Userscripts (like AHK) to manipulate/capture this data proved to get real messy and using the Google Maps APIs required an account and possibly needed payment. Tat was the end of that road for me.
That should be doable. Put lat/long coordinates from Maps on the clipboard, define a radius and Bob is your mother's brother.jimspoon wrote: Fri Jan 31, 2025 11:15 am Or maybe we could search for a photos with coordinates within a circle
Geotagging - GPS coordinates - How far away was this photo taken? can be used as a starting point as it does most of the heavy lifting needed.
-
jimspoon
- Posts: 213
- Joined: Tue Apr 26, 2011 11:39 pm
Re: search photos by location using a Map tool
I'm impressed!
I thought I'd be able to find an easy tool somewhere where I could draw a rectangle or circle over a Google Map and copy the coordinates to the clipboard, preferably in the format needed by Everything, or customizable to do so. Not much luck yet.
I did find these:
https://www.keene.edu/campus/maps/tool/
https://www.birdtheme.org/useful/v3largemap.html
I tried out the tool in Deskrule but it's not working well - it tells you to paste a URL from Google Maps, but then the returned coordinates don't match the coordinates of the rectangle shown in Google Maps. It looked good in the Youtube video, though!
Github gives me some hits, haven't really looked at them bit - maybe something promising there:
https://github.com/search?q=get%20latit ... positories
I thought I'd be able to find an easy tool somewhere where I could draw a rectangle or circle over a Google Map and copy the coordinates to the clipboard, preferably in the format needed by Everything, or customizable to do so. Not much luck yet.
I did find these:
https://www.keene.edu/campus/maps/tool/
https://www.birdtheme.org/useful/v3largemap.html
I tried out the tool in Deskrule but it's not working well - it tells you to paste a URL from Google Maps, but then the returned coordinates don't match the coordinates of the rectangle shown in Google Maps. It looked good in the Youtube video, though!
Github gives me some hits, haven't really looked at them bit - maybe something promising there:
https://github.com/search?q=get%20latit ... positories