Wikipedia:Coordinate-referenced map templates: Difference between revisions

Content deleted Content added
typo fix
 
(14 intermediate revisions by 11 users not shown)
Line 3:
This draft guideline was created to provide wikipedians with basic instruction and advanced techniques in using coordinate-referenced map [[wikipedia:templates|templates]] to generate maps in wikipedia articles.
 
For the purposes of this article, [[Geolinks]] can be defined as links to commercial maps using geographical coordinates. The most common geolinks in wikipedia are referenced with [[lattitudelatitude]] and [[longitude]].
 
==Basic steps for beginners==
Line 13:
# Place the template reference into the article
 
Suggestions for accomplishing each step are below. look it up on a web site
 
===Example of adding the coordinates using the template's format ===
1. If you wanted to add a map of [[Washington DC]], you would first have to use any of the below links and find out that the [[Washington Monument]] in DC is located at lattitudelatitude 38.8895563 and longitude -77.0352546. Remember that you want to have decimal coordinates rather than hoursdegrees/minutes/seconds.
 
2. Next you can choose templates of the right scale. Suppose you were interested in just looking at a Washington Monument at building scale, then the map would be close in on the monument. ([http://maps.google.com/maps?ll=38.889556,-77.035255&spn=0.012259,0.015664 click to see the Washington monument map at building scale])
Line 32:
 
: ================================
: {{geolinks-US-buildingscalecoord|38.8895563|-77.0352546|region:US_type:landmark|display=inline,title}}
: ================================
 
Line 39:
Other scales follow the same format, as listed below. Somply copy and paste, with your correct coordinates in the
 
* [[Template:geolinks-US-buildingscale]] <nowiki> {{geolinks-US-buildingscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
* [[Template:geolinks-US-streetscale]] <nowiki> {{geolinks-US-streetscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
* [[Template:geolinks-US-hoodscale]]<nowiki> {{geolinks-US-hoodscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
* [[Template:geolinks-US-cityscale]] <nowiki> {{geolinks-US-cityscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
* [[Template:geolinks-US-countyscale]] <nowiki> {{geolinks-US-countyscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
 
4. The template you have assembled ahould go into the external links section of the article. If there is no external links section, the following two lines should go at the very bottom of the article:
Line 49:
<nowiki> == External links == </nowiki>
 
<nowiki> *{{geolinks-US-cityscale|YourLattitudeYourLatitude|YourLongitude}} </nowiki>
 
Once you preview and save, you will have successfully added a coordinate-referenced map template to the article. Congratulations!
Line 57:
Remember, North and East coordinates are positive, South and West negative.
Here are some resources for figuring out the lat/long of the location you want:
* [http://geonames.usgs.gov/plsdomestic/gnispublicindex.html USGS GNIS] service is extremely extensive: almost any officially named place in the US is searchable. Provides coordinates in Degrees/Minutes/Seconds format. The easiest way to convert to decimal coordinates (if you don't want to do arithmetic yourself) is to choose the "Display feature in TopoZone" option. You can click around the map on the TopoZone page if you don't think it's centered quite right. Then in the sidebar of the TopoZone page change the "Coordinate Format" to "DD.DDD". The decimal coordinates are now displayed above the map.
* [http://libre.redjar.org/maps/data Libre Map Project] - As part of The Libre Map Project I've created a database with all the GNIS place names from the USGS. It displays the Latitude and Longitude in decimal format so you don't have to convert. To display a list of every town, county, villag, etc., select a state and set the Feature Type to "civil". All data and queries are Free. If the data could be formatted in a more convenient way, let me know. - [[User:Redjar|Redjar]] 14:14, 29 Apr 2005 (UTC)
* [http://www.geocode.com/modules.php?name=TestDrive_Eagle GeoCode Eagle] will give you coordinates for up to 25 U.S. addresses free.
Line 68:
==== Finding lat/long info in Google Earth ====
 
[[Google Earth]] is a free program for [[Apple_macintosh|MacLinux]] [[Macintosh]] or [[IBM_PC_compatible|PCWindows]] which displays satellite photos, road maps, and other forms of [[Geospatial|geospatial]] information. If you can find a location, landmark, landform, stationary object, etc., on a satellite photo or road map, you can easily get its coordinates from [[Google Earth]]. If you have trouble positioning [http://maps.google.com maps.google.com] on your location of interest (the Google Maps display may snap back to your starting location when you click "link to this page" rather than sticking to the point you navigated to, if you navigated by dragging the map instead of by clicking on the direction arrow controls), you won't have that problem with Google Earth. With Google Earth, you can drag a placemark symbol exactly where you want on a map, and easily copy its resulting coordinates. The following procedure worked with version 3.0.0762 (verified on 17:56, 26 June 2006 (UTC)):
# Download and install [[Google Earth]].
# Open Google Earth.
Line 123:
|-
| '''[[Template:geolinks-start]]'''
| {{tlx|geolinks-start|38.8895563|-77.0352546}}
| <nowiki> {{geolinks-start|38.8895563|-77.0352546}} </nowiki>
|none
|-
| '''[[Template:geolinks-US-loc]]'''
| {{tlx|geolinks-US-start|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-US-start|38.8895563|-77.0352546}} </nowiki>
|none
|-
| ''' [[Template:geolinks-US-surrounds]]'''
| {{tlx|geolinks-US-surrounds|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-US-surrounds|38.8895563|-77.0352546}} </nowiki>
|none
|-
| '''[[Template:geolinks-US-loc]]'''
| {{tlx|geolinks-US-loc|38.8895563|-77.0352546|Washington Monument}}
|<nowiki> {{geolinks-US-loc|38.8895563|-77.0352546|Washington Monument}} </nowiki>
|extra variable for location name
|-
| '''[[Template:geolinks-US-colorphoto]]'''
| {{tlx|geolinks-US-colorphoto|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-US-colorphoto|38.8895563|-77.0352546}} </nowiki>
|none
|-
| '''[[Template:geolinks-sat]]'''
| {{tlx|geolinks-sat|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-sat|38.8895563|-77.0352546}} </nowiki>
|none
|-
| '''[[Template:geolinks-US-sat]]'''
| {{tlx|geolinks-US-sat|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-US-sat|38.8895563|-77.0352546}} </nowiki>
|none
|-
| '''[[Template:geolinks-US-mountain]]'''
| {{tlx|geolinks-US-mountain|38.8895563|-77.0352546}}
|<nowiki> {{geolinks-US-mountain|38.8895563|-77.0352546}} </nowiki>
|none
Line 181:
* [[Wikipedia:Manual_of_Style_%28dates_and_numbers%29#Geographical_coordinates]]
 
[[Category:WikiProject Geographical coordinates]]
 
[[Category:Wikipedia essays|Coordinate-referenced map templates]]
[[Category:Coordinates templates|*Map templates]]