Hi all,
I'm not totally sure whether this is the correct mailing list, but the topic is very map related :)
I always figured that there should be a comfortable way for geocoding existing files on Wikimedia Commons. However, Commons:Geocoding only mentions tools that somehow generate a {{Location}} string which has to be inserted manually afterwards.
That's why I tried to tackle this problem. The outcome is the locator-tool: https://tools.wmflabs.org/locator-tool/
The idea is that you generate/insert a list of media files to geocode. Afterwards you take file by file, select its location on an interactive OpenStreetMap-based map. The tool will automatically generate the {{Location}} string and insert/update the wikitext.
The web application is mostly written in JavaScript using the AngularJS framework. Only the OAuth and editing stuff requires a slim backend written in Python/Flask.
Currently it only supports editing {{Location}} templates, but not {{Object location}}. As far as I understand, the latter is not returned by the API (action=query, prop=coordinates)? The camera heading isn't yet editable neither.
Cheers from Austria, Simon
Hi Simon,
This is totally awesome! I have been uploading photos recently to Commons and was wondering how I would be able to geotag them efficiently. I tested the tool a while ago and it works as expected.
Here are some suggestions: 1. The coordinates have too much precision. I see 15 decimal places in the tool, which makes the photos geocoded to an accuracy of one-tenth of a nanometer. What is ultimately stored into the File page is 10 decimal places which is still too precise (~10 μm). 5 decimal places (~1 meter accuracy) should be more than enough. 2. For the step of selecting files, it would also help to have the option of specifying a user, defaulting to the OAuth-authenticated user. Usually you would want to geocode files that you yourself uploaded.
Hope this helps!
~Eugene
On Tue, May 17, 2016 at 3:27 AM, Simon Legner simon.legner@gmail.com wrote:
Hi all,
I'm not totally sure whether this is the correct mailing list, but the topic is very map related :)
I always figured that there should be a comfortable way for geocoding existing files on Wikimedia Commons. However, Commons:Geocoding only mentions tools that somehow generate a {{Location}} string which has to be inserted manually afterwards.
That's why I tried to tackle this problem. The outcome is the locator-tool: https://tools.wmflabs.org/locator-tool/
The idea is that you generate/insert a list of media files to geocode. Afterwards you take file by file, select its location on an interactive OpenStreetMap-based map. The tool will automatically generate the {{Location}} string and insert/update the wikitext.
The web application is mostly written in JavaScript using the AngularJS framework. Only the OAuth and editing stuff requires a slim backend written in Python/Flask.
Currently it only supports editing {{Location}} templates, but not {{Object location}}. As far as I understand, the latter is not returned by the API (action=query, prop=coordinates)? The camera heading isn't yet editable neither.
Cheers from Austria, Simon
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
Simon, have you seen the Wikimaps Waprer project? Sounds they are trying to do something similar with the historic maps:
https://meta.wikimedia.org/wiki/Grants:IEG/Wikimaps_Warper_2.0 https://commons.wikimedia.org/wiki/Commons:Wikimaps
I hope we will be able to store commons metadata (like coordinates) in the wikidata soon.
On Tue, May 17, 2016 at 12:48 AM, Eugene Alvin Villar seav80@gmail.com wrote:
Hi Simon,
This is totally awesome! I have been uploading photos recently to Commons and was wondering how I would be able to geotag them efficiently. I tested the tool a while ago and it works as expected.
Here are some suggestions:
- The coordinates have too much precision. I see 15 decimal places in the
tool, which makes the photos geocoded to an accuracy of one-tenth of a nanometer. What is ultimately stored into the File page is 10 decimal places which is still too precise (~10 μm). 5 decimal places (~1 meter accuracy) should be more than enough. 2. For the step of selecting files, it would also help to have the option of specifying a user, defaulting to the OAuth-authenticated user. Usually you would want to geocode files that you yourself uploaded.
Hope this helps!
~Eugene
On Tue, May 17, 2016 at 3:27 AM, Simon Legner simon.legner@gmail.com wrote:
Hi all,
I'm not totally sure whether this is the correct mailing list, but the topic is very map related :)
I always figured that there should be a comfortable way for geocoding existing files on Wikimedia Commons. However, Commons:Geocoding only mentions tools that somehow generate a {{Location}} string which has to be inserted manually afterwards.
That's why I tried to tackle this problem. The outcome is the locator-tool: https://tools.wmflabs.org/locator-tool/
The idea is that you generate/insert a list of media files to geocode. Afterwards you take file by file, select its location on an interactive OpenStreetMap-based map. The tool will automatically generate the {{Location}} string and insert/update the wikitext.
The web application is mostly written in JavaScript using the AngularJS framework. Only the OAuth and editing stuff requires a slim backend written in Python/Flask.
Currently it only supports editing {{Location}} templates, but not {{Object location}}. As far as I understand, the latter is not returned by the API (action=query, prop=coordinates)? The camera heading isn't yet editable neither.
Cheers from Austria, Simon
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
Hi Eugene, hi Yuri, hi all,
On Mon, May 16, 2016 at 11:48 PM, Eugene Alvin Villar seav80@gmail.com wrote:
Here are some suggestions:
Thanks for the feedback. Both your suggestions seems reasonable – I'll include them sooner or later.
@Yuri: I wasn't aware of the Wikimaps Waprer project. Maybe I should also write an application before starting the next project for Wikimedia.. The focus/goals seem different to my understanding. The locator-tools simplifies assigning a location to 100s of images quickly, whereas the Waprer project is for georeferencing maps and extracting historical spatial objects.
@all: Where does one announce tools for Wikimedia Commons such as this?
Simon
Hi Simon, your tool is great, I've used it on a dozen of pictures missing geo information. I will surely talk about it during my workshop on OpenStreetMap during this year wikimania.
one feature request: can you please add a way to limit the amount of pictures to be loaded in the list? I did try to use a very large commons category and my browser died. something like a pagination or similar mechanism?
Thanks, Simone.
On Mon, May 16, 2016 at 9:27 PM, Simon Legner simon.legner@gmail.com wrote:
Hi all,
I'm not totally sure whether this is the correct mailing list, but the topic is very map related :)
I always figured that there should be a comfortable way for geocoding existing files on Wikimedia Commons. However, Commons:Geocoding only mentions tools that somehow generate a {{Location}} string which has to be inserted manually afterwards.
That's why I tried to tackle this problem. The outcome is the locator-tool: https://tools.wmflabs.org/locator-tool/
The idea is that you generate/insert a list of media files to geocode. Afterwards you take file by file, select its location on an interactive OpenStreetMap-based map. The tool will automatically generate the {{Location}} string and insert/update the wikitext.
The web application is mostly written in JavaScript using the AngularJS framework. Only the OAuth and editing stuff requires a slim backend written in Python/Flask.
Currently it only supports editing {{Location}} templates, but not {{Object location}}. As far as I understand, the latter is not returned by the API (action=query, prop=coordinates)? The camera heading isn't yet editable neither.
Cheers from Austria, Simon
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l