Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:WikiProject Geographical coordinates

From Wikipedia, the free encyclopedia
Wikipedia subject-area collaboration
"WP:GEO" redirects here. For other uses, seeWP:GEO (disambiguation).
This is aWikiProject, an open group of Wikipedia editors. New participants are welcome; feel free totalk to us!

WikiProject Geographical coordinates aims to better organize location information in articles containinga set of numbers that identifies location on and relative to the Earth. In particular, we aim to establish a standard for uniform handling oflatitude andlongitude coordinates as given in various Wikipedia articles, somewhat analogous to howISBN numbers are handled.

Quick Geographical coordinates how to

NOTE: This is a concept currently under development, so this is subject to change.

Quick how-to

To add57°18′22″N4°27′32″W / 57.30611°N 4.45889°W /57.30611; -4.45889 to the top of an article, use{{Coord}}, thus:

{{Coord|57|18|22|N|4|27|32|W|display=title}}

Thesecoordinates are indegrees,minutes, and seconds of arc.

"title" means that the coordinates will be displayed next to the article's title at the top of the page (in desktop view only; title coordinates do not display in mobile view) and before any other text or images. It also records the coordinates as the primary location of the page's subject in Wikipedia's geosearch API.

To add44°06′45″N87°54′47″W / 44.1124°N 87.9130°W /44.1124; -87.9130 to the top of an article, use either

{{Coord|44.1124|N|87.9130|W|display=title}}

(which does not require minutes or seconds but does require the user to specify north/ south and east/west)or

{{Coord|44.1124|-87.9130|display=title}}

(in which the north and east are presumed by positive values while the south and west are negative ones).These coordinates are indecimal degrees.

  • Degrees, minutes and seconds, when used, must each be separated by apipe ("|").
  • Map datum must beWGS84 if possible (except for off-Earth bodies).
  • Avoidexcessive precision (0.0001° is <11 m, 1″ is <31 m).
  • Maintainconsistency of decimal places or minutes/seconds between latitude and longitude.
  • Latitude (N/S) must appear before longitude (E/W).

Optional coordinate parameters follow the longitude and are separated byan underscore ("_"):

Other optional parameters are separated bya pipe ("|"):

  • display
    • |display=inline (the default) to display in the body of the article only,
    • |display=title to display at the top of the article only (in desktop view only; title coordinates do not display in mobile view), or
    • |display=inline,title to display in both places.
  • name:name=X to label the place on maps (default isPAGENAME)

Thus:{{Coord|44.1172|-87.9135|dim:30_region:US-WI_type:event|display=inline,title|name=accident site}}

Use|display=title (or|display=inline,title) once per article, for the subject of the article, where appropriate.

WorldWind displaying WP coordinates(see applications below)

Related WikiProjects

[edit]

WikiProject Council includes this WikiProject in itsGeographical directory. This WikiProject is an offshoot of WikiProject Maps:

WikiProject Geography
WikiProject Maps
WikiProject Geographical coordinates

...and is the parent project of:

Wikipedia-World

Other WikiProjects that make use of geographical coordinates include:

Associated Portals

[edit]

The AtlasPortal is associated with WikiProject Geography.

The Geography Portal is associated with WikiProject Geography.

Participants

[edit]

This list has been moved toits own page.

Goals

[edit]
  1. Should provide a uniform markup for all geographic coordinates
  2. Should provide a user-preferred appearance for all geographic coordinates
  3. Markup should be easy and natural to use
  4. ☑.svg Should be able to have a uniform, extensible way of accessing all types of map resources, avoiding having direct external links to maps in articles
  5. ☑.svg Clicking on a reference navigates directly to a page with external pointers to various resources, with coordinates automatically embedded where possible. The resources can be maps of various kinds, topological charts, satellite photos and others.
  6. ☑.svg Create a database of points, enabling generation of navigatable maps with a clickable icon appearing for every location for which there is a Wikipedia article. This has been implemented forNASA World Wind,Google Earth (seebelow) and Google maps (seebelow).
  7. ☑.svg Serve as a tool for finding Wikipedia articles describingnearby locations. See alsometa:Wikipediatlas.
  8. Adhere to existingInternet standards for geographic coordinates as far as possible[clarification needed] such as using WGS84 for terrestrial coordinates

Usage guidelines

[edit]
See alsoMOS:COORDS

In general, coordinates should be added to any article about a location, structure, or geographic feature that is more or less fixed in one place. Such items can vary in size from a single tree (or smaller) to entire oceans or continents. Coordinates should also be added to articles about events that are associated with a single location, for example, theUfa train disaster. Guidelines for less obvious situations are given below.

Coordinates are appropriate for the top articles or within infoboxes of the following types of articles:

  • Businesses/organizations with a single location (even if they are defunct)
  • Demolished buildings/structures
  • Buildings/structures that have been proposed, but not yet built (if there is a reliable source for the location)
  • Permanently docked ships (and shipwrecks)

