モジュール:Location map/data/Armenia

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
アルメニア 位置図
名称 アルメニア
境界の経緯
41.4
43.4 ←↕→ 46.7
38.8
地図の中心 北緯40度06分 東経45度03分 / 北緯40.1度 東経45.05度 / 40.1; 45.05
画像 Armenia adm location map.svg
画像1 Relief Map of Armenia.png
Map of Armenia

モジュール:Location map/data/Armeniaアルメニア正距円筒図法地図でオーバーレイのマーカー・ラベルを表示するのに使用する地点図のLuaモジュールです。マーカーは既定値の地図や同じような地図画像において緯度経度の座標に基いて置かれます。

使用法

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

地図パラメータ

  • name = アルメニア
    モジュール名は地図説明文の既定値になります
  • bottom = 38.8
    地図最南端の緯度を十進角で表記します。
  • left = 43.4
    地図最西端の経度を十進角で表記します。
  • right = 46.7
    地図最東端の経度を十進角で表記します。

代替地図

image1 (Relief Map of Armenia.png)で定義された地図は{{Location map}}、{{Location map many}}、{{Location map+}}といったテンプレートの「relief」か「AlternativeMap」のパラメータを使って表示できます。 これら2つのパラメータは以下の使用例で示しています。さらなる使用例は次のテンプレートにあります。:

精度

経度: この地図は西から東まで3.3度です。

  • 画像の幅が200ピクセルの場合は1ピクセルにつき0.0165度です。
  • 画像の幅が1000ピクセルの場合は1ピクセルにつき0.0033度です。

緯度: この地図は北から南まで2.6度です。

  • 画像の縦の長さが200ピクセルの場合は1ピクセルにつき0.013度です。
  • 画像の縦の長さが1000ピクセルの場合は1ピクセルにつき0.0026度です。== Location mapテンプレート使用例 ==

Location map, using default map (image)

Yerevanの位置(アルメニア内)
Yerevan
Yerevan
Yerevan (アルメニア)
{{Location map | Armenia
| width   = 200
| lat_deg = 40.18
| lon_deg = 44.52
| label   = Yerevan
}}

Location map many, using relief map (image1)

Location map/data/Armeniaの位置(アルメニア内)
Yerevan
Yerevan
Gyumri
Gyumri
Two locations in Armenia
{{Location map many | Armenia
| relief   = yes
| width    = 200
| caption  = Two locations in Armenia
| lat1_deg = 40.18
| lon1_deg = 44.52
| label1   = Yerevan
| lat2_deg = 40.79
| lon2_deg = 43.85
| label2   = Gyumri
}}

Location map+, using AlternativeMap

Location map/data/Armeniaの位置(アルメニア内)
Yerevan
Yerevan
Gyumri
Gyumri
Two locations in Armenia
{{Location map+ | Armenia
| AlternativeMap = Relief Map of Armenia.png
| width   = 200
| caption = Two locations in Armenia
| places  =
  {{Location map~ | Armenia
  | lat_deg = 40.18
  | lon_deg = 44.52
  | label   = Yerevan
  }}
  {{Location map~ | Armenia
  | lat_deg = 40.79
  | lon_deg = 43.85
  | label   = Gyumri
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'アルメニア',
	top = 41.4,
	bottom = 38.8,
	left = 43.4,
	right = 46.7,
	image = 'Armenia adm location map.svg',
	image1 = 'Relief Map of Armenia.png'
}