Module talk:Location map/data/Canada Alberta

Transverse Mercator conversion

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)Reply

Template-protected edit request on 8 February 2021

Topo map: image1 = 'Canada Alberta relief location map - transverse mercator proj.svg' SANtosito (talk) 15:07, 8 February 2021 (UTC)Reply

 Done Izno (talk) 22:54, 9 February 2021 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.