モジュール:Location map/data/Northern and Central Europe

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
北欧と中欧 位置図
名称 北欧と中欧
x ((131.579*( cos( $1*pi/180 )*sin( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5) - (-36.388))*14.0134-200)/6
y ((55.11 - 153.610*( cos( 52* pi/180)*sin( $1*pi/180 ) - sin( 52*pi/180 )*cos( $1*pi/180 )*cos( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5))*11.9834-174.92)/7.5
画像 Northern and Central Europe location map.svg


モジュール:Location map/data/Northern and Central Europe北欧中欧ランベルト正積方位図法地図でオーバーレイのマーカー・ラベルを表示するのに使用する地点図のLuaモジュールです。マーカーは既定値の地図や同じような地図画像において緯度経度の座標に基いて置かれます。

使用法

次のテンプレートで"Northern and Central Europe"というパラメータを使用します:

地図パラメータ

  • name = 北欧と中欧
    モジュール名は地図説明文の既定値になります
  • x = ((131.579*( cos( $1*pi/180 )*sin( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5) - (-36.388))*14.0134-200)/6
    経度に基いて地図上の位置を計算する式で、最西端は0、最東端は100になります。
  • y = ((55.11 - 153.610*( cos( 52* pi/180)*sin( $1*pi/180 ) - sin( 52*pi/180 )*cos( $1*pi/180 )*cos( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5))*11.9834-174.92)/7.5
    緯度に基いて地図上の位置を計算する式で、最北端は0、最南端は100になります。

Location mapテンプレート使用例

Location map

Hamburgの位置(北欧と中欧内)
Hamburg
Hamburg
Hamburg (北欧と中欧)
{{Location map | Northern and Central Europe
| width   = 250
| label   = Hamburg
| lat_deg = 53.57
| lon_deg = 10.00
}}

Location map many

Location map/data/Northern and Central Europeの位置(北欧と中欧内)
Trondheim
Trondheim
Venice
Venice
Two locations in Europe
{{Location map many | Northern and Central Europe
| width    = 250
| caption  = Two locations in Europe
| label1   = Trondheim
| lat1_deg = 63.43
| lon1_deg = 10.39
| label2   = Venice
| lat2_deg = 45.44
| lon2_deg = 12.34
}}

Location map+

Location map/data/Northern and Central Europeの位置(北欧と中欧内)
Bordeaux
Bordeaux
Rīga
Rīga
Two locations in Europe
{{Location map+ | Northern and Central Europe
| caption  = Two locations in Europe
| width   = 250
| places  =
  {{Location map~ | Northern and Central Europe
  | label   = Bordeaux
  | lat_deg = 44.84
  | lon_deg = -0.58
  }}
  {{Location map~ | Northern and Central Europe
  | label   = Rīga
  | lat_deg = 56.95
  | lon_deg = 24.11
  }}
}}

関連項目

Location mapテンプレート

return {
	name = '北欧と中欧',
	x = '((131.579*( cos( $1*pi/180 )*sin( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5) - (-36.388))*14.0134-200)/6',
	y = '((55.11 - 153.610*( cos( 52* pi/180)*sin( $1*pi/180 ) - sin( 52*pi/180 )*cos( $1*pi/180 )*cos( ($2-10)*pi/180 ) ) * ( ((1 + sin( $1*pi/180 )*sin( 52*pi/180 ) + cos( $1*pi/180 )*cos( 52*pi/180 )*cos( ($2-10)*pi/180 ) ) *0.5)^ -0.5))*11.9834-174.92)/7.5',
	image = 'Northern and Central Europe location map.svg'
}