Do not add coordinates to the following types of articles:

  • Biographies of living people
  • Works of art (other than permanent outdoor statues, installations or murals)
  • Sports teams (add to the stadium article instead)
  • Businesses with multiple locations (although listing coords for individual locations in a table may be appropriate)
  • Ships that are not permanently docked or sunk

Other types of articles may be decided on a case-by-case basis.

Which coordinates to use

[edit]

National mapping agencies such as theGeographic Names Information System (GNIS),Ordnance Survey (OS), andGeographical Names Board of Canada (GNBC) are usuallyreliable sources for coordinates. TheGEOnet Names Server (GNS) database is not reliable. Always double check the coordinates on an internet mapping service. For other locations, the following points should be considered:

  • For villages, towns, communities, etc., use the current centre. Where this is difficult, choose the earliest known settlement of that name. Be aware that the GNIS coordinates may be an arbitrarily chosen civic feature, as that was the usual rule.
  • For military and industrial establishments (e.g., castles, barracks, dockyards, car plants) use the main gate.
  • For administrative districts, use the head office.
  • For geographical features with an area, such as lakes, reservoirs, and islands, use a point reasonably in the center of the feature. (Remember not to specify too much precision; seePrecision guidelines below.)
  • For linear features, seeWikipedia:WikiProject Geographical coordinates/Linear. Be aware that the GNIS primary coordinates will usually be of the feature "mouth" and thus may differ.

Markup

[edit]

The practical usage of coordinate markup in Wikipedia is described inthe style guide for geographical coordinates. For use on maps and other services,parameters may also be required.

A complete entry could for example be:{{coord|51|28|40|N|0|0|6|W|type:landmark_scale:2000_region:GB|display=title}}

See also:Obtaining coordinates

Templates

[edit]
Wikitextuserboxwhere used
{{Template:User interest geographic coordinate systems}}
This user is interested in
geographic coordinate systems.
linked pages
{{Template:User WikiProject Geographical coordinates}}linked pages
{{Template:User WP Geographical coordinates}}linked pages
{{Template:User coord|51.477811|-0.001476|page=no}}linked pages

Marking project-related pages on Talk page

[edit]

The template{{WikiProject Geographical coordinates}} may be added to relevant Talk pages. This adds the page to several categories and displays as:

WikiProject iconGeographical coordinates
WikiProject iconWikiProject Geographical coordinates is of interest toWikiProject Geographical coordinates, which encourages the use ofgeographical coordinates in Wikipedia. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks.Geographical coordinatesWikipedia:WikiProject Geographical coordinatesTemplate:WikiProject Geographical coordinatesGeographical coordinates

Implementation details

[edit]

Coordinate templates

[edit]

There are two ways of specifying coordinates:

  1. {{coord}} – Accepts multiple data formats and supports a style sheet preference for display format, plus aGeo microformat.Coord may be placed anywhere in the article source text, inline, with prose text. For example "Mount Everest is at {{coord|27|59|16|N|86|56|40|E}}", which displays as "Mount Everest is at27°59′16″N86°56′40″E / 27.98778°N 86.94444°E /27.98778; 86.94444". To display coordinates at the page's top, near the article's title, in a skin-dependent way, usedisplay=title (see example atKrasnoyarsk hydroelectric dam). To display both inline and top, usedisplay=inline,title.
  2. Infoboxes – Manyinfobox templates for places have a parameter, typically|coordinates=, for specifying a place's coordinates. The template internally uses{{coord}} and may therefore also display in the title area. SeeTemplate:Infobox Settlement andTemplate:Infobox Mountain for documentation, or, usage examples atLos Angeles andMount Everest.

(Before September 2008, there was a widely-used family of templates of the formcoor .... These are deprecated and have been replaced by{{coord}}. For an overview of choices:WikiProject Geographical coordinates/comparison.)

Parameters

[edit]

Following the geographical coordinate, further parameters can optionally be supplied, separated by underscores. This helps display suitable map resources (seeTemplate:GeoTemplate), and will helpWikimaps become fully functional.

For example:

{{coord|61.1631|-149.9721|type:landmark_globe:earth_region:US-AK_scale:150000_source:gnis|name=Kulis Air National Guard Base}} displays61°09′47″N149°58′20″W / 61.1631°N 149.9721°W /61.1631; -149.9721 (Kulis Air National Guard Base)

It has

  • type:landmark
  • globe:earth
  • region:US-AK
  • scale:150000
  • source:gnis
type:T
[edit]
Shortcut

Thetype: parameter specifies the type of location for reverse mapping (for instance, to select a marker icon in theWikiMiniAtlas).

It also sets themap scale, which can however be overridden bydim: orscale:.

Valid types are:

