|
|
| Line 2: |
Line 2: |
| <div style="border:1px solid #a2a9b1; background:#2a4b6b; color:#ffffff; padding:1.4em 1.2em; text-align:center;"> | | <div style="border:1px solid #a2a9b1; background:#2a4b6b; color:#ffffff; padding:1.4em 1.2em; text-align:center;"> |
| <div style="font-size:210%; font-weight:bold; line-height:1.1;">The Map of Yezur</div> | | <div style="font-size:210%; font-weight:bold; line-height:1.1;">The Map of Yezur</div> |
| <div style="font-size:110%; color:#dbe6f2; margin-top:0.4em;">the atlas of the world — and the workings behind it</div> | | <div style="font-size:110%; color:#dbe6f2; margin-top:0.4em;">how the world is mapped — its features, tags, and conventions</div> |
| </div> | | </div> |
|
| |
|
| Line 10: |
Line 10: |
| </div> | | </div> |
|
| |
|
| This is the home of Yezur's map. It holds the world as geography — coastlines, cities, roads, and borders — all editable and queryable through an OpenStreetMap-style stack. These pages document how the map is built and how the rest of the wiki links into it. | | This namespace documents how Yezur's map is built: the '''keys and values''' used to describe what is on it, and the '''conventions''' for tagging and naming features. |
|
| |
|
| == Start here ==
| |
| <div style="display:flex; flex-wrap:wrap; gap:1em; margin-top:0.6em;"> | | <div style="display:flex; flex-wrap:wrap; gap:1em; margin-top:0.6em;"> |
|
| |
|
| <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> | | <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> |
| '''[[#Linking to the map from an article|Linking to the map]]'''<br> | | '''[[Map:Features|Map features]]'''<br> |
| Point an article at a feature with <code><nowiki>{{Node}}</nowiki></code>, <code><nowiki>{{Way}}</nowiki></code>, <code><nowiki>{{Relation}}</nowiki></code>, or <code><nowiki>{{Coordslink}}</nowiki></code>.
| | The keys and values that describe things on the map — roads, rivers, borders, and places. |
| </div> | | </div> |
|
| |
|
| <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> | | <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> |
| '''[[#Embedding a live map|Embedding a map]]'''<br> | | '''[[Map:Conventions|Conventions]]'''<br> |
| Drop a live, interactive map into any page with the <code><nowiki>{{#map:}}</nowiki></code> parser function.
| | How features are tagged, named, and classified across the map. |
| </div>
| |
| | |
| <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;">
| |
| '''[[#The data model|The data model]]'''<br>
| |
| Nodes, ways, and relations — the three kinds of thing every map feature is built from.
| |
| </div> | | </div> |
|
| |
|
| </div> | | </div> |
|
| |
| == Linking to the map from an article ==
| |
| Articles point at real map features with these templates:
| |
|
| |
| {| class="wikitable"
| |
| ! Template !! Points to !! Example
| |
| |-
| |
| | <code><nowiki>{{Node|id|label}}</nowiki></code> || a single point (a place, a peak) || {{Node|221905|City centre}}
| |
| |-
| |
| | <code><nowiki>{{Way|id|label}}</nowiki></code> || a line or area (a road, a lake) || {{Way|123456|Coast road}}
| |
| |-
| |
| | <code><nowiki>{{Relation|id|label}}</nowiki></code> || grouped features (a country, a route) || {{Relation|481363|Andusia}}
| |
| |-
| |
| | <code><nowiki>{{Coordslink|lat|lon|zoom|label}}</nowiki></code> || a point by coordinates || {{Coordslink|12.34|56.78|10|Old Harbour}}
| |
| |}
| |
|
| |
| == Embedding a live map ==
| |
| The <code><nowiki>{{#map:}}</nowiki></code> parser function drops an interactive map into a page. Working parameters:
| |
|
| |
| {| class="wikitable"
| |
| ! Parameter !! Meaning !! Example
| |
| |-
| |
| | <code>zoom</code> || initial zoom level || <code>zoom=6</code>
| |
| |-
| |
| | <code>center</code> || centre point, as <code>lat,lon</code> || <code>center=12.34,56.78</code>
| |
| |-
| |
| | <code>layer</code> || base layer name || <code>layer=satellite</code>
| |
| |-
| |
| | <code>query</code> || an Overpass query to draw || <code><nowiki>query=[out:json];node(60117);out;</nowiki></code>
| |
| |}
| |
|
| |
| For example, <code><nowiki>{{#map:zoom=5|center=12.34,56.78}}</nowiki></code> embeds a map centred on those coordinates.
| |
|
| |
| == The data model ==
| |
| Yezur's map follows the familiar three-part model:
| |
| * '''Nodes''' — single points (a well, a summit, a village centre).
| |
| * '''Ways''' — ordered runs of nodes, forming roads and rivers or the outlines of areas.
| |
| * '''Relations''' — groups of nodes and ways that together make something larger, such as an administrative border or a numbered route.
| |
|
| |
| Every feature carries a stable ID — that is what the linking templates above point to, and what an Overpass query returns.
| |
|
| |
| ----
| |
| '''[[Main Page|The encyclopedia]]''' describes the world in prose; '''[[Dictionary:Main Page|the Dictionary]]''' records its tongues.
| |
The Map of Yezur
how the world is mapped — its features, tags, and conventions
Pan, zoom, search, and query the whole world at yezur.xyz.
This namespace documents how Yezur's map is built: the keys and values used to describe what is on it, and the conventions for tagging and naming features.
Map features
The keys and values that describe things on the map — roads, rivers, borders, and places.
Conventions
How features are tagged, named, and classified across the map.