[openstreetmap/openstreetmap-website] Add short links to OSM objects (Issue #5244)
mmd
notifications at github.com
Tue Oct 1 20:59:19 UTC 2024
_I'm not covering the question how and where we're generating these links in the first place._
> Links to OSM entities are quite unwieldy, e. g.: https://www.openstreetmap.org/changeset/157188078.
There's still the third option to use `osm.org` along with the current schema: `https://osm.org/changeset/157188078`.
In particular for node, way and note, most of the savings can already be achieved by replacing `www.openstreetmap.org` by `osm.org`. Your proposal would reduce the length by another 10-15%. For your node example, that's 28 chars instead of 32.
Both "changeset" and "relation" are both fairly long as a string. At least for "relation", a shorter alias "rel" might be something we could discuss.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5244#issuecomment-2387063851
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5244/2387063851 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241001/820e297d/attachment.htm>
More information about the rails-dev
mailing list