[openstreetmap/openstreetmap-website] Display a link for mapillary keys (#986)

Kai Michael Poppe notifications at github.com
Tue Aug 23 08:36:21 UTC 2022


Welp.

I came here due to my ongoing project of making a [large-scale automated edit](https://wiki.openstreetmap.org/wiki/User:Kmpoppe/Automated_Edits/Mapillary_Update) converting all the "old" `mapillary` v3 keys (regexp: `[A-Za-z0-9_-]{22}`) into their v4 "numeric only" keys.

Let me give you the information that I have gathered in preparation for the edit as a new reference point.

Nowadays, we have around **200k** _unique_ "old" keys and **44k** _unique_ new keys in the database (on around **280k** objects). Of the old keys, only 3,400 no longer have a working numeric id because they have since been deleted. Of these 244k, there are 37k full-flechted http(s)-links in the `mapillary` key, which will, given how the object-view on the website works, show a link nevertheless.

The [wiki](https://wiki.openstreetmap.org/wiki/Key:mapillary) states, quite rightly, "This key uses the unique key Mapillary assigns to each photo, not a direct link. The reason for adding the key and not the full URI is that the full URI changed in the past and might change again.".

Should we add a "special treatment" for the mapillary-key on the website, it shall work as such, that a "numeric-only" value of at least 15 consecutive digits links to https://www.mapillary.com/app?focus=photo&pKey={`mapillary`} - if that part ever changes it will be easy to fix and it will provide more value than those 37k+ links that might become outdated, should the company ever decide to remove legacy support for old links.

Adding to the discussion of the usefulness of a source of streetlevel-imagery that has an OSM-compatible license, I just want to add that, even after the aqcuiration by facebook, the license has not changed, so using that imagery as a source for fact-checking on specific tagging or just viewing points of interest from street level feels like a reasonable thing to be using that imagery for.

I will move forward trying to have the world database contain the most up-to-date API v4 keys (and only one per image) regardless of how this Issue pans out, because it best reflects how the tagging was agreed upon. I, for one, believe that adding an automated link will add value to the website.

Kai

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/986#issuecomment-1223743266
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/986/1223743266 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220823/5be7cd4b/attachment.htm>


More information about the rails-dev mailing list