Wikipedia:Coordinate-referenced map templates: Difference between revisions

Content deleted Content added
{{cleanup}}
typo fix
 
(29 intermediate revisions by 22 users not shown)
Line 1:
{{proposedhistorical}}
{{cleanup}}
 
This articledraft guideline was created to provide wikipedians with basic instruction and advanced techniques in using coordinate-referenced map t[[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]].
 
==basicBasic steps for beginners==
===fourFour steps===
The steps for adding a geolink can be summarized as follows:
# findFind the coordinates (generally latitude and longitude) of the geographic location you want to link
# selectSelect the template with the appropriate scale for the map to zoom into
# addAdd the coordinates to the template using the template's format
# placePlace the template reference into the article
 
Suggestions for accomplishing each step are below.
 
===exampleExample 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 28 ⟶ 27:
* [http://maps.google.com/maps?ll=38.889556,-77.035255&spn=0.784574,1.002502 click to see the Washington monument map at countyscale ]
 
3. After you choose your template, you would enter in the coordinates into your chosen template using the corectcorrect coordinate format. If you chose [[Template:geolinks-US-buildingscale]], the wiki code would look like this: <nowiki>{{geolinks-US-buildingscale|38.8895563|-77.0352546}} </nowiki> and the map would look like this: ([http://maps.google.com/maps?ll=38.889556,-77.035255&spn=0.012259,0.015664 click to see what Washington monument map at building scale])
 
And the template would look like this:
 
: ================================
: {{geolinks-US-buildingscalecoord|38.8895563|-77.0352546|region:US_type:landmark|display=inline,title}}
: ================================
 
Line 40 ⟶ 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 50 ⟶ 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 56 ⟶ 55:
== tools and advanced techniques==
=== Finding lat/long info ===
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.
* [http://www.topozone.com/viewmaps.asp TopoZone] can give you coordinates for a number of U.S. place names free. From the USGS, so biased towards natural/national landmarks. The topozone interface has changed, so be sure to select NAD83 coordinate system, as it is no longer the default.
* [http://www.epodunk.com/ Epodunk] will give you coordinates for a number of U.S. place names free. Seems to be biased towards East Coast, historical community sites. Good for cemeteries.
* [http://www.terraserver-usa.com/ TerraServer-USA] gives lat/long for the U.S., and is clickable (you click on the map and it gives you the lat/long of the recentered map, to a certain degree of precision).
Line 66:
* Driving around in Google works surprisingly well, if you know generally where things are. It is searchable so if you know a street address that works too. But I often just open up [http://maps.google.com maps.google.com] and navigate around, zooming in and using landmarks, features, etc, to find what I want. This works well for highways and bridges. Once you have found the thing, click on "link to this page" which generates a new URL in the URL box, copy that and you have your coords (they're in the page URL as parms and easy to spot) Example: For the Jack Rabbit coaster at [[Kennywood|Kennywood Amusement Park]] (this URL: [http://maps.google.com/?ll=40.386538,-79.862891&spn=0.002926,0.004249&t=h]) → "<tt><small>http://maps.google.com/?ll=</small></tt><u>40.386538</u><tt><small>,</small></tt><u>-79.862891</u><tt><small>&spn=0.002926,0.004249&t=h</small></tt>"
 
==== Finding lat/long info in Google Earth ====
 
[[Google Earth]] is a free program for [[Linux]] [[Macintosh]] or [[Windows]] 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)):
Remember, North and East are positive, South and West negative.
# Download and install [[Google Earth]].
 
# Open Google Earth.
Once you have the lattitude and longitude you want, you have several choices for adding a geolink to the wikipedia article. The following section lists these:
# Select Tools | Options | View tab. The Rendering options group has radio buttons for displaying latitude/longitude in either degrees, minutes, seconds, or decimal degrees. Click OK to save your options choices.
# Use the navigation controls to find the object or location you seek in a satellite photo, road map, or hybrid display.
# Select Add | Placemark. A New Placemark symbol appears at the center of the Google Earth map pane, and a New Placemark dialog window opens.
# On the New Placemark dialog window, check the Advanced checkbox to expand the Advanced pane.
# On the Advanced pane, select the Location tab.
# As you drag the Placemark, the Latitude and Longitude fields dynamically update to show the Placemark location. The display units are what you selected under Tools | Options | View tab | Rendering.
# Once you have positioned the Placemark onto your location of interest, you can copy and paste the Latitude and Longitude fields into another application. For example, you may paste them into a Wikipedia coordinate-referenced map template.
# You may edit the descriptive fields for the Placemark (Name, Description, etc.) and save it by clicking OK. Do this if you need to retrieve the Placemark again quickly in a future Google Earth session.
# You may also export your Placemark as a [[Keyhole Markup Language|KML]] file.
 
=== Geolinks templates ===
 
Once you have the lattitudelatitude and longitude you want, you have several choices for adding a geolink to the wikipedia article. The following sectionsections lists these:
 
==== Start templates ====
Line 112 ⟶ 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 168 ⟶ 179:
* [[Wikipedia:WikiProject Geographical coordinates]]
* [[Template talk:Geolinks-US-streetscale]]
* [[Wikipedia:Manual_of_Style_%28dates_and_numbers%29#Geographical_coordinates]]
 
[[Category:WikiProject Geographical coordinates]]
 
 
[[Category:Wikipedia essays]]
[[Category:Coordinates templates]]
{{stub}}