モジュール:Location map/data/New Zealand

モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]
ニュージーランド 位置図
名称 ニュージーランド
境界の経緯
-34
165.8 ←↕→ 179.4
-48.3
地図の中心 南緯41度09分 東経172度36分 / 南緯41.15度 東経172.6度 / -41.15; 172.6
画像 New Zealand location map.svg
画像1 New Zealand relief map.jpg
Map of New Zealand

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

使用法

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

地図パラメータ

  • name = ニュージーランド
    モジュール名は地図説明文の既定値になります
  • bottom = -48.3
    地図最南端の緯度を十進角で表記します。
  • left = 165.8
    地図最西端の経度を十進角で表記します。
  • right = 179.4
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Wellingtonの位置(ニュージーランド内)
Wellington
Wellington
Wellington (ニュージーランド)
{{Location map | New Zealand
| width   = 250
| lat_deg = -41.29
| lon_deg = 174.78
| label   = Wellington
}}

Location map many, using relief map (image1)

Location map/data/New Zealandの位置(ニュージーランド内)
Wellington
Wellington
Auckland
Auckland
Invercargill
Invercargill
Three locations in New Zealand
{{Location map many | New Zealand
| relief   = yes
| width    = 250
| caption  = Three locations in New Zealand
| lat1_deg = -41.29
| lon1_deg = 174.78
| label1   = Wellington
| lat2_deg = -36.84
| lon2_deg = 174.74
| label2   = Auckland
| lat3_deg = -46.43
| lon3_deg = 168.31
| label3   = Invercargill
}}

Location map+, using AlternativeMap

Location map/data/New Zealandの位置(ニュージーランド内)
Wellington
Wellington
Auckland
Auckland
Invercargill
Invercargill
Three locations in New Zealand
{{Location map+ | New Zealand
| AlternativeMap = New Zealand relief map.jpg
| width   = 250
| caption = Three locations in New Zealand
| places  =
  {{Location map~ | New Zealand
  | lat_deg = -41.29
  | lon_deg = 174.78
  | label   = Wellington
  }}
  {{Location map~ | New Zealand
  | lat_deg = -36.84
  | lon_deg = 174.74
  | label   = Auckland
  }}
  {{Location map~ | New Zealand
  | lat_deg = -46.43
  | lon_deg = 168.31
  | label   = Invercargill
  }}
}}

関連項目

Location mapテンプレート

return {
	name = 'ニュージーランド',
	top = -34.0,
	bottom = -48.3,
	left = 165.8,
	right = 179.4,
	image = 'New Zealand location map.svg',
	image1 = 'New Zealand relief map.jpg',
}