Difference between revisions of "Template:MapSiteLink"

From Geohashing
Line 1: Line 1:
<includeonly>[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{#if: {{{N|}}} | {{{N}}} | {{#expr: {{Kripakko TM35FIN N | lat = {{{lat}}} | lon = {{{lon}}} }}round0 }} }}&e={{#if: {{{E|}}} | {{{E}}} | {{#expr: {{Kripakko TM35FIN E | lat = {{{lat}}} | lon = {{{lon}}} }}round0 }} }}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]</includeonly><noinclude>Author: [[User:Kripakko|Kripakko]]
+
<includeonly>[https://asiointi.maanmittauslaitos.fi/karttapaikka/?lang=en&share=customMarker&n={{#if: {{{N|}}} | {{{N}}} | {{#expr: {{Kripakko TM35FIN N | lat = {{{lat}}} | lon = {{{lon}}} }}round1 }} }}&e={{#if: {{{E|}}} | {{{E}}} | {{#expr: {{Kripakko TM35FIN E | lat = {{{lat}}} | lon = {{{lon}}} }}round1 }} }}&title={{{title|}}}&desc=&zoom={{{zoom|10}}} {{{label|}}}]</includeonly><noinclude>Author: [[User:Kripakko|Kripakko]]
  
 
I made this template to help with including links to the National Land Survey of Finland's topographic map view.
 
I made this template to help with including links to the National Land Survey of Finland's topographic map view.

Revision as of 00:11, 23 February 2022

Author: Kripakko

I made this template to help with including links to the National Land Survey of Finland's topographic map view.

Coordinates need to be converted to ETRS-TM35FIN coordinate system (ETRS-TM35 extended in longitudinal direction to cover all of Finland). I use MapSite to do the conversion from WGS84, or I just pick points on the map or the aerial view.

You can use this in Finland if you want to. Outside of Finland it is all but useless, so do not even bother to try.

Usage:

{{MapSiteLink
| N = ETRS-TM35FIN north coordinate
| E = ETRS-TM35FIN east coordinate
| lat = geographical latitude
| lon = geographical longitude
| title = the title to be displayed on the marker on the map,
formatted in a certain way required by the MapSite – optional
| zoom = map zoom level – optional, defaults to 10
(the lowest zoom level where the most detailed map is shown)
| label = the label for the link on the wikipage – optional
}}