TNRIS / data.tnris.org-svelte

MIT License
3 stars 0 forks source link

EPSG Codes on front end #56

Closed mitchellryant closed 5 days ago

mitchellryant commented 6 months ago

In 2018 when we designed the API DB, the Projections Look Up table was designed to be just the number for the EPSG Code. And on the front end we would add the web site https://epsg.io in front of the number and create an href to that site, ex https://epsg.io/3857. This would all the user to get the technical details of each CRS.

Currently we are just showing a number in this part of the front end. Not all user may know what these numbers mean. image

If we no longer want to href out to EPSG.io, should we consider using a common name or abbreviation. This would require a model change.

L-Har commented 5 days ago

@ThorTheDestroyer @mitchellryant Those are two options. Let me know what you guys think.

If you want me to write the SQL that swaps the numeric codes into a human readable format (ex: 4326 to WGS84); then I'm going to wait until @ctrepka @TWDBrob @twdbben and @DipakS28 get back to discuss it with them and see if it's used as a foreign key or something important though. first so it won't be done until next week.

L-Har commented 5 days ago

Cancel the above.

I can just get the JSON from here and show both https://epsg.io/3857.json I'll go ahead and do that

L-Har commented 5 days ago

Completed in pull request #68 and #69

Decided to go with "por que no los dos?" (Why not both?)

Human readable format is shown and it creates a hyperlink to epsg.io ex: WGS84