Template:CH1903-WGS84
Jump to navigation
Jump to search
koor=L/B
This documentation is transcluded from Template:CH1903-WGS84/doc.
Converts Swiss grid coordinates to WGS84; based on de:Template:CH1903-WGS84
Usage
{{CH1903-WGS84 |1= |2= |koor= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | y-coordinate | y-coordinate in km of the Swiss 1903 grid (e.g. 600) | empty | required |
2 | x-coordinate | x-coordinate in km of the Swiss 1903 grid (e.g. 100) | empty | required |
koor | output type | choose output L=longitude, B=latitude | empty | required |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Samples
- Input
{{CH1903-WGS84|600|200|koor=B}}
- Output
- 46.951081
- Input
{{CH1903-WGS84|600|200|koor=L}}
- Output
- 7.438637
- Input
{{object location|1={{CH1903-WGS84|600|200|koor=B}}|2={{CH1903-WGS84|600|200|koor=L}}|3=region:CH}}
- Output
Object location | View all coordinates using: OpenStreetMap |
---|
- Input
{{subst:CH1903-WGS84|600|200|koor=L}}
- Output
- 7.438637
- Input
{{object location|1={{subst:CH1903-WGS84|600|200|koor=B}}|2={{subst:CH1903-WGS84|600|200|koor=L}}|3=region:CH}}
- Output
Object location | View all coordinates using: OpenStreetMap |
---|
- Source
{{object location|1=46.951081|2=7.438637|3=region:CH}}