MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

prop=coordinates (co)

(main | query | coordinates)
  • This module requires read rights.
  • منبع: GeoData
  • License: WTFPL

Returns coordinates of the given pages.

Parameters:
colimit

How many coordinates to return.

بيش از ۵۰۰ (برای ربات‌ها ۵٬۰۰۰) مجاز نيست
Type: integer or max
پیش‌فرض: 10
cocontinue

When more results are available, use this to continue.

coprop

Which additional coordinate properties to return.

Values (separate with | or alternative): type، name، dim، country، region، globe
پیش‌فرض: globe
coprimary

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

One of the following values: primary، secondary، all
پیش‌فرض: primary
codistancefrompoint

Return distance in meters from the geographical coordinates of every valid result from the given coordinates.

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

codistancefrompage

Return distance in meters from the geographical coordinates of every valid result from the coordinates of this page.