<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="rtl">
<div style="color: rgb(38, 114, 236); font-family: "Times New Roman",Times,serif; font-size: 18pt; font-weight: bold;">
<span style="display: inline !important; color: rgb(33, 33, 33); direction: ltr; font-family: "Calibri",sans-serif; font-size: 14.66px; font-weight: 400; 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 tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="rtl"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>من:</b> Kevin Kenny <kevin.b.kenny@gmail.com><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 dir="ltr">
<div dir="ltr">
<div class="x_gmail_quote">
<div dir="ltr">‪On Fri, Nov 9, 2018 at 12:06 PM ‫دار الآثار للنشر والتوزيع-صنعاء Dar Alathar-Yemen‬‎ <<a href="mailto:hubaishan@outlook.com">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" dir="auto">
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">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>
</body>
</html>