User:Somervillain~metawiki and Gis map sources: Difference between pages

From Meta, a Wikimedia project coordination wiki
(Difference between pages)
Content deleted Content added
mNo edit summary
 
Egil (talk | contribs)
 
Line 1: Line 1:
{{:gis navigation}}
Ezra Keshet is a PhD student in [[w:Linguistics|Linguistics]] at [[w:MIT|MIT]], living in [[w:Somerville, MA|Somerville, MA]] ([[w:Davis Square|Davis Square]]).
===Map sources===

The map sources extension is the target of the <geo> tag wikilink, and provides a page of available Internet map resources, in a manner much like the ISBN resource page. The extension provides functionality to ''preload'' external URLs with coordinates, so that most maps are essentially one click away.

There are currently 30 different built in replacement strings, supporting various form of specification of scaling and coordinates, such as UTM, OSGB36 and CH1903.

There exists specialized versions of the map sources page for various regions (like US and GB). For the global version, there are at present preloaded pointers to around 20 different map engines.

In addition to the maps, there is a pointer to http://GeoURL.org, which lists nearby resources on the Internet.

There is also a direct link for the open source NASA World Wind software, allowing a new, interactive way of experiencing for aerial imagery and topological data. World Wind has a plug-in layer for Wikipedia articles that are tagged with a geographic coordinate. Note that this requires the <tt>worldwind</tt> URL tag to be enabled in Wikipedia.

The URL format is:

$mediawiki/extensions/gis/index.php?geo=GEOBODY

where GEOBODY has exactly the same format as the body of the [[gis geo tag|geo tag]].

====Definition of the map source page====
The definition of the map sources page is via <tt>[[Wikipedia:Map sources]]</tt>, or a subpage of this.

Based on the map sources file, the following argument strings will be replaced, based on the coordinates and attributes given:

===== Latitude/longitude =====
<tt><nowiki>{latdegdec}</nowiki></tt> is the latitude expressed as a signed decimal number of degrees.<br>
<tt><nowiki>{latdegint}</nowiki></tt> is the latitude expressed as a signed number of whole degrees.<br>
<tt><nowiki>{latdegabs}</nowiki></tt> is the latitude expressed as a positive number of whole degrees.<br>
<tt><nowiki>{latNS}</nowiki></tt> is an '''N''' or '''S'''.<br>
<tt><nowiki>{latmindec}</nowiki></tt> is the latitude decimal number of minutes.<br>
<tt><nowiki>{latminint}</nowiki></tt> is the latitude number of whole minutes 0..59.<br>
<tt><nowiki>{latsecdec}</nowiki></tt> is for latitude decimal number of seconds.<br>
<tt><nowiki>{latsecint}</nowiki></tt> is for latitude number of whole seconds 0..59.<br>

<tt><nowiki>{londegdec}</nowiki></tt> is the longitude expressed as a signed decimal number of degrees.<br>
<tt><nowiki>{londegneg}</nowiki></tt> is the same as londegdec, except with the sign switched, i.e positive for East.<br>
<tt><nowiki>{londegint}</nowiki></tt> is the longitude expressed as a signed number of whole degrees.<br>
<tt><nowiki>{londegabs}</nowiki></tt> is the longitude expressed as a positive number of whole degrees.<br>
<tt><nowiki>{lonEW}</nowiki></tt> is an '''E''' or '''W'''.<br>
<tt><nowiki>{lonmindec}</nowiki></tt> is the longitude decimal number of minutes.<br>
<tt><nowiki>{lonminint}</nowiki></tt> is the longitude number of whole minutes 0..59.<br>
<tt><nowiki>{lonsecdec}</nowiki></tt> is the longitude decimal number of seconds.<br>
<tt><nowiki>{lonsecint}</nowiki></tt> is the longitude number of whole seconds 0..59.<br>

===== UTM and variations =====
<tt><nowiki>{utmzone}</nowiki></tt> is the [[UTM]] standard zone, e.g. <tt>32V</tt><br>
<tt><nowiki>{utmnorthing}</nowiki></tt> is the UTM Northing reference (for <tt>utmzone</tt>)<br>
<tt><nowiki>{utmeasting}</nowiki></tt> is the UTM Easting reference (for <tt>utmzone</tt>)<br>
<tt><nowiki>{utm33northing}</nowiki></tt> is the UTM Northing reference for zone 33<br>
<tt><nowiki>{utm33easting}</nowiki></tt> is the UTM Easting reference for zone 33<br>
<tt><nowiki>{osgb36ref}</nowiki></tt> is an [[Ordnance Survey]] [[OSGB36]] map reference. It is valid for a zone surrounding the [[British Isles]], and is emtpy otherwise<br>
<tt><nowiki>{osgb36northing}</nowiki></tt> is the OSGB36 Northing reference<br>
<tt><nowiki>{osgb36easting}</nowiki></tt> is the OSGB36 Easting reference<br>
<tt><nowiki>{ch1903northing}</nowiki></tt> is the Northing reference for Switzerland ([[Swiss coordinate system|Swiss grid]])<br>
<tt><nowiki>{ch1903easting}</nowiki></tt> is the Easting reference for Switzerland<br>

