Jump to content

Map:Main Page: Difference between revisions

From Yezur Wiki
Thiorosan (talk | contribs)
Swap the live {{#map}} embed for a link to yezur.xyz (embed didn't initialise client-side); keep #map syntax as docs
Thiorosan (talk | contribs)
Minimize: refocus on key/value tagging + conventions; drop template/embed/data-model docs
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="border:1px solid #a2a9b1; background:#f8f9fa; padding:1em 1.2em; text-align:center; margin-bottom:1.2em;">
__NOTOC__
<div style="font-size:200%; font-weight:bold; color:#2a4b6b; line-height:1.2;">The Map of Yezur</div>
<div style="border:1px solid #a2a9b1; background:#2a4b6b; color:#ffffff; padding:1.4em 1.2em; text-align:center;">
<div style="font-style:italic; font-size:110%;">the atlas of the world, and the craft of charting it</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;">how the world is mapped — its features, tags, and conventions</div>
</div>
</div>


This is the home of '''Yezur's map''' — the slippy map, editing tools, and data behind [https://yezur.xyz yezur.xyz]. Where the [[Main Page|encyclopedia]] describes the world in prose, the map holds it as geography: coastlines, cities, roads, and borders, all editable and queryable. These pages document how the map is built and how the rest of the wiki links into it.
<div style="border:1px solid #a2a9b1; background:#eef3f8; padding:1.1em; text-align:center; margin:1.1em 0;">
 
<div style="font-size:120%; font-weight:bold;">[https://yezur.xyz Open the interactive map of Yezur →]</div>
<div style="border:1px solid #a2a9b1; background:#eef3f8; padding:1.2em; text-align:center; margin:1em 0;">
<div style="font-size:92%; color:#54595d; margin-top:0.3em;">Pan, zoom, search, and query the whole world at yezur.xyz.</div>
<div style="font-size:120%; font-weight:bold;">[https://yezur.xyz Explore the interactive map of Yezur →]</div>
<div style="font-size:90%; color:#54595d; margin-top:0.3em;">Pan, zoom, and query the whole world at yezur.xyz.</div>
</div>
</div>


----
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.


== Linking to the map from an article ==
<div style="display:flex; flex-wrap:wrap; gap:1em; margin-top:0.6em;">
Articles point at real map features with these templates:


{| class="wikitable"
<div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;">
! Template !! Points to !! Example
'''[[Map:Features|Map features]]'''<br>
|-
The keys and values that describe things on the map — roads, rivers, borders, and places.
| <code><nowiki>{{Node|id|label}}</nowiki></code> || a single point (a place, a peak) || {{Node|221905|City centre}}
</div>
|-
| <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 ==
<div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;">
The <code><nowiki>{{#map:}}</nowiki></code> parser function drops an interactive map into a page. Working parameters:
'''[[Map:Conventions|Conventions]]'''<br>
How features are tagged, named, and classified across the map.
</div>


{| class="wikitable"
</div>
! 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.
 
== Companion works ==
* '''[[Main Page|The Encyclopedia]]''' — the world of Yezur, its lands and peoples.
* '''[[Dictionary:Main Page|The Dictionary]]''' — the interlingual dictionary of Yezur's languages.

Latest revision as of 14:20, 15 July 2026

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.