openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.2k stars 910 forks source link

Make gnis:feature_id clickable #5166

Closed HubMiner closed 1 month ago

HubMiner commented 1 month ago

Problem

gnis:feature_id value sometimes has interesting info, but takes external website to access and verify.

A related discussion: https://community.openstreetmap.org/t/openstreetmap-org-gnis-feature-id-links/118328 An important point from the discussion, some valid ID values will not have a working link.

This is a second attempt submitting this issue, this might be a duplicate request.

Description

When an object has gnis:feature_id value, the value should be clickable, for example: value 407983 should link to https://edits.nationalmap.gov/apps/gaz-domestic/public/gaz-record/407983

Screenshots

No response

mmd-osm commented 1 month ago

I think you would need to describe the exact rules on how to turn a gnis:feature_id tag into a link. Single examples like the one you've provided are probably not going to cut it, if we cannot apply the same pattern for all gnis:feature_ids. Or in other words, try to describe it in a way that assumes no prior knowledge of gnis feature ids.

mmd-osm commented 1 month ago

According to a comment by @1ec5 in https://community.openstreetmap.org/t/openstreetmap-org-gnis-feature-id-links/118328/5, it seems we would have to use some (not yet existing?) redirect service to make this work.

At the moment, I tend to close this issue. There are too many open questions outside of this repo, which need to be sorted out first. Please get back to us once that this done.