MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=coordinates (co)
- This module requires read rights.
- Source: GeoData
- License: WTFPL
Returns coordinates of the given pages.
- colimit
How many coordinates to return.
- Τύπος: ακέραιος ή max
- The value must be between 1 and 500.
- Default: 10
- cocontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- coprop
Ποιες επιπλέον ιδιότητες παραμέτρων πρέπει να επαναφερθούν. (Ιδιότητες που πάντα επαναφέρονται: lat, lon, και είτε primary ή secondary ως σηματοδότηση.)
- type
- Τύπος αντικειμένου στο οποίο αντιστοιχούν οι συντεταγμένες. Δείτε το mw:Special:MyLanguage/Extension:GeoData#Usage για περισσότερες λεπτομέρειες.
- name
- Όνομα του αντικειμένου
- dim
- Μέγεθος κατά προσέγγιση του αντικειμένου σε μέτρα.
- country
- ISO 3166-1 alpha-2 code de pays (e.g. US or RU).
- region
- ISO 3166-2 code régional(la part du code ISO 3166-2 après le tiret ; par ex.. FL ou MOS).
- globe
- Σε ποιο στοιχείο σχετίζονται οι συντεταγμένες (π.χ. moon ή pluto). Προεπιλογές στη Γη. Δείτε το mw:Special:MyLanguage/Extension:GeoData#Glossaryγια περισσότερες λεπτομέρειες.
- Values (separate with | or alternative): country, dim, globe, name, region, type
- Default: globe
- coprimary
Ποιο είδος παραμέτρων πρέπει να επαναφερθεί.
- primary
- Τόπος θέματος του άρθρου.Υπάρχει ως επί το πλείστον μια κύρια ρύθμιση ανά τίτλο.
- secondary
- Η τοποθεσία κάποιου θέματος που αναφέρεται στο άρθρο. Οιεσδήποτε δευτερεύουσες ρυθμίσεις μπορεί να συνδέονται με ένα τίτλο.
- all
- Επαναφορά και των δύο πρωτευόντων και δευτερευόντων παραμέτρων
- One of the following values: all, primary, secondary
- Default: primary
- codistancefrompoint
Return distance in meters from the geographical coordinates of every valid result from the given coordinates.
Μορφή:Γεωγραφικό πλάτος και μήκος που που χωρίζονται με σειρά (kbd>|).
- codistancefrompage
Return distance in meters from the geographical coordinates of every valid result from the coordinates of this page.
- Get a list of coordinates of the Main Page
- api.php?action=query&prop=coordinates&titles=Main%20Page [open in sandbox]