<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed">I think I did not understand you, because in
<a href="https://overpass-turbo.eu/">https://overpass-turbo.eu/</a></p>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed">Query:</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
node</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
  [place=country];</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
out;</p>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><o:p> </o:p></p>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed">outputs nearly all countries</p>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed">and query</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
area</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
  [place=country]</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
  ;</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
out;</p>
<p class="MsoNormal" style="margin-left:36.0pt;text-align:left;direction:ltr;unicode-bidi:embed">
<o:p> </o:p></p>
<p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed">outputs only 3 countries</p>
<p class="MsoNormal" dir="RTL"><span dir="LTR"><o:p> </o:p></span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="rtl"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>من:</b> Mateusz Konieczny <matkoniecz@tutanota.com><br>
<b>‏‏تم الإرسال:</b> Saturday, November 10, 2018 12:59:29 PM<br>
<b>إلى:</b> Tag discussion, strategy and related tools<br>
<b>‏‏الموضوع:</b> Re: [Tagging] رد: New rag to draw node name with rotate angle</font>
<div> </div>
</div>
<div>Can you give example of a country not
<div><br>
</div>
<div>mapped as an area and incorrectly</div>
<div><br>
</div>
<div>mapped as a node?<br>
<br>
10. Nov 2018 07:01 by <a href="mailto:hubaishan@outlook.com" target="_blank" rel="noopener noreferrer">
hubaishan@outlook.com</a>:<br>
<br>
<blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;">
<div style="color: rgb( 38 , 114 , 236 ) ; font-family: "times new roman" , "times" , serif ; font-size: 18pt ; font-weight: bold">
<span style="display: inline ; color: rgb( 33 , 33 , 33 ) ; direction: ltr ; font-family: "calibri" , sans-serif ; font-size: 14.66px ; text-align: left">I am talking about nodes not areas or ways. Most of seas in OSM are tagged on node element. Also countries
 most of them are tagged on node element</span><br>
</div>
<div style="color: rgb( 38 , 114 , 236 ) ; font-family: "times new roman" , "times" , serif ; font-size: 18pt ; font-weight: bold">
<br>
</div>
<div id="signature">
<div id="divtagdefaultwrapper" style="font-size: 18pt ; color: #2672ec ; font-family: "times new roman" , "times" , serif">
<p align="left" style="margin-top: 0px ; margin-bottom: 0px"><br>
</p>
</div>
</div>
<div style="color: rgb( 38 , 114 , 236 ) ; font-family: "times new roman" , "times" , serif ; font-size: 18pt ; font-weight: bold">
</div>
<hr style="display: inline-block ; width: 98%">
<div id="divRplyFwdMsg"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11pt"><b>من:</b> Kevin Kenny <<a href="mailto:kevin.b.kenny@gmail.com" target="_blank" rel="noopener noreferrer">kevin.b.kenny@gmail.com</a>><br>
<b>‏‏تم الإرسال:</b> 01/ربيع الأول/1440 09:09 م<br>
<b>إلى:</b> Tag discussion, strategy and related tools<br>
<b>‏‏الموضوع:</b> Re: [Tagging] New rag to draw node name with rotate angle</font>
<div> </div>
</div>
<div>
<div>
<div>
<div class="x_gmail_quote">
<div>‪On Fri, Nov 9, 2018 at 12:06 PM ‫دار الآثار للنشر والتوزيع-صنعاء Dar Alathar-Yemen‬‎ <<a href="mailto:hubaishan@outlook.com" target="_blank" rel="noopener noreferrer">hubaishan@outlook.com</a>> wrote:‬<br>
</div>
<blockquote class="x_gmail_quote" style="margin: 0px 0px 0px 0.8ex ; border-left: 1px solid rgb( 204 , 204 , 204 ) ; padding-left: 1ex">
<div>
<div align="left">
<div style="direction: ltr ; margin: 0px ; padding: 0px ; font-family: sans-serif ; font-size: 11pt ; color: black">
I suggest new tag to tell map render to draw the node name with a specified rotate angle not horizontal. We need this for some seas like Red Sea, and Suez Gulf in Egypt. </div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I have serious doubts whether encoding the rendering in the map in such a way is a good idea.</div>
<div><br>
</div>
<div>A renderer that wished to label an area with an angled label could readily determine the angle for itself, by computing the principal axes of the area, and if its eccentricity exceeds a specified value, rotating the label to align with the major axis.</div>
<div><br>
</div>
<div>An even better rendering could be achieved by computing the morphological skeleton of the area, and placing the label along some smooth curve that approximates the medial axis.</div>
<div><br>
</div>
<div>There are also algorithms that handle curved label placement in the presence of interfering labels, although they are somewhat less well developed. One such is described in Mathieu BARRAULT, "A methodology for placement and evaluation of area map labels."
 _Computers, Environment and Urban Systems_ 25 (2001), pp. 33-52.  </div>
<div><a href="http://geoinformatics.ntua.gr/courses/admcarto/lecture_notes/name_placement/bibliography/barrault_2001.pdf" target="_blank" rel="noopener noreferrer">http://geoinformatics.ntua.gr/courses/admcarto/lecture_notes/name_placement/bibliography/barrault_2001.pdf</a></div>
<div><br>
</div>
<div>Barrault describes the process of choosing a family of circular arcs that well approximate the general contour of an area feature. Figure 3 of the paper is informative about what criteria his heuristic takes into account for 'goodness' of placement. Figures
 10 and 11 show what the algorithm achieves on sample elongated figures and Figures 13-14 show what it can do in the presence of interfering labels.</div>
<div><br>
</div>
<div>To place this task on the mapper forecloses on the possibility that a renderer can do it better.</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>