<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Tom, I think we need to have consensus about what we mean by admin centre. The traditional "town hall" is frequently no longer the central office location where the administrative and/or customer-facing staff are located, and indeedn, these functions may be distributed over multiple locations. How are we to choose which is to be the admin centre? Or shall we add all the locations? In that case, I think we will need a mechanism to indicate which is the primary location - maybe the advertised address for postal purposes from the website? Or the statutory seat?</p>
<p>In the UK it is mostly linked to a place node, which indicates the city/town/village but not down to the level of a building. We should be able to do geometric searches for civic administration buildings in the area (given appropriate tagging). But watch out for councils whose seat is not within their own area, such as Surrey County Council in the UK. Their County Hall is in Kingston-upon-Thames, which is now in London (it was once in Surrey but the boundary was changed).</p>
<div> </div>
<p>//colin</p>
<p>On 2017-01-26 12:46, Tom Pfeifer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Boundary relations [<a href="https://wiki.openstreetmap.org/wiki/Relation:boundary">1</a>] can have members that are the boundary itself, thus the geometrical part of this boundary, as well as further details, in particular an admin_centre and a label, which are both extremely well accepted, and (disputed) a subarea.<br /> <br /> The valid geometrical members are 'outer' (5M) and 'inner' (45T), and the deprecated <empty> (62T), enclave (0) and exclave (0) [<a href="http://taginfo.openstreetmap.org/relations/boundary#roles">2</a>]. enclave and exclave are extinct since 2013, according to wiki discussion.<br /> <br /> <span style="white-space: nowrap;">admin_centre is used on nodes (184T), ways (142) and relations (16).</span><br /> <br /> It is defined in the wiki so far as a node for the "capital, county seat etc., usually a town, city or village (depending of the boundary level, see place=*)"<br /> <br /> Now, for admin levels relating to counties and towns, the seat of the admin_centre is typically the town hall, which is often mapped as a building outline, thus a way. It carries further useful tags such as the name of the particular administration and its address.<br /> <br /> There is no logical reason why this townhall should not be added to the boundary relation as a way. That was proposed on the wiki discussion page a few months ago.<br /> <br /> However, mapping it this way triggers a problem in carto [<a href="https://github.com/gravitystorm/openstreetmap-carto/issues/2559">3</a>], which relates upstream to an issue in osm2pgsql [<a href="https://github.com/openstreetmap/osm2pgsql/issues/678">4</a>]. Apparently any way member in a boundary relation is treated as part of the geometry (catch-all), instead of processing only those that are defined as such (white-listing). Catch-all rules are frowned upon in different situations as they are prone to errors.<br /> <br /> Tu summarize, I propose to allow admin_centre as ways in boundary relations, and fix the catch-all software issue.<br /> <br /> <span style="white-space: nowrap;">[1] <a href="https://wiki.openstreetmap.org/wiki/Relation:boundary">https://wiki.openstreetmap.org/wiki/Relation:boundary</a></span><br /> <span style="white-space: nowrap;">[2] <a href="http://taginfo.openstreetmap.org/relations/boundary#roles">http://taginfo.openstreetmap.org/relations/boundary#roles</a></span><br /> <span style="white-space: nowrap;">[3] <a href="https://github.com/gravitystorm/openstreetmap-carto/issues/2559">https://github.com/gravitystorm/openstreetmap-carto/issues/2559</a></span><br /> <span style="white-space: nowrap;">[4] <a href="https://github.com/openstreetmap/osm2pgsql/issues/678">https://github.com/openstreetmap/osm2pgsql/issues/678</a></span><br /> <br /> <span style="white-space: nowrap;">--</span><br /> tom<br /> <br /> _______________________________________________<br /> <span style="white-space: nowrap;">Tagging mailing list</span><br /> <span style="white-space: nowrap;"><a href="mailto:Tagging@openstreetmap.org">Tagging@openstreetmap.org</a></span><br /> <span style="white-space: nowrap;"><a href="https://lists.openstreetmap.org/listinfo/tagging">https://lists.openstreetmap.org/listinfo/tagging</a></span></div>
</blockquote>
</body></html>