Module talk:Location map/data/Canada Alberta
This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||
|
Transverse Mercator conversion
[edit]I've been working on updating and creating a lot of Western Canadian cartographic materials, and I think there are a couple things that could be improved with this locator module.
- The vertically exaggerated equirectangular projection causes a lot of distortion, because of Alberta's large extent and high latitude.
- The second-level divisions depicted on the map are census geometries of no administrative relevance.
So, I've created an alternative which minimizes distortion by using the province's standard EPSG:3401 transverse Mercator projection, and depicts the same assortment of counties and municipal districts (which do have administrative relevance) seen on other articles about Alberta local government. In order to test it, I've put a copy at Module:Location map/data/Canada Alberta TM, which was probably the wrong thing to do. The code can be seen below:
return {
name = 'Alberta',
x = '50 + 796 * 0.5 * ln( ( 1 + cos($1*(pi/180))*sin(($2+115)*(pi/180)) ) / ( 1 - cos($1*(pi/180))*sin(($2+115)*(pi/180)) ) )',
y = '516.2 - 489*(atan(tan($1*(pi/180))/cos(($2+115)*(pi/180)))+0)',
image = 'Alberta County Point Locator.svg'
}
Given the same lat/long pairs used by current Alberta locator calls, it renders as follows:
If this seems like an improvement, I would appreciate if someone with template privileges could make this change. Thanks!
Awmcphee (talk) 03:47, 7 June 2019 (UTC)
Template-protected edit request on 8 February 2021
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Topo map: image1 = 'Canada Alberta relief location map - transverse mercator proj.svg' SANtosito (talk) 15:07, 8 February 2021 (UTC)
- Done Izno (talk) 22:54, 9 February 2021 (UTC)
- Template-Class Canada-related articles
- NA-importance Canada-related articles
- Template-Class Alberta articles
- NA-importance Alberta articles
- Template-Class Geography of Canada articles
- NA-importance Geography of Canada articles
- All WikiProject Canada pages
- Template-Class Maps articles
- NA-importance Maps articles