<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div>In the relation for Nicaragua (id=287666), there are objects with role subarea. For example, addition of subarea role for Chontales is redundant with Relation Chontales (id=2194866). I dont know if this would fix the problem, but you could remove the redundant subarea members from the Nicaragua relation. Developpers that know how relations are rendered could tell what is the impact of redundant references adding subarea elements to the main relation.</div><div></div><div> </div><div><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;">Pierre <br></span><br></div> <div style="font-size: 10pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"> <div style="font-size: 12pt; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"> <div dir="ltr" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">De :</span></b> Felix Delattre <maps@delattre.de><br> <b><span style="font-weight: bold;">À :</span></b> <br><b><span style="font-weight: bold;">Cc :</span></b> Talk Openstreetmap <talk@openstreetmap.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Lundi 7 avril 2014 20h42<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [OSM-talk] admin_level 4 rendering<br> </font> </div> <div class="y_msg_container"><br><div id="yiv5317084326"><div>
<div class="yiv5317084326moz-cite-prefix">Thank you, Clifford.<br clear="none">
<br clear="none">
I hope I could fix those, by rechecking all the tagging and roles
("outer" especially) in the relations. I think this could have
been the reason. Nevertheless this phenonema of not rendering the
label of the admin_level=4 regions is happening with all
regions/departamentos in Nicaragua. Also the ones which are not
throwing an error by the OSM Inspector [1] Please compare with the
relations which are subareas of the county's relation [2].<br clear="none">
I further added a label to one of the regions' relation [3], using
the short name for testing purposes, and placed it where no much
other stuff is around.<br clear="none">
<br clear="none">
Marking the tiles, close to this label node, as "/dirty" to
refresh them, would not render the region's label... :(<br clear="none">
<br clear="none">
<br clear="none">
[1]
<a rel="nofollow" shape="rect" class="yiv5317084326moz-txt-link-freetext" target="_blank" href="http://tools.geofabrik.de/osmi/?view=multipolygon&lon=-85.04810&lat=12.23695&zoom=8&overlays=invalid_geometry_hull,duplicate_ways,intersections,intersection_lines,ring_not_closed_hull,ring_not_closed,unconnected_end_nodes,touching_inner_rings_hull,touching_inner_rings,role_mismatch_hull,role_mismatch,duplicate_tags_hull,duplicate_tags,multipolygons_type_is_boundary,type_is_boundary,ways,role_markers,way_end_nodes,way_nodes" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif;">http://tools.geofabrik.de/osmi/?view=multipolygon&lon=-85.04810&lat=12.23695&zoom=8&overlays=invalid_geometry_hull,duplicate_ways,intersections,intersection_lines,ring_not_closed_hull,ring_not_closed,unconnected_end_nodes,touching_inner_rings_hull,touching_inner_rings,role_mismatch_hull,role_mismatch,duplicate_tags_hull,duplicate_tags,multipolygons_type_is_boundary,type_is_boundary,ways,role_markers,way_end_nodes,way_nodes</a><br clear="none">
[2] <a rel="nofollow" shape="rect" class="yiv5317084326moz-txt-link-freetext" target="_blank" href="http://www.openstreetmap.org/relation/287666"><font>http://www.openstreetmap.org/relation/<font>287666</font></font></a><br clear="none">
[3]
<a rel="nofollow" shape="rect" class="yiv5317084326moz-txt-link-freetext" target="_blank" href="http://www.openstreetmap.org/relation/2195081#map=8/11.921/-83.589" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">http://www.openstreetmap.org/relation/2195081#map=8/11.921/-83.589</a><br clear="none">
<br clear="none">
On 04/07/2014 11:14 AM, Clifford Snow wrote:<br clear="none">
</div>
<div class="yiv5317084326yqt6720360538" id="yiv5317084326yqt10036" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><blockquote type="cite">
<div dir="ltr">
<div class="yiv5317084326gmail_extra"><br clear="none">
<div class="yiv5317084326gmail_quote">On Mon, Apr 7, 2014 at 9:48 AM, Felix
Delattre <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:maps@delattre.de" target="_blank" href="mailto:maps@delattre.de">maps@delattre.de</a>></span>
wrote:<br clear="none">
<blockquote class="yiv5317084326gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">
<div class="yiv5317084326" style="overflow:hidden;">I was
going over the "departmentos" (admin_level=4) in
Nicaragua<br clear="none">
yesterday. And it does not explain to me why the names
of them not<br clear="none">
getting rendered in Mapnik. Please compare:<br clear="none">
<br clear="none">
* Province (admin_level=4) in Costa Rica:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.openstreetmap.org/relation/3222919#map=8/10.747/-85.051">http://www.openstreetmap.org/relation/3222919#map=8/10.747/-85.051</a><br clear="none">
(label "Guanacaste")<br clear="none">
* Departamentos (admin_level=4) in Nicaragua<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.openstreetmap.org/relation/2194866#map=8/11.792/-85.122">http://www.openstreetmap.org/relation/2194866#map=8/11.792/-85.122</a>
(no<br clear="none">
label "Chontales") </div>
</blockquote>
</div>
<br clear="none">
I noticed in OSM Inspector an error on the Chontales
multipolygon: </div>
<div class="yiv5317084326gmail_extra">
<table class="yiv5317084326" style="border-collapse: collapse; color: rgb(0, 0, 0); font-family: Verdana, Helvetica, Arial, sans-serif;"><tbody><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">layer:</th><td colspan="1" rowspan="1">ring_not_closed_hull</td></tr><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">rel_id:</th><td colspan="1" rowspan="1">2194866</td></tr><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">
lastchange:</th><td colspan="1" rowspan="1">2014-03-12T04:13:04Z</td></tr><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">errmsg:</th><td colspan="1" rowspan="1">ring_not_closed</td></tr><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">area:</th><td colspan="1" rowspan="1">0.78</td></tr><tr><th colspan="1" rowspan="1" style="text-align:right;vertical-align:top;">tags:</th><td colspan="1" rowspan="1">admin_level=4<br clear="none">
boundary=administrative<br clear="none">
name=Chontales<br clear="none">
<br clear="none">
</td></tr></tbody></table>
<br clear="none">
Fix the errors to see if that fixes the rendering problem.</div>
<div class="yiv5317084326gmail_extra"><br clear="none">
</div>
<div class="yiv5317084326gmail_extra">Clifford<br clear="all">
<div><br clear="none">
</div>
-- <br clear="none">
<div dir="ltr">
<div>@osm_seattle<br clear="none">
</div>
<div><a rel="nofollow" shape="rect" target="_blank" href="http://osm_seattle.snowandsnow.us/">osm_seattle.snowandsnow.us</a></div>
<div>OpenStreetMap: Maps with a human touch</div>
</div>
</div>
</div>
</blockquote></div>
<br clear="none">
</div></div><br><div class="yqt6720360538" id="yqt32248" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">_______________________________________________<br clear="none">talk mailing list<br clear="none"><a shape="rect" ymailto="mailto:talk@openstreetmap.org" href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br clear="none"><a shape="rect" href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br clear="none"></div><br><br></div> </div> </div> </div></body></html>