===== Scale =====
<tt><nowiki>{scale}</nowiki></tt> is a map scale factor, e.g. 10000 for 1:10000.<br>
<tt><nowiki>{mmscale}</nowiki></tt> is also the map scale factor, but rounded to the nearest scale supported by Multimap.<br>
<tt><nowiki>{zoom}</nowiki></tt> is a Mapquest style zoom factor, derived from <tt>scale</tt><br>
<tt><nowiki>{altitude}</nowiki></tt> is an ''altitude equivalent'' scale indicator derived from <tt>scale</tt>, suitable for MSN maps et al<br>
<tt><nowiki>{span}</nowiki></tt> is a scale indicator derived from <tt>scale</tt>, suitable for Google maps et al.

Revision as of 20:41, 25 March 2005

Gis navigation

Map sources

The map sources extension is the target of the <geo> tag wikilink, and provides a page of available Internet map resources, in a manner much like the ISBN resource page. The extension provides functionality to preload external URLs with coordinates, so that most maps are essentially one click away.

There are currently 30 different built in replacement strings, supporting various form of specification of scaling and coordinates, such as UTM, OSGB36 and CH1903.

There exists specialized versions of the map sources page for various regions (like US and GB). For the global version, there are at present preloaded pointers to around 20 different map engines.

In addition to the maps, there is a pointer to http://GeoURL.org, which lists nearby resources on the Internet.

There is also a direct link for the open source NASA World Wind software, allowing a new, interactive way of experiencing for aerial imagery and topological data. World Wind has a plug-in layer for Wikipedia articles that are tagged with a geographic coordinate. Note that this requires the worldwind URL tag to be enabled in Wikipedia.

The URL format is:

   $mediawiki/extensions/gis/index.php?geo=GEOBODY

where GEOBODY has exactly the same format as the body of the geo tag.

Definition of the map source page

The definition of the map sources page is via Wikipedia:Map sources, or a subpage of this.

Based on the map sources file, the following argument strings will be replaced, based on the coordinates and attributes given:

Latitude/longitude

{latdegdec} is the latitude expressed as a signed decimal number of degrees.
{latdegint} is the latitude expressed as a signed number of whole degrees.
{latdegabs} is the latitude expressed as a positive number of whole degrees.
{latNS} is an N or S.
{latmindec} is the latitude decimal number of minutes.
{latminint} is the latitude number of whole minutes 0..59.
{latsecdec} is for latitude decimal number of seconds.
{latsecint} is for latitude number of whole seconds 0..59.

{londegdec} is the longitude expressed as a signed decimal number of degrees.
{londegneg} is the same as londegdec, except with the sign switched, i.e positive for East.
{londegint} is the longitude expressed as a signed number of whole degrees.
{londegabs} is the longitude expressed as a positive number of whole degrees.
{lonEW} is an E or W.
{lonmindec} is the longitude decimal number of minutes.
{lonminint} is the longitude number of whole minutes 0..59.
{lonsecdec} is the longitude decimal number of seconds.
{lonsecint} is the longitude number of whole seconds 0..59.

UTM and variations

{utmzone} is the UTM standard zone, e.g. 32V
{utmnorthing} is the UTM Northing reference (for utmzone)
{utmeasting} is the UTM Easting reference (for utmzone)
{utm33northing} is the UTM Northing reference for zone 33
{utm33easting} is the UTM Easting reference for zone 33
{osgb36ref} is an Ordnance Survey OSGB36 map reference. It is valid for a zone surrounding the British Isles, and is emtpy otherwise
{osgb36northing} is the OSGB36 Northing reference
{osgb36easting} is the OSGB36 Easting reference
{ch1903northing} is the Northing reference for Switzerland (Swiss grid)
{ch1903easting} is the Easting reference for Switzerland

Scale

{scale} is a map scale factor, e.g. 10000 for 1:10000.
{mmscale} is also the map scale factor, but rounded to the nearest scale supported by Multimap.
{zoom} is a Mapquest style zoom factor, derived from scale
{altitude} is an altitude equivalent scale indicator derived from scale, suitable for MSN maps et al
{span} is a scale indicator derived from scale, suitable for Google maps et al.