モジュール:Location map/data/Uganda/doc


ウガンダ 位置図
名称 ウガンダ
境界の経緯
4.5
29.2 ←↕→ 35.3
-1.7
地図の中心 北緯1度24分 東経32度15分 / 北緯1.4度 東経32.25度 / 1.4; 32.25
画像 Uganda location map.svg
画像1 Uganda location map Topographic.png
Map of Uganda

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

使用法

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

地図パラメータ

  • name = ウガンダ
    モジュール名は地図説明文の既定値になります
  • bottom = -1.7
    地図最南端の緯度を十進角で表記します。
  • left = 29.2
    地図最西端の経度を十進角で表記します。
  • right = 35.3
    地図最東端の経度を十進角で表記します。

代替地図

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

精度

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

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

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

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

Location map, using default map (image)

Kampalaの位置(ウガンダ内)
Kampala
Kampala
Kampala (ウガンダ)
{{Location map | Uganda
| width   = 250
| lat_deg = 0.31
| lon_deg = 32.58
| label   = Kampala
}}

Location map many, using relief map (image1)

Location map/data/Uganda/docの位置(ウガンダ内)
Kampala
Kampala
Gulu
Gulu
Kisoro
Kisoro
Three locations in Uganda
{{Location map many | Uganda
| relief   = yes
| width    = 250
| caption  = Three locations in Uganda
| lat1_deg = 0.31
| lon1_deg = 32.58
| label1   = Kampala
| pos1     = bottom
| lat2_deg = 2.78
| lon2_deg = 32.3
| label2   = Gulu
| lat3_deg = -1.285
| lon3_deg = 29.685
| label3   = Kisoro
| pos3     = top
}}

Location map+, using AlternativeMap

Location map/data/Uganda/docの位置(ウガンダ内)
Kampala
Kampala
Gulu
Gulu
Kisoro
Kisoro
Three locations in Uganda
{{Location map+ | Uganda
| AlternativeMap = Uganda location map Topographic.png
| width   = 250
| caption = Three locations in Uganda
| places  =
  {{Location map~ | Uganda
  | lat_deg  = 0.31
  | lon_deg  = 32.58
  | label    = Kampala
  | position = bottom
  }}
  {{Location map~ | Uganda
  | lat_deg  = 2.78
  | lon_deg  = 32.3
  | label    = Gulu
  }}
  {{Location map~ | Uganda
  | lat_deg  = -1.285
  | lon_deg  = 29.685
  | label    = Kisoro
  | position = top
  }}
}}

関連項目

Location mapテンプレート