TDescriptionMap scale
adm1stAdministrative unit of country, 1st level (province, state), seetable, e.g.U.S. states1:1,000,000
adm2ndAdministrative unit of country, 2nd level, seetable, e.g.county (United States)1:300,000
adm3rdAdministrative unit of country, 3rd level, seetable1:100,000
airportairports and airbases1:30,000
city(pop)cities, towns, villages, hamlets, suburbs, subdivisions, neighborhoods, and other human settlements (including unincorporated and/or abandoned ones) with known population
Please replacepop with a number. Commas inpop will be ignored. There should be no blanks.
1:30,000 ... 1:300,000
citycities, towns, villages, hamlets, suburbs, subdivisions, neighborhoods, and other human settlements (including unincorporated and/or abandoned ones) with unspecified population
These are treated as minor cities.
1:100,000
country(e.g. "type:country")1:10,000,000
eduschools, colleges, and universities1:10,000
eventone-time or regular events and incidents that occurred at a specific location, including battles, earthquakes, festivals, and shipwrecks1:50,000
forestforests and woodlands1:50,000
glacierglaciers and icecaps1:50,000
isleislands and isles1:100,000
landmarkbuildings (including churches, factories, museums, theatres, and power plants but excluding schools and railway stations), caves, cemeteries, cultural landmarks, geologic faults, headlands, intersections, mines, ranches, roads, structures (including antennas, bridges, castles, dams, lighthouses, monuments, and stadiums), tourist attractions, valleys, and other points of interest1:10,000
mountainpeaks, mountain ranges, hills, submerged reefs, and seamounts1:100,000
passmountain passes1:10,000
railwaystationstations, stops, and maintenance areas of railways and trains, including railroad, metro, rapid transit, underground, subway, elevated railway, etc.1:10,000
riverrivers, canals, creeks, brooks, and streams, including intermittent ones1:100,000
satellitegeo-stationary satellites1:10,000,000
waterbodybays, fjords, lakes, reservoirs, ponds, lochs, loughs, meres, lagoons, estuaries, inland seas, and waterfalls1:100,000
cameraTo indicate the location of where a specific image was taken. This type is used by coordinate templates on File pages.1:10,000
Default scale: if no type is used or the type is not defined in the GeoHack extension1:300,000
Samples
TMarkupResult
waterbody{{coord|46|43|N|7|58|E|type:waterbody}}46°43′N7°58′E / 46.717°N 7.967°E /46.717; 7.967
dim:D
[edit]

Thedim: parameter defines thediameter of a viewing circle centered on the coordinates. While the default unit of measurement is metres, thekm suffix may be appended to indicate kilometres. Thedim: parameter overrides the scale implied by anytype: parameter.

Syntax — dim:<width><units>

width — integer number of metres (m) or kilometres (km)
units —m orkm, if not specified, defaults tom

GeoHack usesdim: to select amap scale such that the viewing circle appears roughly 10 centimetres (4 in) in diameter on a 72dpi computer monitor. If nodim:,type:, orscale: parameters are provided, GeoHack uses its default viewing circle of 30 kilometres (19 mi).

Samples
SubjectDimMarkupResult
Buckingham Palace120m{{coord|51.501|-0.142|dim:120m}}51°30′04″N0°08′31″W / 51.501°N 0.142°W /51.501; -0.142
London10km{{coord|51.507222|-0.1275|dim:10km}}51°30′26″N0°07′39″W / 51.507222°N 0.1275°W /51.507222; -0.1275
Western Hemisphere10,000 kilometres (6,200 mi){{coord|0|N|90|W|dim:10000km}}0°N90°W / 0°N 90°W /0; -90
Ohio400 kilometres (250 mi){{coord|40.5|-82.5|dim:400km}}40°30′N82°30′W / 40.5°N 82.5°W /40.5; -82.5
Dresden20,000 metres (12 mi){{coord|51.03|13.73|dim:20000}}51°02′N13°44′E / 51.03°N 13.73°E /51.03; 13.73
Statue of Liberty100 metres (330 ft){{coord|40.6892|-74.0445|dim:100}}40°41′21″N74°02′40″W / 40.6892°N 74.0445°W /40.6892; -74.0445
scale:N
[edit]
Shortcut

Thescale: parameter specifies the desiredmap scale as 1:N, overriding the scale implied by anytype: parameter.

GeoHack usesscale: to select a map scale for a 72dpi computer monitor. If nodim:,type:, orscale: parameters are provided, GeoHack uses its default scale of 1:300,000.

Samples
SubjectScaleMarkupResult
Big Ben1:500{{coord|51.500611|N|0.124611|W|scale:500}}51°30′02″N0°07′29″W / 51.500611°N 0.124611°W /51.500611; -0.124611
Palace of Westminster1:5,000{{coord|51.5006|N|0.1246|W|scale:5000}}51°30′02″N0°07′29″W / 51.5006°N 0.1246°W /51.5006; -0.1246
City of Westminster1:50,000{{coord|51.501|N|0.125|W|scale:50000}}51°30′04″N0°07′30″W / 51.501°N 0.125°W /51.501; -0.125
Greater London1:500,000{{coord|51.50|N|0.12|W|scale:500000}}51°30′N0°07′W / 51.50°N 0.12°W /51.50; -0.12
region:R
[edit]
Shortcut

Theregion: parameter specifies the political region for terrestrial coordinates. It is used to select appropriate map resources. If noregion: parameter is provided,GeoHack attempts to determine the region from the coordinates.

The region should be supplied as either a two characterISO 3166-1 alpha-2 country code or anISO 3166-2 region code.

