Template talk:Coord: Difference between revisions

From VOC Wiki
Jump to navigation Jump to search
imported>Matthew
No edit summary
imported>Swebster
m Thoughts?: link to my contribution to the online mapping talk page
Line 30: Line 30:
:Is there a way to link this to iMapBC?  It's generally way more useful than google maps.
:Is there a way to link this to iMapBC?  It's generally way more useful than google maps.
::I looked, can't find a way to input a coordinate via a get request - you have to navigate through the iMapBC menu to do it. I'll email them about it - last time I emailed they were quite quick to reply. -- [[User:Matthew|Matthew]] 13:57, 25 July 2007 (PDT)
::I looked, can't find a way to input a coordinate via a get request - you have to navigate through the iMapBC menu to do it. I'll email them about it - last time I emailed they were quite quick to reply. -- [[User:Matthew|Matthew]] 13:57, 25 July 2007 (PDT)
:::I believe I just posted a solution to this at [[Talk:Online mapping]]. [[User:Swebster|Scott Webster]] 22:46, 26 July 2007 (PDT)
:It would be cool if someone integrated topo information into google maps for Canada.  There are a bunch of sites that do it for the us.  Eg. [http://mapper.acme.com] [[User:Swebster|Scott Webster]] 11:13, 25 July 2007 (PDT)
:It would be cool if someone integrated topo information into google maps for Canada.  There are a bunch of sites that do it for the us.  Eg. [http://mapper.acme.com] [[User:Swebster|Scott Webster]] 11:13, 25 July 2007 (PDT)

Revision as of 05:46, 27 July 2007

This template can be used whenever a UTM location / waypoint is added to a page. It outputs the waypoint in a standard format, and also adds a link that redirects to a page full of mapping links for the location, much like how Coordinates are shown in pages on wikipedia, e.g. Mount Price.

Usage

The template accepts 5 parameters: UTM zone, x coordinate, y coordinate, datum and "hidedatum". The first 4 parameters must be included for the template to work. The hidedatum parameter, if included, causes the template to not output the datum after the link. This may be useful for lists of waypoints where the datum is mentioned elsewhere on the page.

For example:

{{coord|10U|486404|5542900|NAD27}}

produces:

10U 486404E 5542900N (NAD27 datum)

or

{{coord|10U|486305|5543098|WGS84|hidedatum}}

produces:

10U 486305E 5543098N

Thoughts?

This now seems to be working as intended. Any thoughts on using this site-wide? I found myself adding links to google maps a lot and like the way wikipedia does it. For the geeks, the source to the redirection hack is here - I'm actually surprised I couldn't find something like that already. Seems everything wikipedia does with coordinates is in DMS. Matthew 19:07, 24 July 2007 (PDT)

Considering that this is what I see when I click on the links, I think it needs some work... but others may not have the same problem. Scott Webster 21:15, 24 July 2007 (PDT)
Interesting. Presumably you also see that gong show with links from the wikipedia pages? e.g. Mt Price / 49°92′N 123°03′W? The final page (at tools.wikimedia.de) is - of course - beyond my control, all my tool does is the conversion from UTM (WGS84 or NAD27) to DMS (WGS84) and forward people to the tools.wikimedia.de page. If it's that badly broken, then perhaps we don't want to use it. -- Matthew 23:34, 24 July 2007 (PDT)
Works ok with Firefox on Linux, though I'm not sure how useful most of those links are. Scott Webster 11:13, 25 July 2007 (PDT)
Is there a way to link this to iMapBC? It's generally way more useful than google maps.
I looked, can't find a way to input a coordinate via a get request - you have to navigate through the iMapBC menu to do it. I'll email them about it - last time I emailed they were quite quick to reply. -- Matthew 13:57, 25 July 2007 (PDT)
I believe I just posted a solution to this at Talk:Online mapping. Scott Webster 22:46, 26 July 2007 (PDT)
It would be cool if someone integrated topo information into google maps for Canada. There are a bunch of sites that do it for the us. Eg. [1] Scott Webster 11:13, 25 July 2007 (PDT)