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

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
アイスランド 位置図
名称 アイスランド
境界の経緯
66.8
-25 ←↕→ -13
63.1
地図の中心 北緯64度57分 西経19度00分 / 北緯64.95度 西経19度 / 64.95; -19
画像 Iceland adm location map.svg
画像1 Iceland relief map.jpg
Map of Iceland

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

使用法

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

地図パラメータ

  • name = アイスランド
    モジュール名は地図説明文の既定値になります
  • image = Iceland adm location map.svg
    既定値の地図画像で"Image:"や"File:"は指定しません。
  • image1 = Iceland relief map.jpg
    代替地図画像で、通常は地形図をreliefかAlternativeMapというパラメータで指定して表示します。
  • top = 66.8
    地図最北端の緯度十進角で表記します。
  • bottom = 63.1
    地図最南端の緯度を十進角で表記します。
  • left = -25
    地図最西端の経度を十進角で表記します。
  • right = -13
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Reykjavíkの位置(アイスランド内)
Reykjavík
Reykjavík
Reykjavík (アイスランド)
{{Location map | Iceland
| width   = 250
| lat_deg = 64.13
| lon_deg = -21.93
| label   = Reykjavík
}}

Location map many, using relief map (image1)

Location map/data/Icelandの位置(アイスランド内)
Reykjavík
Reykjavík
Ísafjörður
Ísafjörður
Höfn
Höfn
Three locations in Iceland
{{Location map many | Iceland
| relief   = yes
| width    = 250
| caption  = Three locations in Iceland
| lat1_deg = 64.13
| lon1_deg = -21.93
| label1   = Reykjavík
| lat2_deg = 66.076
| lon2_deg = -23.127
| label2   = Ísafjörður
| lat3_deg = 64.25
| lon3_deg = -15.217
| label3   = Höfn
}}

Location map+, using AlternativeMap

Location map/data/Icelandの位置(アイスランド内)
Reykjavík
Reykjavík
Ísafjörður
Ísafjörður
Höfn
Höfn
Three locations in Iceland
{{Location map+ | Iceland
| AlternativeMap = Iceland relief map.jpg
| width   = 250
| caption = Three locations in Iceland
| places  =
  {{Location map~ | Iceland
  | lat_deg = 64.13
  | lon_deg = -21.93
  | label   = Reykjavík
  }}
  {{Location map~ | Iceland
  | lat_deg = 66.076
  | lon_deg = -23.127
  | label   = Ísafjörður
  }}
  {{Location map~ | Iceland
  | lat_deg = 64.25
  | lon_deg = -15.217
  | label   = Höfn
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'アイスランド',
	top = 66.8,
	bottom = 63.1,
	left = -25.0,
	right = -13.0,
	image = 'Iceland adm location map.svg',
	image1 = 'Iceland relief map.jpg'
}