Examples ofISO 3166-1 alpha-2 codes:

  • AQ Antarctica
  • AU Australia
  • BR Brazil
  • DE Germany
  • GB United Kingdom
  • HK Hong Kong
  • IN India
  • LK Sri Lanka
  • RU Russia
  • US United States

Examples ofISO 3166-2 region codes:

  • DE-TH Thuringia, Germany
  • GB-BIR Birmingham, England
  • NO-03 Oslo, Norway
  • US-NY New York state, US

The oceans have the following Wiki assigned code elements perde:Vorlage:Coordinate#Ozeane.

  • XN Arctic Ocean
  • XA Atlantic Ocean
  • XI Indian Ocean
  • XP Pacific Ocean
  • XS Southern Ocean

In addition, two Wiki assigned code elements can be used with{{coord}}:

  • XZ for objects in or above international waters (similar toUN/LOCODE).
  • ZZ for use in examples.
Samples
Focus regionRegionMarkupResult
SwitzerlandCH{{coord|46.9524|N|7.4396|E|region:CH}}46°57′09″N7°26′23″E / 46.9524°N 7.4396°E /46.9524; 7.4396
Berlin, GermanyDE-BE{{coord|52.5164|N|13.3775|E|region:DE-BE}}52°30′59″N13°22′39″E / 52.5164°N 13.3775°E /52.5164; 13.3775
globe:G
[edit]

Theglobe: parameter specifies theplanet,dwarf planet,asteroid, ornatural satellite upon which the coordinates reside. Apart fromearth (the default), recognized values are:mercury,venus,moon,mars,phobos,deimos,ceres,vesta,jupiter,ganymede,callisto,io,europa,mimas,enceladus,tethys,dione,rhea,titan,hyperion,iapetus,phoebe,miranda,ariel,umbriel,titania,oberon,triton,pluto, andcharon.

Samples
SubjectGMarkupResult
Kittu Craterganymede{{coord|0.4|N|334.6|W|globe:ganymede}}0°24′N334°36′W / 0.4°N 334.6°W /0.4; -334.6
Viking 2 landermars{{coord|48.269|N|225.990|W|globe:mars}}48°16′08″N225°59′24″W / 48.269°N 225.990°W /48.269; -225.990
Mozart Cratermercury{{coord|7.8|N|190.5|W|globe:mercury}}7°48′N190°30′W / 7.8°N 190.5°W /7.8; -190.5
Apollo 11 landermoon{{coord|0|40|26.69|N|23|28|22.69|E|globe:moon}}0°40′26.69″N23°28′22.69″E / 0.6740806°N 23.4729694°E /0.6740806; 23.4729694
Ksa Cratertitan{{coord|14.0|N|65.4|W|globe:titan}}14°00′N65°24′W / 14.0°N 65.4°W /14.0; -65.4
Venera 13 landervenus{{coord|7.5|S|303|E|globe:venus}}7°30′S303°00′E / 7.5°S 303°E /-7.5; 303
Stickney Craterphobos{{coord|1|N|49|W|globe:phobos}}1°N49°W / 1°N 49°W /1; -49

Very rough mapping is provided on geohack for almost all supported globes. The pop-out WikiMiniAtlas system provides limited mapping for Moon, Mars, Mercury, Venus, Io, and Titan, as of February 2021[update].

