MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/API

list=geosearch (gs)

(main | query | geosearch)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールはジェネレーターとして使用できます。
  • Source: GeoData
  • License: WTFPL

Returns pages having coordinates that are located in a certain area.

パラメーター:
gscoord

Coordinate around which to search.

Format: Latitude and longitude separated by pipe ("|").

gspage

Title of page around which to search.

gsbbox

Bounding box to search in: pipe (|) separated coordinates of top left and bottom right corners.

gsradius

Search radius in meters.

値は 10 以上 10,000 以下にしてください。
Type: integer
既定値: 500
gsmaxdim

Restrict search to objects no larger than this, in meters.

Type: integer
gslimit

Maximum number of pages to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
既定値: 10
gsglobe

Globe to search on (by default "earth").

値 (次の値のいずれか1つ): earth
既定値: earth
gsnamespace

Namespaces to search.

値 (|もしくは別の文字列で区切る): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、828、829、2300、2301、2302、2303
To specify all values, use *.
既定値: 0
gsprop

Which additional coordinate properties to return.

値 (|もしくは別の文字列で区切る): typenamedimcountryregionglobe
既定値: globe
gsprimary

Whether to return only primary coordinates ("primary"), secondary ("secondary") or both ("all").

値 (次の値のいずれか1つ): primarysecondaryall
既定値: primary