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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/maps-l

Reply via email to