The maps roughly imply a coordinate reference system, but do not clearly specify one (unlike Earth's WGS84). Since the template defaults to east longitude, the|W| direction must be specified for globes that measure longitude westward. For celestial coordinates, use{{Sky}} instead.

source:S
[edit]
Shortcut

Specifies, where present, the data source and data source format/datum, and optionally, the original data, presented in parentheses. This is initially primarily intended for use by geotagging robots, so that data is not blindly repeatedly copied from format to format and Wikipedia to Wikipedia, with progressive loss of precision and attributability.

Examples:

  • A lat/long geotag derived from anOrdnance SurveyNational Grid Reference NM 435 355 found in the English-language Wikipedia would be tagged as "source:enwiki-osgb36(NM435355)"
  • A latitude-longitude location sourced from data taken from the German-language Wikipedia would be tagged as "source:dewiki" – and so on, for other language codes;
  • A location sourced from the public domainGeoNet Names Server database would be tagged as "source:GNS". No datum or format information is needed, since by default all Wikipedia coordinates are in latitude/longitude format based on theWGS84 datum. Similarly, US locations sourced from the similar public domainGNIS database would be tagged as "source:GNIS".

Name

[edit]

{{coord}} takes|name=name

If an article contains severaldisplay=inline coordinates, each of these may be supplied with a uniquename. This name will be used to display the coordinate on theWikiMiniAtlas, and will cause the template to emit anhCardmicroformat using that name,even if used within an existing hCard. Do not use when the name is that of a person (e.g for a gravesite), as the generated hCard would be invalid. Also, do not use square brackets in names.

Display preferences

[edit]

To always display coordinates as DMS values, add this toyour common.css:

.geo-default{display:inline}.geo-nondefault{display:inline}.geo-dec{display:none}.geo-dms{display:inline}

To always display coordinates as decimal values, add this toyour common.css:

.geo-default{display:inline}.geo-nondefault{display:inline}.geo-dec{display:inline}.geo-dms{display:none}

To display coordinates in both formats, add this toyour common.css:

.geo-default{display:inline}.geo-nondefault{display:inline}.geo-dec{display:inline}.geo-dms{display:inline}.geo-multi-punct{display:inline}

If CSS is disabled, or you have an old copy ofMediaWiki:Common.css cached, you will see both formats. (You can either clear your cache or manually refresh this URL:[1].)

To disable display of the blue globe adjacent to coordinates, add this toyour common.js:

varwma_settings={enabled:false}

Note that this will disableWikiMiniAtlas.

See also:Wikipedia:Manual of Style/Dates and numbers § Geographical coordinates.

Format

[edit]
  • format=dec will reformat the coordinates todecimal degrees for all readers.
  • format=dms will reformat the coordinates todegrees | minutes | seconds (dms) format for all readers.

Creating new templates

[edit]

When creating new templates or infoboxes, use{{coord}}. Unless a template uses the coordinate data in another way, the{{coord}} template should be the field value. For example,{{infobox lake}} acceptscoords = {{coord|45|N|6|E|type:waterbody}}.

If coordinate data are used directly by a template, use the following parameter names for coordinates:

  • lat_d
  • lat_m
  • lat_s
  • lat_NS
  • long_d
  • long_m
  • long_s
  • long_EW

A provision for accepting decimal coordinates is recommended. For example, allowlat_d = 45.678 | long_d = -123.456 and omission of the remaining parameters.

Where theUnited Kingdom'sOrdnance Survey grid references are used as the coordinates, use{{oscoor}}.

For articles which have no coordinates, but need them, use{{coord missing}}.

Linear features

[edit]

Fordraft guidance on, and examples of, coordinates for linear features (rivers, roads, bridges, tunnels, etc.), seeWikipedia:WikiProject Geographical coordinates/Linear.

How to obtain geographical coordinates

[edit]

SeeObtaining geographic coordinates

See also:Category:Articles needing coordinates,Maybe-Checker

Geodetic system

[edit]

All coordinates specified through{{coord}} must be referenced toWGS84, or an equivalent datum. WGS84 is required for some of the conversions done by the geohack extension.

British national grid references of the Ordnance Survey use its ownOSGB36 datum, which iscorrect for use in national grid references; the correct transformations will automatically be applied when national grid coordinates are used in{{oscoor}} tags. However, OSGB36 latitude/longitude coordinates should not be used anywhere in Wikipedia; please use WGS84 lat/long instead.

Precision guidelines

[edit]
Shortcut

Regardless of how coordinates are obtained, consider the precision specified in a Wikipedia article. Reliable secondary sources exist for some locations.Without a reliable source, the larger the object being mapped, the less precise the coordinates need to be. Cities must be specified with a precision of degrees, minutes and seconds to respect historical norms. When the#Which coordinates to use guideline is used, degrees, minutes and seconds or d.dddd are the default. To specify a particular point in the city, such as a building, generally requires precision down to degrees-minutes-seconds or d.dddd° if decimal degrees are used. In the case of objects such as fountains or statues, it may be necessary to use d°m's.s" or d.ddddd°. Higher precisions should be avoided, as they greatly exceed the accuracy of civilian GPS and online mapping services. (Using 4 m accuracy as an estimate for civilian GPS: Depending on the coordinates format and the latitude, the next-higher precisions exceed the accuracy by a factor of somewhere between 13 and 72.)

A general rule is to give precisions approximately one-tenth the size of the object, unless there is a clear reason for additional precision. Overly precise coordinates can be misleading by implying that the object is smaller than it truly is.

There is no set way to determine object size, and the boundaries of many geographical objects are not clearly defined or not readily available. The difference rarely affects the suggested coordinates precision, so a rough size estimate is usually adequate. However, it should be noted that object size is always linear (one-dimensional), not an area measurement.

In the two most-used coordinate representations, degrees-minutes-seconds and decimal degrees, precision is, as a useful approximation,

Degrees-minutes-seconds format
PrecisionDiff. at equatorDiff. at 30°Diff. at 45°Diff. at 60°
111 km96.4 km78.7 km55.7 km
1′1.85 km1.61 km1.31 km0.93 km
0.1′185 m161 m131 m93 m
0.01′18.5 m16.1 m13.1 m9.3 m
1′′31 m27 m22 m15 m
0.1′′3.1 m2.7 m2.2 m1.5 m
Decimal degrees format
PrecisionDiff. at equatorDiff. at 30°Diff. at 45°Diff. at 60°
111 km96.4 km78.7 km55.7 km
0.1°11 km9.64 km7.87 km5.57 km
0.01°1.1 km964 m787 m557 m
0.001°110 m96.4 m78.7 m55.7 m
0.0001°11 m9.64 m7.87 m5.57 m
0.00001°1.1 m96.4 cm78.7 cm55.7 cm

Conversions: 1 kilometre (0.621 mi), 1 metre (3.28 ft), 1 centimetre (0.394 in);1 mile (1.61 km), 1 foot (0.305 m), 1 inch (2.54 cm)

The values in the table give distances in the east-west direction corresponding to a small change in longitude, at different latitudes. You can take the equator columns of the table as a rough guide to distances in the north-south direction that correspond to a small change in latitude, since they vary only a little bit at different latitudes. For simplicity, however, the latitude precision is commonly copied from that of the longitude.

Precision tables

[edit]
Shortcut

The following tables show suggested coordinates precisions for various object sizes and latitudes. Refer to the preceding section for more information about coordinates precision. To use these tables:

  • Choose one of the tables depending on whether you wantdegrees-minutes-seconds format ordecimal degrees format
  • Find the column that is closest to the latitude of your object
  • Find the row that is closest to the size of your object
  • Note the coordinates precision at the intersection of your row and column

The colors on the table serve only to distinguish consecutive precision levels.

Usage example

Example: You want coordinates, in decimal degrees format, for Yosemite National Park, California, U.S.

  • The size of the object is roughly 70 km
  • GNIS query gives the Park's location, in decimal degrees, as: 37.8483188 (north latitude), −119.5571434 (west longitude)

To solve:

  • Choose theDecimal degrees format table
  • Find the45° column; 37.8483188 is (slightly) closer to 45° than to 30°
  • Find the50 km row; 70 km is closer to 50 km than to 100 km
  • Note the precision at the intersection of row and column: d.d°
  • Round to the selected precision: 37.8, −119.6

(This is a good example of aborderline case, as the latitude is quite close to 37.5°, the midpoint between 30° and 45°. If the Park were a mere 25 miles to the south, you would use the30° column instead, yielding a different precision: d.dd°. You could opt for that precision instead, giving 37.85, −119.56. That's your call. But the table shows thatmore than two decimal positions would definitely be too precise for this case.)

Degrees-minutes-seconds format
30°45°60°
10 md° m' s.s" or d.ddddd°[note 3]d° m' s.s"
50 md° m' s.s"d° m' s.s"d° m' s.s"d° m' s.s"
100 md° m' s.s"d° m' s.s"d° m' s.s"d° m' s"
500 md° m' s"d° m' s"d° m' s"d° m' s"
1000 m
1 km
d° m' s"d° m' s"d° m' s"d° m' s"
5 kmd° m' s"d° m' s"d° m' s"d° m'
10 kmd° m'd° m'd° m'd° m'
50 kmd° m'd° m'd° m'd° m'
100 kmd° m'd° m'd° m'd° m'
500 kmd° m'
1000 km
Decimal degrees format
30°45°60°
10 md.ddddd°d.ddddd°d.ddddd°d.ddddd°
50 md.ddddd°d.ddddd°d.dddd°d.dddd°
100 md.dddd°d.dddd°d.dddd°d.dddd°
500 md.dddd°d.dddd°d.ddd°d.ddd°
1000 m
1 km
d.ddd°d.ddd°d.ddd°d.ddd°
5 kmd.ddd°d.ddd°d.dd°d.dd°
10 kmd.dd°d.dd°d.dd°d.dd°
50 kmd.dd°d.dd°d.d°d.d°
100 kmd.d°d.d°d.d°d.d°
500 kmd.d°d.d°
1000 km
  1. The tables are derived from the precision data at§ Precision guidelines, above. As suggested there, they use a target resolution of one-tenth of the object size.
  2. The tables are not perfect. Some cases will yield a precision that is different from what you would get by doing the math (including trigonometry) for that specific case. This is because it is impossible to represent all cases correctly in a usable tabular format. The tables provide the correct precision for a majority of cases. Any error should be limited to one level of precision (e.g.,d° m' vs.d° m' s", ord.ddd° vs.d.dddd°), which is acceptable for the purposes of Wikipedia coordinates.
  3. d.ddddd° is roughly three times more precise thand° m' s.s".

Mathematical formulas

[edit]

You can also calculate the kilometers per degree of longitude,k, using one of the following formulas (θ is the latitude, 6378.14 km is theequatorial radius, and 6356.8 km is the polar radius):

Accurate, assuming aspheroid:

Approximate:

Coordinates from other language versions (iwcoor)

[edit]
Import of coordinates from other wikis
  • conversions are done based on external links to mapsources in other languages
  • theiwlog determines primary coordinates for articles in other languages
  • in general, primary coordinates are imported to this wiki
  • coordinates are used to replace{{coord missing}} with{{coord}} with the parameter display=title
  • dms or decimal format is kept, format=dms can be added to decimal coordinates
  • negative coordinates followed by N or E are converted to positive coordinates followed by S or W
  • coordinates are not imported if:
    • degrees are out of range (90°/180°)
    • minutes or seconds >= 60
    • region doesn't start with [a-zA-Z] [a-zA-Z]
    • type is not inlist. A few are corrected (e.g. village=>city, lake=>waterbody, dam=>landmark, island=>isle). coordinates with type:state are not converted. Numbers other than population are stripped.
    • globe is present
  • scale is kept, zoom from nl: converted to scale. scale can be dropped if it's equivalent to the one determined by type
  • source is set to "xxwiki" (xx being the wiki the coordinates are imported from). An additional string can be added to differentiate one bot from others (e.g. "-x"). If source: is used in the other language, the previous element is added after a slash, e.g. source:gnis imported from xx: wiki => source:xxwiki-gnis
  • region is set to uppercase, type and scale to lowercase
  • other elements are discarded
Last updated: 16:02, 6 April 2009 (UTC)

To do list

[edit]

iconTo-do list forWikipedia:WikiProject Geographical coordinates:edit·history·watch·refresh· Updated 2022-04-18


Find coordinates for

[edit]

UseMaybe-Checker: verify and/or add coordinates to articles in categories likely to need coordinates.

Articles are also listed on WolterBot'scleanup listings (User:WolterBot/Cleanup statistics)

See also:Wikipedia:Obtaining geographic coordinates

Tag articles needing coordinates

[edit]

{{coord missing|country name}} is added to articles needing coordinates. This makes them available for the previous step.

Fix

[edit]

As of October 25, 2025 01:32 (UTC)Refresh
User reported errors:

0 pages
no pages or subcategories
0 pages
0 pages

Formatting errors:

0 pages
no pages or subcategories
0 pages

More

[edit]
  • Provide advice on the use of{{Attached KML}} on theWP:GEO page. KML meansKeyhole Markup Language, using XML
  • Make better examples, also showing use of decimals and scale.
  • Add an attribute forother planets and the moon and probably also star maps.
  • Extend NASA World Wind support to include layers (by type) and labels.
  • Rewrite the articleGeographic coordinate system linked from many coordinates. Related articles:latitude,longitude.
  • Convert existing data to templates
    • Identify special formats not yet converted, e.g. E12 23 54 N23 34 52
  • Clean up / reduce redundancy in U.S. city articles (rambot/smackbot generated), seepast discussion
  • Suggestions for extensions atmw:Summer of Code 2009#MediaWiki core and new extensions
  • Discuss, summarise and specify a set of changes to geohack, such as type list revision, support for linear features, bug fixes, &c

Tools and applications based on coordinates from Wikipedia

[edit]

Articles (and coordinates) can be found through the pages using the templates inCategory:Coordinates templates

All coordinates are available for download inWikipedia database dumps. To get the coordinates from theXML format dump of all articles (enwiki-latest-pages-articles.xml.bz2, 4 GB), the dump needs to beparsed for pages containing coordinates in theentry formats listed above. Most articles in Wikipedia conform to these formats and coordinates are easy to parse from thewikitext withregular expressions for simple character sequences. As all coordinates link tothe same PHP tool, they may also be found from theSQL formattable of external links (enwiki-latest-externallinks.sql.gz, 725MB). This second method will however not include all available information about the coordinates, such as their position between the article body and the title area.

There may exist some groups of articles that generate the coordinate data dynamically and are not in any of the standard entry formats, as some editors may have wished to facilitate entry of common coordinate related information, while only keeping the output similar with the existing templates. To get all such coordinates, all the articles in the database dump need to be run through a wikitext parser (such as thePHP one inMediaWiki) to expand all the templates, and the result parsed for coordinates. Alternatively, it is also possible to download the HTML generated from all the article and expanded template content (wikipedia-en-html.tar.7z, 14 GB).

Note that mass downloading individual pages from the live Wikipedia site is strongly discouraged andmay lead to discontinued access.

NASA World Wind Samples

[edit]

All examples useNASA World Wind, with the Wikipedia overlay. This is purely meant as an example of using a coordinated concept for geographical coordinates.

Links to Wikipedia articles are represented by yellow rings, such as in this view of theWashington DC National Mall, usingUSGS aerial photos
This view ofSan Francisco is done usingLandsat 7 satellite images. Again, note the rings that indicate Wikipedia articles
Combine radar topographic (Shuttle Radar Topography Mission) data with Landsat-7 images for full 3D visualization, as in this image ofMount Baker. Upper ring is for theSpace Needle. Note also thatvertical exaggeration is enabled.

View Wikipedia in Google Earth

[edit]

ProjectWikipedia-World scan 11 Dumps (ca,cs,de,en,eo,es,fi,fr,nl,pt,ru) and provides:

  • dynamic Google-Earth layers in 21 languages. For instance:english Layer,español Layer
  • static Google-Earth layers in 10 language with different folders (Castles, Parks,...), Download atwebkuehn.de
  • SQL-Data of all scanned coordinates

Copernix.io - View and search Wikipedia Articles on a map

[edit]

Copernix.io is a geographical search engine allowing users to search places and information from Wikipedia on a map. Users can leave the search bar empty to see all pages within an area or type a query to get subject specific information.

Some useful examples can be found at:

The main search page is at:

Visualization of Wikipedia articles with Google Maps

[edit]
  • www.geonames.org over 800,000 Wikipedia articles in 230 languages on Google maps. The placemarks include short descriptions of the displayed items, extracted from the Wikipedia articles. Webservices for full text search and reverse geocoding of Wikipedia articles.

WikiMiniAtlas JavaScript plugin

[edit]
WikiMiniAtlas displaying the KML data attached to theBridgwater and Taunton Canal article (blue line) and the Coordinate points from the article (blue dots).

WikiMiniAtlas is a JavaScript to add to yourmonobook.js. It adds a draggable and zoomable (just like GoogleMaps) map to all geo-coded articles. Clickable labels with links to other geocoded articles are placed on the map to allow spatial browsing of Wikipedia. Map layers includesatellite images (using Landsat7 data) with zoomlevels down to a resolution <100m, anddaily updated MODIS satellite data.

WikiMiniAtlas is currently enabled on Wikipedia (by clicking on the globe () beside the coordinates).

All geodata in SQL file format

[edit]

Export multiple coordinates

[edit]

Kmlexport tool: Pages marked with multiple coordinates or categories of articles with coordinates can be exported asKML (for use in Google Earth, for example). This tool and some alternatives can be found on clicking the coordinates or by applying the{{GeoGroup}} template on a page.

The Kmlexport can be used directly or through Google Maps; see for exampleColmar Pocket orCategory:Capitals in Europe. Export from articles is real-time, export from categories is based on stored extractions (may be several weeks old).

KML may be converted in other formats, suitable asPoints of Interest (POI) forGPS systems.

Other sources:

Coordinates search tool

[edit]

tools:~dispenser/cgi-bin/geosearch.py allows for regular expression searching on the GeoHack links in the external links table. This has the advantages of near real time information and powerful pattern matching. The following are some example queries created as a demonstration of the flexibility of the system.

edit
Sample searches
DescriptionMySQL Regular expression query
Coordinates imported from the CSWikisource:cswiki
Settlements whose populations are under 1,000type:city\([0-9]{0,3}\)
South of theAntarctic Circle (approximate)=(66_[3-9]|66.[6-9]|6[7-9]|[7-9][0-9])[0-9_.]*_S_
Coordinates equivalent to0°N0°E / 0°N 0°E /0; 0=[-_0.]+[NS][-_0.]+[EW]
Coordinates inSan Marinoregion:SM
Coordinates onCallistoglobe:[Cc]allisto

To switch to other wikis, the site parameter can be added to the URL, e.g.

  • &site=commons for Commons
  • &site=pt for Portuguese Wikipedia
Searches to find problems
Problem descriptionPython 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 nameparams=[^&=]*?[^_a-z][a-z]*:
Unsupported parameter elevation:params=[^&=]+?elevation:
Unsupported parameter other than elevation:params=[^&=]+?([^emn]|cation|me|om):
Malformed region codeparams=[^&=]+?region:([^A-Z]|[A-Z]([^A-Z]|[A-Z][^_&-]|[A-Z]-[^0-9A-Z]))
Unassigned top-level region coderegion:(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 parameterparams=[^&=]*?(dim|globe|region|scale|source|type):?(&|_|$)
Invalid typetype:(?!(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 railwaystationailway_[Ss]tation.*?type:(?!railwaystation)
Typesize provided for type other than citytype:(?!city)[^&=_]*[(]
Unusual URL formattinggeohack.php[?](?!pagename=)|&language=
Tallies

WikiProject Geographical coordinates categories

[edit]

World map displaying the concentration of wikipoints

[edit]
Wikipedia-World allows generating such maps (seehere)

See also

[edit]
Articles of interest
  • Coordinate system, a system that uses numbers to uniquely determine position
  • Geoinformation, created by manipulating geographic (or spatial) data (generally known by the abbreviation geodata) in a computerized system
  • Geocaching
  • Geotagging, a process of adding geographical identification metadata to various media
  • ISO 6709, standard representation of latitude, longitude and altitude for geographic point locations
  • LOC record, a means for expressing geographic location information for a domain name
Wikipedia project pages of interest
Other
Templates
Wikimedia and OpenStreetMap
Bots used in this project
WikiProject Geographical coordinates in the News

References

[edit]

External links

[edit]
  • 3.4.2 GEO type definition to specify information related to the global positioning of the object that avCard represents.RFC2426
  • How latitude and longitude are stored in aDNS record.RFC1876
  • Memo describing a method of adding simple geographic position information to HTTP transactions using extension headers.[2]
  • Memo describing a method of registering HTML documents with a specific geographic location through means of embedded META tags.[3]
  • Proposal to create a new IANATime Zones registration process as a central repository for time zone names.[4]
  • WikiProject Geographical coordinates hot articles watchlist.[5][dead link]
Wikipedia keypolicies and guidelines (?)
Content (?)
P
G
Conduct (?)
P
G
Deletion (?)
P
Enforcement (?)
P
Editing (?)
P
G
Style
Classification
Project content (?)
G
WMF (?)
P
 General
 Directories and reports
 Culture and the arts
 Geographical
 History and society
 Science, technology
and engineering
 Wikipedia assistance
and tasks
Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:WikiProject_Geographical_coordinates&oldid=1306383110"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp