Geotagging - GPS coordinates - How far away was this photo taken?

Discussion related to "Everything" 1.5.
Post Reply
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Geotagging - GPS coordinates - How far away was this photo taken?

Post by NotNull »

I was wondering why the trigonometry functions (sinus, cosinus, etc) were included in Everything. Not something one would need when handling files. Right?

Well, I found a semi-useful application: calculating the distance between two points on our planet. That way it should be possible to calculate "how far away" a picture was taken. Had a bit of fun converting an existing formula to something that can be used in Everything:
2025-01-01 19_09_49-d_ - Geo Distance (km) - Everything 1.5.0.1388a (x64).jpg
2025-01-01 19_09_49-d_ - Geo Distance (km) - Everything 1.5.0.1388a (x64).jpg (47.22 KiB) Viewed 9309 times


To "install":
  • Create a new filter (Menu => Search => Organize Filters)
  • Name = Geo Distance (km)
    (can be anything you like)
  • Search =

    Code: Select all

    pic:  latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=48.858093]  [define:mylong=2.294694]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)
    
  • Change the "Home" latitude and longitude to reflect your current position.
    Currently:
    [define:mylat=48.858093] [define:mylong=2.294694]
    ( = Eiffel Tower in Paris)

    To find your "Home": right-click a point in Google maps (or similar) and select the coordinates.
    This will copy the coordinates to the clipboard



To use:
  • Type a search query in Everything that finds your geo-tagged photos and activate the Geo Distance (km) filter.
    The distance to the "Home" location will be shown in the Distance (km) column.

Notes:
  • The formula assumes that the earth is a perfect sphere (sorry, flat-earthers ;)), which is roughly correct, but earth's radius varies from
    6357 to 6378 km. Rounding errors in the formulas are a factor too. So all values are approximate.
  • The earth radius is currently in kilometers; change it to miles if that suits you better. (
    [define:EARTHRADIUS=3959]
    )
    This will show distances in miles.
    You might want to change this part too: A-label:="Distance (km)"
  • Only geo-tagged images will be shown.
  • It will take some time to process each image, just to find geo-tagging information.
    Consider indexing longitude and latitude to make this instant (in case you need this information more often).
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: How far away was this photo taken?

Post by tuska »

2NotNull
Thanks for sharing! :)
horst.epp
Posts: 1642
Joined: Fri Apr 04, 2014 3:24 pm

Re: How far away was this photo taken?

Post by horst.epp »

2NotNull

you're trying to make Everything to a (in German) "Eierlegende Wollmichsau" :)
Last edited by NotNull on Thu Jan 02, 2025 6:25 pm, edited 1 time in total.
Reason: Removed my name for privacy
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: How far away was this photo taken?

Post by NotNull »

Haha, yes indeed :lol:. Maybe that is why it is called .. Everything? ;)
jimspoon
Posts: 213
Joined: Tue Apr 26, 2011 11:39 pm

Re: How far away was this photo taken?

Post by jimspoon »

horst.epp wrote: Thu Jan 02, 2025 5:41 pm 2NotNull

you're trying to make Everything to a (in German) "Eierlegende Wollmichsau" :)
Google Translate tells me that means "egg laying woolly sow" !!
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: How far away was this photo taken?

Post by NotNull »

There is a typo in that: "mich" should be "milch" (= milk).
So a (n impossible) "multi-functional" animal that gives you eggs, wool, milk and meat ..
abr01
Posts: 198
Joined: Tue May 01, 2018 4:57 pm

Re: How far away was this photo taken?

Post by abr01 »

Hey, not bad. Is there a way to get the first digit after the full Kilometer, like 6.3km? And maybe only for the selected image?
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: How far away was this photo taken?

Post by NotNull »

I'm not sure if the results are even that accurate, but technically it can be done (untested, btw):
Change
A:=ROUND( .... ,0)
to
A:=ROUND( .... ,1)


Filters work on all items, not just the selected one.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: How far away was this photo taken?

Post by NotNull »

BTW: Anyone got a suggestion for a new topic title?
The current one is terrible and I can't think of a better one ...
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: How far away was this photo taken?

Post by tuska »

NotNull wrote: Sat Feb 01, 2025 3:36 pm BTW: Anyone got a suggestion for a new topic title?
The current one is terrible and I can't think of a better one ...
Geotagging - GPS coordinates - How far away was this photo taken?

:?:
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by NotNull »

Yep, that's better. Thank you! :thumbsup:
abr01
Posts: 198
Joined: Tue May 01, 2018 4:57 pm

Re: How far away was this photo taken?

Post by abr01 »

NotNull wrote: Sat Feb 01, 2025 11:35 am I'm not sure if the results are even that accurate, but technically it can be done (untested, btw):
Change
A:=ROUND( .... ,0)
to
A:=ROUND( .... ,1)


Filters work on all items, not just the selected one.
Thanks!
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by tuska »

I have created a bookmark on this topic.

Name:

Code: Select all

Geo Distance (km) | Latitude, Longitude: [define:mylat=48.858093]  [define:mylong=2.294694] ( = Eiffel Tower in Paris) --> ADJUST these values to the CURRENT POSITION! ...
Match case .. Regular expressions: Disabled
Search: Custom

Code: Select all

/comment - https://www.openstreetmap.org/ | https://www.voidtools.com/forum/viewtopic.php?t=16022 How far away was this photo taken?
/comment [define:mylat=48.858093]  [define:mylong=2.294694] ( = Eiffel Tower in Paris) --> ADJUST these values to the CURRENT POSITION! ...
/columns [{"name":"Name","width":208},{"name":"Column A","width":83},{"name":"Latitude","width":74},{"name":"Longitude","width":74},{"name":"Path","width":526},{"name":"Extension","width":62},{"name":"Total Size","width":83},{"name":"Date Taken","width":104},{"name":"Date Modified","width":104},{"name":"Date Created","width":104},{"name":"Date Accessed","width":133}]
pic: latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=48.858093]  [define:mylong=2.294694]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)   nop:"exact:column-a:20" 
/comment - nop:"my bookmark comment" ... can also be used for comments in the Everything search box before or after the search query | https://www.voidtools.com/forum/viewtopic.php?p=68068#p68068
Filter: Everything
Columns: Name;Column A;Latitude;Longitude;Path;Extension;Total Size;Date Taken;Date Modified;Date Created;Date Accessed
Sort: Column A    -> Ascending
View: (No change)
Index: (No change)
Keyboard shortcut: ALT+F9

What I would still like is to be able to narrow down the search query as follows:

Column "Distance (km)" == Column A:
Search for files exceeding a certain number of kilometres.
; Suche nach Dateien ab einer bestimmten km-Anzahl (German).

Examples:
A-label:="Distance (km)" column-a: -> >0, <10, <=10, >30, >=30
A-label:="Distance (km)" column-a: -> Image files with a distance of 0 to 50 kilometres, etc. (Images located within a radius of xx kilometres).

exact:column-a:20     == works!  <-- Column A == column "Distance (km)"

Please help.
 
2025-11-01_Bookmark_Geotagging_Geo Distance (km).png
2025-11-01_Bookmark_Geotagging_Geo Distance (km).png (50.97 KiB) Viewed 4766 times
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by void »

To narrow down the search query, evaluate $A:

For example:
INT($A:)>0
INT($A:)<10
INT($A:)<=10
INT($A:)>30
INT($A:)>=30



Alternatively:

tonumber:column-a:>0
tonumber:column-a:<10
tonumber:column-a:<=10
tonumber:column-a:>30
tonumber:column-a:>=30
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by tuska »

2void

Thanks a lot!

These commands also works:
INT($A:)>0 INT($A:)<=50
tonumber:column-a:>0 tonumber:column-a:<=50

One last request on this topic:
I would need another command (after the search command) that sorts column A in ascending order.

Please help me again.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by void »

The following also works:

tonumber:column-a:0..50



One last request on this topic:
I would need another command (after the search command) that sorts column A in ascending order.
sort:a
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by tuska »

2void

Thank you very much for your prompt support!   :)
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by tuska »

Bookmark: Geo Distance (km) ...
Search: Custom ... Update: 3.11.2025

Code: Select all

/comment - ALT+ENTER causes a line break / add a newline ...
/comment - https://maps.google.com/ | https://www.openstreetmap.org/ | https://www.voidtools.com/forum/viewtopic.php?t=16022 How far away was this photo taken? Author: NotNull | https://www.ghisler.ch/board/viewtopic.php?t=86480 Searching photos by Exif data in a human way
/comment - https://www.voidtools.com/forum/viewtopic.php?p=78280#p78280 Everything 1.5 - Default view - Standard view <--> https://www.ghisler.ch/board/viewtopic.php?p=476782#p476782 Searching photos by Exif data in a human way
/comment - nop:"my bookmark comment" ... can also be used for comments in the Everything search box before or after the search query | https://www.voidtools.com/forum/viewtopic.php?p=68068#p68068
/comment - Geo Distance (km) | Latitude, Longitude: [define:mylat=48.858093]  [define:mylong=2.294694] ( = Eiffel Tower in Paris) --> ADJUST these values to the CURRENT POSITION! ...
/comment - ATTENTION: GPS Latitude/Longitude -> IrfanView rounds up, Everything 1.5 does NOT round up!
/comment - /columns=[{ ... width: --> Menu "Help" - "Troubleshooting Information" (Default view) -OR- file: "Session.json" (Current view). [Option: Everything.exe -update ... saves the file "Session.json" (... and files "Everything.ini", "Everything.db")]
/columns [{"name":"Name","width":208},{"name":"Column A","width":83},{"name":"Latitude","width":74},{"name":"Longitude","width":74},{"name":"Path","width":526},{"name":"Extension","width":62},{"name":"Total Size","width":83},{"name":"Date Taken","width":104},{"name":"Date Modified","width":104},{"name":"Date Created","width":104},{"name":"Date Accessed","width":133}]
pic: latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=48.858093]  [define:mylong=2.294694]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)   nop:"exact:column-a:20; INT($A:)>0, INT($A:)<10, INT($A:)<=10, INT($A:)>30, INT($A:)>=30, INT($A:)>0 INT($A:)<=50 -> OR <- tonumber:column-a:>0, tonumber:column-a:<10, tonumber:column-a:<=10, tonumber:column-a:>30, tonumber:column-a:>=30, tonumber:column-a:0..50; sort:a - Eiffel Tower in Paris" 
2025-11-03_Bookmark_Geotagging_Geo Distance (km).png
2025-11-03_Bookmark_Geotagging_Geo Distance (km).png (70.41 KiB) Viewed 4679 times
 
2025-11-03_Columns_GPS coordinates and Default view - Standard view.png
2025-11-03_Columns_GPS coordinates and Default view - Standard view.png (30.16 KiB) Viewed 4679 times
_______________________________________
Everything 1.5 – Default view / Standard view
tuska
Posts: 1381
Joined: Thu Jul 13, 2017 9:14 am

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by tuska »

Here is an updated version with a filter and a bookmark.

Advantages:
- The search bar offers more space for search queries and the existing "Distance (km)" can be overwritten immediately:
  
tonumber:column-a:0..20037

- Examples of search queries are available as comments in the search bar -> nop:‘...’
  These comments can also be deleted if space is required.

Furthermore, there are also images for restoring a standard view.
 
2025-11-08_FILTER_Geotagging_Geo Distance (km).png
2025-11-08_FILTER_Geotagging_Geo Distance (km).png (21.58 KiB) Viewed 4386 times
 
FILTER "Geotagging_Geo Distance (km)" - Search:

Code: Select all

pic: latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=48.858093]  [define:mylong=2.294694]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)
2025-11-08_BOOKMARK_Geotagging_Geo Distance (km).png
2025-11-08_BOOKMARK_Geotagging_Geo Distance (km).png (40.27 KiB) Viewed 4386 times
 
BOOKMARK "Geotagging_Geo Distance (km)" - Search:

Code: Select all

D: nop:"date-taken:01.09.2025T12:00..30.09.2025T19:00; exact:column-a:20; INT($A:)>0  -OR-  tonumber:column-a:>0, tonumber:column-a:0..50"  tonumber:column-a:0..20037
/comment - ALT+ENTER causes a line break / add a newline ...
/comment - https://maps.google.com/ | https://www.openstreetmap.org/ | https://www.voidtools.com/forum/viewtopic.php?t=16022 How far away was this photo taken? Author: NotNull | https://www.ghisler.ch/board/viewtopic.php?t=86480 Searching photos by Exif data in a human way
/comment - https://www.voidtools.com/forum/viewtopic.php?p=78280#p78280 Everything 1.5 - Default view - Standard view <--> https://www.ghisler.ch/board/viewtopic.php?p=476782#p476782 Searching photos by Exif data in a human way
/comment - nop:"my bookmark comment" ... can also be used for comments in the Everything search box before or after the search query | https://www.voidtools.com/forum/viewtopic.php?p=68068#p68068
/comment - Geo Distance (km) | Latitude, Longitude: [define:mylat=48.858093]  [define:mylong=2.294694] ( = Eiffel Tower in Paris) --> ADJUST these values to the CURRENT POSITION! ...
/comment - ATTENTION: The number of decimal places is limited to 12. https://www.voidtools.com/forum/viewtopic.php?p=78436#p78436 Latitude, longitude vs. system number format.
/comment - ATTENTION: GPS Latitude/Longitude -> IrfanView rounds up, Everything 1.5 does NOT round up!
/comment - FILTER: Geo Distance (km) | "Eiffel Tower, Paris"! - Latitude, Longitude: (48.858093 2.294694) <- ADJUST to the current location! (Max. 12 decimal places!) | https://www.voidtools.com/forum/viewtopic.php?t=16022 How far away was this photo taken?
/comment - FILTER-Search: pic: latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=48.858093]  [define:mylong=2.294694]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)
/comment - nop:"date-taken:01.09.2025T12:00..30.09.2025T19:00; exact:column-a:20; INT($A:)>0, INT($A:)<10, INT($A:)<=10, INT($A:)>30, INT($A:)>=30, INT($A:)>0 INT($A:)<=50 -OR- tonumber:column-a:>0, tonumber:column-a:<10, tonumber:column-a:<=10, tonumber:column-a:>30, tonumber:column-a:>=30, tonumber:column-a:0..50; sort:a, sort:"Date Taken", sort:"Date Taken-ascending"; https://www.voidtools.com/forum/viewtopic.php?f=12&t=10176#sort" 
/comment - nop:"latitude:48.814888549776..48.896661250592  longitude:2.184565297298..2.444117299251 <-- Max. 12 decimal places! | https://www.voidtools.com/forum/viewtopic.php?p=78446#p78446, https://www.voidtools.com/forum/viewtopic.php?t=17091 Latitude, longitude vs. system number format."
/comment - nop:"latitude:48 will match a file where the latitude is >=48 and <49 | latitude:48.0 will match a file where the latitude is >=48.0 and <48.1 | latitude:48.00 will match a file where the latitude is >=48.00 and <48.01 | latitude:48,81..48,89 longitude:2,18..2,44 Is seen as: latitude:48 longitude:2 -> https://www.voidtools.com/forum/viewtopic.php?p=78446#p78446"
/comment - /columns=[{ ... width: --> Menu "Help" - "Troubleshooting Information" (Default view) -OR- file: "Session.json" (Current view). [Option: Everything.exe -update ... saves the file "Session.json" (... and files "Everything.ini", "Everything.db")]
/columns [{"name":"Name","width":208},{"name":"Column A","width":83},{"name":"Latitude","width":74},{"name":"Longitude","width":74},{"name":"Path","width":526},{"name":"Extension","width":62},{"name":"Total Size","width":83},{"name":"Date Taken","width":104},{"name":"Date Modified","width":104},{"name":"Date Created","width":104},{"name":"Date Accessed","width":133}]
 
Bookmark call (ALT+F10) with filter integration
 
2025-11-08_Bookmark call with filter integration.png
2025-11-08_Bookmark call with filter integration.png (31.76 KiB) Viewed 4386 times
 
Restore the default view/standard view (point 1. and below...)
 
2025-11-08_Everything Options_Home and Properties.png
2025-11-08_Everything Options_Home and Properties.png (63.09 KiB) Viewed 4386 times
 
2025-11-08_Bookmark_Restore default view - standard view.png
2025-11-08_Bookmark_Restore default view - standard view.png (34.53 KiB) Viewed 4382 times
 
Bookmark "Default view (ALT+Y)": Search - Custom

Code: Select all

/echo off
/comment - ALT+ENTER causes a line break / add a newline ...
/comment - about:home <ENTER> = Filter "Everything" | about:keys <ENTER> = Keyboard Shortcuts | about:config = Path\Everything.ini | [ALT+F6] whole:about:exe|whole:about:ini  nop:Path\Everything.exe, Path\Everything.ini
/comment - nop:"my bookmark comment" ... can also be used for comments in the Everything search box before or after the search query | https://www.voidtools.com/forum/viewtopic.php?p=68068#p68068
/comment - https://www.voidtools.com/forum/viewtopic.php?t=15288 Default view - Standard view [ALT+Y]
/comment - https://www.voidtools.com/forum/viewtopic.php?t=14954 [SOLVED] Commands for Menu "View" > Preview ... ON/OFF in a bookmark or filter
/comment - "Filter" field starting at 35.00 cm | Monitor 24", Scaling 125%, 1920 x 1200 pixels (native screen resolution), maximised view | Tool 'FastStone Capture': https://www.faststone.org/FSCaptureDetail.htm -> On-screen Ruler (calibrated) | Screen Size (Diagonal Length): 24.0 Inch | PPI (Pixels Per Inch): 94.3 | https://www.ghisler.ch/board/viewtopic.php?p=464783#p464783 (German)
/comment - /view=0;icon_use_thumbnails=!icon_use_thumbnails;icon_size=icon_use_thumbnails?64:16  https://www.voidtools.com/forum/viewtopic.php?p=51189#p51189 - Ctrl+Shift+F7 On/Off
/comment - /close_all_tabs_on_the_right (not yet implemented) - https://www.voidtools.com/forum/viewtopic.php?t=16905 Middle click last tab is clearing search box
/comment - /columns=[{ ... width: --> Menu "Help" - "Troubleshooting Information" (Default view) -OR- file: "Session.json" (Current view). [Option: Everything.exe -update ... saves the file "Session.json"]
/comment -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/columns [{"name":"Name","width":372},{"name":"Path","width":595},{"name":"Extension","width":75},{"name":"Size","width":80},{"name":"Total Size","width":89},{"name":"Date Modified","width":104},{"name":"Date Created","width":104},{"name":"Date Accessed","width":133},{"name":"Title","width":148},{"name":"Subject","width":148},{"name":"Comment","width":148},{"name":"Tags","width":148},{"name":"Authors","width":148},{"name":"File List Name","width":178},{"name":"Column A","width":133}]
/hide-bookmarks-sidebar
/hide-filters-sidebar
/hide-folders-sidebar
/hide-preview
/zoom=100
/view-details
/maximize
/view=0;icon_use_thumbnails=0;icon_size=icon_use_thumbnails?64:16

 
Everything Options - Advanced: Value for new_tab_command_line and new_window_command_line

Code: Select all

-columns [{"name":"Name","width":372},{"name":"Path","width":595},{"name":"Extension","width":75},{"name":"Size","width":80},{"name":"Total Size","width":89},{"name":"Date Modified","width":104},{"name":"Date Created","width":104},{"name":"Date Accessed","width":133},{"name":"Title","width":148},{"name":"Subject","width":148},{"name":"Comment","width":148},{"name":"Tags","width":148},{"name":"Authors","width":148},{"name":"File List Name","width":178},{"name":"Column A","width":133}]
 
Windows 11 Pro (x64) Version 25H2 (OS build 26200.7019) - 2025-10-28
Native2904
Posts: 112
Joined: Mon Nov 22, 2021 8:36 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by Native2904 »

Firstly, thank you for this fantastic functional enhancement.
Is it possible to include *.heic images in the results list? At the moment, photos with the *.heic format do not appear when I use this bookmark. However, as soon as I convert such an image to *.jpg, it immediately shows up in the results list.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by NotNull »

Can't test (no geotagged .heic files here), but what happens when you add .heic files to the Picture filter (that is what pic: "summons"):
  • In Everything: Menu => Search => Organize Filters
  • Select Picture
  • Press the Edit button
  • In the Search field, insert
    ;heic;
    somewhere
  • OK, OK
Are heic files now shown?
Native2904
Posts: 112
Joined: Mon Nov 22, 2021 8:36 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by Native2904 »

With the image filter:

Code: Select all

ext:ani;apng;avif;avifs;bmp;bpg;cur;dds;gif;heic;heics;heif;heifs;hif;ico;jfi;jfif;jif;jpe;jpeg;jpg;jxl;jxr;pcx;png;psb;psd;svg;tga;tif;tiff;wdp;webp;wmf
All images are displayed – but with the filter:

Code: Select all

C: pic:  latitude: longitude:   [define:EARTHRADIUS=6371] [define:mylat=XXX]  [define:mylong=XXX]   add-column:A   A-label:="Distance (km)"   A:=ROUND(ACOS(SIN(RADIANS(90-[mylat:]))*SIN(RADIANS(90-$latitude:))*COS(RADIANS([mylong:]-$longitude:))+COS(RADIANS(90-[mylat:]))*COS(RADIANS(90-$latitude:)))*[EARTHRADIUS:],0)
only jpg files are displayed.
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by NotNull »

.heic files need their geolocations to be indexed too:
  • Please go to Menu => Tools => Options => Indexes => Properties
  • In the right pane, click Latitude
  • In the Include only files field, add
    ;*.heic;
  • Repeat for Longitude.
Native2904
Posts: 112
Joined: Mon Nov 22, 2021 8:36 pm

Re: Geotagging - GPS coordinates - How far away was this photo taken?

Post by Native2904 »

Thank you, it's working now.
Post Reply