Wikipedia:WikiProject Geographical coordinates/coordinates search tool
| Description | MySQL Regular expression query |
|---|---|
| Coordinates imported from the CSWiki | source:cswiki
|
| Settlements whose populations are under 1,000 | type:city\([0-9]{0,3}\)
|
| South of the Antarctic Circle (approximate) | =(66_[3-9]|66.[6-9]|6[7-9]|[7-9][0-9])[0-9_.]*_S_
|
| Coordinates equivalent to 0°N 0°E / 0°N 0°E | =[-_0.]+[NS][-_0.]+[EW]
|
| Coordinates in San Marino | region:SM
|
| Coordinates on Callisto | globe:[Cc]allisto
|
To switch to other wikis, the site parameter can be added to the URL, e.g.
&site=commonsfor Commons&site=ptfor Portuguese Wikipedia
| Problem description | Python regular expression |
|---|---|
| Excess precision (6 or more decimal places) | [.][0-9]{6}
|
| Excess precision (5 decimal places) | [.][0-9]{5}[^0-9]
|
| Coordinates lacking metadata (no type or region) | _[WE]_+($|&title=|\{+[0-9]\}+)
|
| Unexpected character in parameter name | params=[^&=]*?[^_a-z][a-z]*:
|
| Unsupported parameter elevation: | params=[^&=]+?elevation:
|
| Unsupported parameter other than elevation: | params=[^&=]+?([^emn]|cation|me|om):
|
| Malformed region code | params=[^&=]+?region:([^A-Z]|[A-Z]([^A-Z]|[A-Z][^_&-]|[A-Z]-[^0-9A-Z]))
|
| Unassigned top-level region code | region:(A[ABCHJKPVY]|B[CKPX]|C[BEJPQT]|D[^EJKMOZ]|E[ABDI-LUW]|F[A-HLNPQS-Z]|G[CJKOVXZ]|H[A-JLOPQSV-Z]|I[A-CF-KPU-Z]|J[^EMOP]|K[A-DFJ-LOQS-VX]|L[D-HJL-QWXZ]|M[BIJ]|N[BDHJKMNQSV-Y]|O[^M]|P[B-DIJOPQUVXZ]|Q[^A]|R[^EOSUW]|S[PQUW]|T[ABEIPQSUXY]|U[^AGMSYZ]|W[^FS]|X[^AINPSZ]|Y[^ET]|Z[^AMW])
|
| Unexpected character in dim or scale or typesize | (dim:[0-9.]*([^0-9.k_&]|k[^m]))|(scale:[0-9]*[^0-9_&])|(city[(][0-9,]*[^0-9,)])
|
| Incomplete parameter | params=[^&=]*?(dim|globe|region|scale|source|type):?(&|_|$)
|
| Invalid type | type:(?!(adm(1st|2nd|3rd)|airport|city|country|edu|event|forest|glacier|isle|landmark|mountain|pass|railwaystation|river|satellite|waterbody)($|[&_()]))
|
| City without type: | params=[^&=]*?[^:]city
|
| College with type: other than edu | [Cc]ollege[&].*?type:(?!edu)
|
| School with type: other than edu | [Ss]chool[&].*?type:(?!edu)
|
| University with type: other than edu | [Uu]niversity[&].*?type:(?!edu)
|
| United States broadcaster with type: other than landmark | [^(][KW][A-Z][A-Z][A-Z].*?params=.*?type:(?!landmark)
|
| Station with type: other than railwaystation | ailway_[Ss]tation.*?type:(?!railwaystation)
|
| Typesize provided for type other than city | type:(?!city)[^&=_]*[(]
|
| Unusual URL formatting | geohack.php[?](?!pagename=)|&language=
|
| Tallies | |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.