This is aninformation page. It is not anencyclopedic article, nor one ofWikipedia's policies or guidelines; rather, its purpose is to explain certain aspects of Wikipedia's norms, customs, technicalities, or practices. It may reflect differing levels ofconsensus andvetting. |
This page lists ways to obtain and add geographic coordinates to articles.
There are various ways toobtain geographic coordinates. Note that regardless of the source of coordinates, it is a good practice to evaluate whether they appear reasonable at first glance.
Looking at a printedmap oratlas, either those you own or at alibrary.
| Printed maps display coordinates plotted to thedatum selected by the mapmakers. In the UK (which usesOSGB36), Ireland, France and Germany, these datum will not be the coordinates used in Wikipedia (WGS84) thus leading to differences of over 100m. Seegeographic coordinate system for more information. For country specific systems, such as the UK OS grid references,see here. |
Google Maps can be used to find coordinates 3 different ways, although many other sites make use of Google imagery with specialist overlays.
{{coord|51.5030515|-0.1281352}}:
#"\/maps\/.*@([0-9.-]+),([0-9.-]+)"); prompt('',"{{coord|" + matches[1] + "|" + matches[2] + "}}"); }());
{{coord|51|30|10.99|N|0|07|41.29|W|display=title}}:
#"\/maps\/.*@([0-9.-]+),([0-9.-]+)");coord=[matches[1],matches[2]];output='{{coord|';for(x in [0,1]){neg=(coord[x]<0);coord[x]=Math.abs(coord[x]);deg=Math.floor(coord[x]);minr=(coord[x]-deg)*60;min=Math.floor(minr);sec=Math.floor((minr - min)*60*100000)/100000;output+=deg+"|"+(min<10?'0':'')+min+"|"+(sec<10?'0':'')+sec.toFixed(2)+'|'+(x==0?(neg?'S|':'N|'):(neg?'W|':'E|')+"display=title}}");};void(prompt('Coordinates for Wikipedia',output));
List of services, directly providing Wikipedia/Wikimedia Commons compatiblegeotagging metadata.
Currently preferred geotagging templates are:{{coord...}} for English Wikipedia and{{location...}} or{{location dec..}}for Wikimedia Commons.
| Tool | Type | Metadata types | Coordinate parameters | Description | Licensing |
|---|---|---|---|---|---|
| GeoLocator (project page) | Google Maps based | {{coord}},{{location}},{{location dec}}, microformats, custom editable template | type, scale, region, heading | Coordinate picker and online metadata authoring tool. Features: visualheading (camera direction) picker,GeoTemplate/GeoHack compatibility, flexible coordinate parser, URL integration, configurable degree/arcsec precision. Metadata roundtrip support – pasting of existing geotag, updating its location or parameters and encoding new one. | |
| Coordinates tool | Google Maps based | {{Coor title dms (NL)}},{{Coördinaten (NL)}},{{Location (Commons)}},{{Object location (Commons)}},{{Coord (EN))}},{{Infobox decimaal}},{{Infobox)}} | type, scale, region | Coordinate picker and online metadata authoring tool. Features:GeoTemplate/GeoHack compatibility. |
These services are web based, and provide online methods for obtaining coordinates.
Be sure to read the licensing information carefully so that data providers receive an appropriateattribution.
| Tool | Type | Description | Licensing |
|---|---|---|---|
| Getlatlong | Map to coordinates | Move a marker on a Google Maps map (map or satellite view) and get Latitude, Longitude for the location. User interface in English language. | |
| Mapcoordinates | Map to coordinates | Move a marker on a Google Maps map (map or satellite view) and get Latitude, Longitude and Elevation for the location. User interface in German language. | |
| NASA World Wind | Maps | Open source 3D interactive world viewer. See also:online version Licensing:NOSA | |
| Bing Maps | Maps | Provides geographical coordinates of a location when a "Pushpin" has been created.
Licensing: Proprietary EULA | |
| WikiMapia | Global browser | The latitude and longitude of the crosshairs are given at the bottom left of the screen and are constantly updated as the map is moved. Clicking on them will bring up a dialog box from which they can be copied in decimal or deg/min/sec form. Licensing: Arieal imagery provided is from Google EarthTerms of use and one can switch to Bing Maps and OpenStreetMap as needed | |
| Calculators | Conversion | Many scientific calculators (including the one that comes with Windows, use dms and inv dms) can convert coordinates. | |
| The Getty Thesaurus of Geographic Names | Name search | Allows you to find coordinates with a place name search. Licensing:[1] | |
| Geonet Names Server (GNS) | Name search | U.S.National Geospatial-Intelligence Agency (NGA) maintains a comprehensive database of non-U.S. place data. | |
| The Libre Map Project | The purpose of the project is to aggregate and make digital maps and related GIS data available for free. Licensing: CC-BY-SA 2.0 | ||
| GPSies.com | Google Maps tool | Gives coordinates for places, names, elevation/height above sea level on Google Maps (reverse geocoding). You can download the coordinate as GPX Waypoint, PCX5 Waypoint, LOC Geocache or Google Earth KML. | |
| GeocodeFarm | Address & coordinate search | Look up address by coordinates or coordinates by address. Forward and Reverse Geocoding Service. Web Form or API Available. API is free for 2,500 queries per day, more are paid. Web Form is free for unlimited queries. International Coverage in most countries. Licensing:[2] | |
| Great Circle Mapper | Name search | Has geographic coordinates for airports, heliports, and other facilities which have anIATA orICAO code. You can alsosearch by location name. | |
| Plexscape WS | Google Maps tool – Coordinate converter | Online application to acquire coordinates for any place on Earth.
|
Google Earth makes it easy to search for the coordinates of any location and zooming in on them. The coordinate format can be chosen viaTools → Options → 3D View → Show Lat/Long. There are many ways to obtain coordinates:
Edit → Copy View Location to copy the coordinates to the clipboard. More convenient is the associated keyboard shortcut. If it is not provided in the currently chosen language of Google Earth, change it toEnglish (UK) (Tools → Options → General → Language settings).View in Google Maps button at the top (Google Earth 4.1 and newer). This will open Google Maps within Google Earth. You can see the center coordinates in decimal format in the address bar, but unfortunately you cannot copy them directly. To do so, use the buttonOpen this page in your default web browser to display the same Google Maps page in your browser with unrestricted access to its address bar. Of course, all the methods listed above for Google Maps are also available.Add Placemark-button or MenuAdd → Placemark. The "New Placemark" window displays the coordinates.<coordinates>...</coordinates> which contains the long/lat coordinates in decimal degrees. Note that the order of the coordinates is lon/lat; you may want to swap the both in order to get the more common lat/lon notation. Also note that the precision is ridiculously high; you'll probably want to trim it down.OpenStreetMap can be used. For convenience, close any open sidebar (to allow a simpler URL format like the one below). Simply navigate to the desired point by right-clicking on it, then select the "Centre map here" option from the dialog. Finally, extract the coordinate values from the browser URL (N.B. not the shortlink).
For example,https://www.openstreetmap.org/#map=17/10.79375/122.00671 includes a latitude of10.79375 and a longitude of122.00671.
A quicker alternative to extract coordinates is to right click on a desired point in the map and select "Show address". From the sidebar search results, copy the coordinates (inlatitude, longitude format).
NASA World Wind can access a large online database of U.S. and global placenames (cities, villages and other geographic & anthropogenic features). Street addresses can be found using Yahoo and Virtual Earth geocoders (works for the US, Australia, UK, Japan... and maybe some other countries). (Offline search requires this packhttp://www.worldwindcentral.com/wiki/Add-on:Classic_Placenames_cache_pack) Press Ctrl-F, enter the official place name, click Search, you will probably find the place you're looking for. Click Go. (of course you can navigate to the desired spot with your mouse; select View->Show Position to see the coordinates) Press Ctrl-C to copy the decimal coordinates. Paste it into Wikipedia. Example: ForTucson International Airport →worldwind://goto/world=Earth&lat=32.11611&lon=-110.94109&alt=24389"
Finally, add the coordinates to the relevant article:
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.
Optional coordinate parameters follow the longitude and are separated byan underscore ("_"):
dim:N (viewingdiameterinmetres)region:R (ISO 3166-1 alpha-2 orISO 3166-2 code)type:T (landmark orcity(30,000), for example)Other optional parameters are separated bya pipe ("|"):
|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=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.