Task: Identify the best strategy/APIs to find Commons categories that are within a certain radius of specified GPS coordinates.
This page will be used to document the results of testing the categories obtained via different APIs/strategies against the benchmark of categories that have been manually entered (by the Commons community or by myself) for each picture.
Pictures are found by:
For the “existing pics at that location” strategy tests, I manually exclude the categories found that are attached to the exact same file that is being used for the test.
URL: https://commons.wikimedia.org/wiki/File:Palermo_Cathedral2.JPG
Camera location: 38° 06′ 49.93″ N, 13° 21′ 22.55″ E
Decimal degrees: 38.11386944444445, 13.356263888888888
Manual categorization: 5 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=38.11386944444445%7C13.356263888888888&generator=geosearch&redirects=&ggscoord=38.11386944444445%7C13.356263888888888&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=38.11386944444445%7C13.356263888888888&generator=geosearch&redirects=&ggscoord=38.11386944444445%7C13.356263888888888&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Oberstaufen_Heiligen-Geist_church.jpg
Camera location: 47° 33′ 14.42″ N, 10° 01′ 06.11″ E
Decimal degrees: 47.554005555555555, 10.01836388888889
Manual categorization: 5 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=47.554005555555555%7C10.01836388888889&generator=geosearch&redirects=&ggscoord=47.554005555555555%7C10.01836388888889&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=47.554005555555555%7C10.01836388888889&generator=geosearch&redirects=&ggscoord=47.554005555555555%7C10.01836388888889&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Slipway_at_Canvey_Point_-geograph.org.uk-_1207137.jpg
Camera location: 51° 31′ 14.41″ N, 0° 37′ 28.77″ E
Decimal degrees: 51.520669444444444, 0.6246583333333333
Manual categorization: 3 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=51.520669444444444%7C0.6246583333333333&generator=geosearch&redirects=&ggscoord=51.520669444444444%7C0.6246583333333333&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Additional categories: Leigh Beck, Yacht clubs in England, Pumping Stations in the United Kingdom - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=51.520669444444444%7C0.6246583333333333&generator=geosearch&redirects=&ggscoord=51.520669444444444%7C0.6246583333333333&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:2008_07_15_Bird_Care_Centre_of_Castel_Tyrol_61210_D9917.jpg
Camera location: 46° 41′ 37.45″ N, 11° 08′ 38.64″ E
Decimal degrees: 46.69373611111111, 11.144066666666665
Manual categorization: 3 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=46.69373611111111%7C11.144066666666665&generator=geosearch&redirects=&ggscoord=46.69373611111111%7C11.144066666666665&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=46.69373611111111%7C11.144066666666665&generator=geosearch&redirects=&ggscoord=46.69373611111111%7C11.144066666666665&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:MammysCupboardSept2008E.jpg
Camera location: 31° 28′ 41″ N, 91° 22′ 16.9″ W
Decimal degrees: 31.478055555555553, -91.3713611111111
Manual categorization: 1 good category
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=31.478055555555553%7C-91.3713611111111&generator=geosearch&redirects=&ggscoord=31.478055555555553%7C-91.3713611111111&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=31.478055555555553%7C-91.3713611111111&generator=geosearch&redirects=&ggscoord=31.478055555555553%7C-91.3713611111111&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Tai%27an_Dai_Miao_2015.08.13_10-18-46.jpg
Camera location: 36° 11′ 41.48″ N, 117° 07′ 30.97″ E
Decimal degrees: 36.194855555555556, 117.12526944444444
Manual categorization: 1 good category
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=36.194855555555556%7C117.12526944444444&generator=geosearch&redirects=&ggscoord=36.194855555555556%7C117.12526944444444&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=36.194855555555556%7C117.12526944444444&generator=geosearch&redirects=&ggscoord=36.194855555555556%7C117.12526944444444&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Tyr_Reykjavik_20120624.JPG
Camera location: 64° 09′ 00.28″ N, 21° 56′ 19.82″ W
Decimal degrees: 64.15007777777778, -21.93883888888889
Manual categorization: 3 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=64.15007777777778%7C-21.93883888888889&generator=geosearch&redirects=&ggscoord=64.15007777777778%7C-21.93883888888889&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=64.15007777777778%7C-21.93883888888889&generator=geosearch&redirects=&ggscoord=64.15007777777778%7C-21.93883888888889&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Tupadly,_n%C3%A1ves.jpg
Camera location: 50° 26′ 32.01″ N, 14° 28′ 23.83″ E
Decimal degrees: 50.44222499999999, 14.473286111111111
Manual categorization: 1 good category
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=50.44222499999999%7C14.473286111111111&generator=geosearch&redirects=&ggscoord=50.44222499999999%7C14.473286111111111&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=50.44222499999999%7C14.473286111111111&generator=geosearch&redirects=&ggscoord=50.44222499999999%7C14.473286111111111&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Allt_Mor_na_h-Uamha_-geograph.org.uk-_411143.jpg
Camera location: 56° 59′ 42.27″ N, 6° 16′ 18″ W
Decimal degrees: 56.995075, -6.2716666666666665
Manual categorization: 2 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=56.995075%7C-6.2716666666666665&generator=geosearch&redirects=&ggscoord=56.995075%7C-6.2716666666666665&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=56.995075%7C-6.2716666666666665&generator=geosearch&redirects=&ggscoord=56.995075%7C-6.2716666666666665&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
URL: https://commons.wikimedia.org/wiki/File:Kest%C5%99any_-Horn%C3%AD_tvrz(8).jpg
Camera location: 49° 16′ 14.4″ N, 14° 04′ 25.57″ E
Decimal degrees: 49.27066666666666, 14.073769444444444
Manual categorization: 3 good categories
WikiData API: results
“Existing pics at that location” strategy:
100m radius: [results](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=49.27066666666666%7C14.073769444444444&generator=geosearch&redirects=&ggscoord=49.27066666666666%7C14.073769444444444&ggsradius=100&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |
Method D
10k radius
Same results as Method D - [link](https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=query&prop=categories | coordinates | pageprops&format=json&clshow=!hidden&coprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&codistancefrompoint=49.27066666666666%7C14.073769444444444&generator=geosearch&redirects=&ggscoord=49.27066666666666%7C14.073769444444444&ggsradius=10000&ggslimit=10&ggsnamespace=6&ggsprop=type%7Cname%7Cdim%7Ccountry%7Cregion%7Cglobe&ggsprimary=all) |