Template:Location map data documentation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Location map notes == Standard usage for location maps is to set the boundaries in such a way that any location can be replicated on the location map using pixel co-ordinat...") |
No edit summary |
||
Line 2: | Line 2: | ||
Standard usage for location maps is to set the boundaries in such a way that any location can be replicated on the location map using pixel co-ordinates. | Standard usage for location maps is to set the boundaries in such a way that any location can be replicated on the location map using pixel co-ordinates. | ||
For example, a 2048x2048 image | For example, a 2048x2048 image could have boundaries of 0, 204.8, 0, 204.8. This allows a point at pixel co-ordinates (1567,1056) to be plotted precisely with ease as (156.7,105.6) | ||
==Googledocs calculator== | |||
Alternatively, use [https://docs.google.com/spreadsheets/d/1OL16hbMYVsqQXyVH3wq97H0Z_anhAPm070lh7HNQkPw/edit#gid=1209108751 this tool] to calculate everything, assuming you have the dimensions of your map image, and the pixel co-ordinates of each location to plot. | |||
==Degree/Minute conversion notes== | |||
You can also use [[Template:Deg2Min|Deg2Min]] to get just the minute value isolated from the full decimal input, like so: | You can also use [[Template:Deg2Min|Deg2Min]] to get just the minute value isolated from the full decimal input, like so: | ||
<code><nowiki>{{Deg2Min|156.9}}</nowiki></code> returns {{Deg2Min|156.9}} which you can then plug directly into the template in the minutes parameter. | <code><nowiki>{{Deg2Min|156.9}}</nowiki></code> returns {{Deg2Min|156.9}} which you can then plug directly into the template in the minutes parameter. |
Latest revision as of 05:39, 26 August 2016
Location map notes
Standard usage for location maps is to set the boundaries in such a way that any location can be replicated on the location map using pixel co-ordinates.
For example, a 2048x2048 image could have boundaries of 0, 204.8, 0, 204.8. This allows a point at pixel co-ordinates (1567,1056) to be plotted precisely with ease as (156.7,105.6)
Googledocs calculator
Alternatively, use this tool to calculate everything, assuming you have the dimensions of your map image, and the pixel co-ordinates of each location to plot.
Degree/Minute conversion notes
You can also use Deg2Min to get just the minute value isolated from the full decimal input, like so:
{{Deg2Min|156.9}}
returns 27 which you can then plug directly into the template in the minutes parameter.