User talk:Vhasler: Difference between revisions
(update) |
No edit summary |
||
Line 21: | Line 21: | ||
I feel this cleans things up for novices (not that we have many editing) and just ensures everything matches up well plus simplifies editing. The problem is that it appears that you prefer DMS coords which the GMap tag doesn't work with (so all trail pages with DMS lat/lon IB coords are now not working). I can change the template to have more variables for DMS lat/lon and DEG lat/lon, but that puts us almost back to where we were. Still a bit cleaner looking though. Thoughts? --[[User:WikiSysop|WikiSysop]] 21:19, 22 May 2012 (MDT) | I feel this cleans things up for novices (not that we have many editing) and just ensures everything matches up well plus simplifies editing. The problem is that it appears that you prefer DMS coords which the GMap tag doesn't work with (so all trail pages with DMS lat/lon IB coords are now not working). I can change the template to have more variables for DMS lat/lon and DEG lat/lon, but that puts us almost back to where we were. Still a bit cleaner looking though. Thoughts? --[[User:WikiSysop|WikiSysop]] 21:19, 22 May 2012 (MDT) | ||
:OK. New extension added so that even though you enter DEG in the wiki it converts it to DMS on the page. It looks like you have a slightly different format, I'll see if I can tweak the calculations to match your old format. Hmmm, need to check what happens to pages already listed in DMS... Ugly, nothing works, no IB display, no GMap. The format that the extension generates appears to be [http://en.wikipedia.org/wiki/Geographic_coordinate_conversion Wikipedia's preferred format]. Any particular reason for the format you were using? --[[User:WikiSysop|WikiSysop]] 19:34, 23 May 2012 (MDT) | :OK. New extension added so that even though you enter DEG in the wiki it converts it to DMS on the page. It looks like you have a slightly different format, I'll see if I can tweak the calculations to match your old format. Hmmm, need to check what happens to pages already listed in DMS... Ugly, nothing works, no IB display, no GMap. The format that the extension generates appears to be [http://en.wikipedia.org/wiki/Geographic_coordinate_conversion Wikipedia's preferred format]. Any particular reason for the format you were using? --[[User:WikiSysop|WikiSysop]] 19:34, 23 May 2012 (MDT) | ||
---- | |||
Tim, DMS format is what I am used to because of Geocaching/Waymarking. I believe it matches up bettter with topo maps which also use DMS. However, for the trail wiki I could be convinced to switch to decimal lat/lon to make the features work. Later, --[[User:Vhasler|Vhasler]] 05:29, 24 May 2012 (MDT) |
Revision as of 06:29, 24 May 2012
As you probably have seen I've been playing with the Trail Infobox. My goal was to get a single lat/lon entry work for map the IB table, Gmap centering, and Gmap tag. I got it to work so now the IB template should be just...
{{Infobox Trail | Image Name = Sinking Waters information sign.jpg | Hike Time = 1 | City = Kingsport | State = Tennessee | Marking = None | Trail Use = {{Hike}} {{Dogs}} | Season = Year Round | Difficulty Rating = Easy | Distance = 3.0 | Elevation Gain = 0-200 | High Point = 1618 | Latitude = 36.516591 | Longitude = -82.473665 | Medical = Kingsport, TN }} <!-- End Infobox template table-->
Essentially the whole bottom business with the GMap extension is gone and moved to the template. See WPSP Sinking Waters for an example.
I feel this cleans things up for novices (not that we have many editing) and just ensures everything matches up well plus simplifies editing. The problem is that it appears that you prefer DMS coords which the GMap tag doesn't work with (so all trail pages with DMS lat/lon IB coords are now not working). I can change the template to have more variables for DMS lat/lon and DEG lat/lon, but that puts us almost back to where we were. Still a bit cleaner looking though. Thoughts? --WikiSysop 21:19, 22 May 2012 (MDT)
- OK. New extension added so that even though you enter DEG in the wiki it converts it to DMS on the page. It looks like you have a slightly different format, I'll see if I can tweak the calculations to match your old format. Hmmm, need to check what happens to pages already listed in DMS... Ugly, nothing works, no IB display, no GMap. The format that the extension generates appears to be Wikipedia's preferred format. Any particular reason for the format you were using? --WikiSysop 19:34, 23 May 2012 (MDT)
Tim, DMS format is what I am used to because of Geocaching/Waymarking. I believe it matches up bettter with topo maps which also use DMS. However, for the trail wiki I could be convinced to switch to decimal lat/lon to make the features work. Later, --Vhasler 05:29, 24 May 2012 (MDT)