Provide GEO uri next to permalink on the map #3330
Comments
Author: TomH Is there anything that actually uses such URIs though? |
Author: steelman I know of two pieces of software:
And I hope there will be more because geouri is the most convenient (well defined) way to exchange geographic coordinats between geo-aware applications. The org-mode extension, for example, accepts dropped geo links and sets GEO property on a note. |
Author: steelman Do not apply this patch yet. I need to make the uncertainty calculation take the rounding done at the beginning of the function into account properly. I'll tell you when it's ready. |
Author: steelman OK. Here is a piece of maths: Let's assume Earth's average circumference is 40041455m At zoom 0 one pixel corresponds 156412m (40041455m / 256px), and it is The degree uncertainty which lies in rounding:
with decimals equal 1 for zoom 0, starts at 111226m (40041455m / PS. I consider uncertainty here as a maximum error (east-west on the |
Author: steelman I mean: "which is 2.15 per one zoom level". |
Author: steelman Ping! |
Author: steelman Ping! |
Author: TomH I'm very reluctant to use up precious screen real estate for this while there are so few potential users for it. The risk is that we will confuse people who will see this link but (in 99.999% of cases) find that nothing happens (or they get an error) when they click on it. I don't see that the benefits are currently sufficient to outweigh that downside. |
Author: TomH This was implemented in [changeset:6403cb9/rails]. |
Reporter: steelman
[Submitted to the original trac issue database at 4.35am, Sunday, 7th November 2010]
[http://tools.ietf.org/html/rfc5870 RFC 5870] describes a "geo:" uri scheme that is design to point to geographic locations. This patch adds a GEO link next to Permalink in the lower right corner of the map.
The patch contains some comments around the JS code, which may of course be removed.
The text was updated successfully, but these errors were encountered: