<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><style type="text/css"><!--div#me84103 DIV {margin:0px; }--></style><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div> </div>
<div>Thanks Jerry,</div>
<div> </div>
<div>I've found the trouble with using areas is that sometimes the related buildings aren't within an easily definable area and may be spread across a few different streets with other buildings between them.</div>
<div> </div>
<div>This seems very common with large teaching hospitals or university buildings. That's why I was tending towards a relation - and because that's what the wiki said obviously :)</div>
<div> </div>
<div>Thanks for the tip on multipolygon, I hadn't considered that.</div>
<div> </div>
<div>GrahamS</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div class="defangedMessage">
<div id="me84103">
<div>On Fri, 28 May 2010 10:51 +0000, "Jerry Clough - OSM" <sk53_osm@yahoo.co.uk> wrote:</div>
<blockquote class="me84103QuoteMessage" type="cite"><!--/*SC*/defang_html/*EC*/--><!--/*SC*/defang_head/*EC*/--><!--/*SC*//defang_head/*EC*/--><!--/*SC*/defang_body/*EC*/-->
<div style="font-family: times new roman, new york, times, serif; font-size: 12pt">
<div>Hi Graham,<br>
<br>
I usually draw an area for the hospital campus and then mark individual buildings=yes, rather than using a relation. (This may stem from what I found to work when I started out).<br>
<br>
In the relation I don't think you need the building=yes, but you probably do need something like type=multipolygon.<br>
<br>
Cheers,<br>
<br>
Jerry<br>
</div>
<div style="font-family: times new roman, new york, times, serif; font-size: 12pt"><br>
<div style="font-family: arial, helvetica, sans-serif; font-size: 13px"><!--/*SC*/defang_font face="Tahoma" size="2"/*EC*/--><span style="font-size: small; font-face: Tahoma"><hr size="1">
<!--/*SC*/defang_b/*EC*/--><span style="font-weight: bold"><span style="font-weight: bold">From:</span><!--/*SC*//defang_b/*EC*/--></span> Graham Stewart <graham@dalmuti.net><br>
<!--/*SC*/defang_b/*EC*/--><span style="font-weight: bold"><span style="font-weight: bold">To:</span><!--/*SC*//defang_b/*EC*/--></span> OpenStreetMap TalkGB <talk-gb@openstreetmap.org><br>
<!--/*SC*/defang_b/*EC*/--><span style="font-weight: bold"><span style="font-weight: bold">Sent:</span><!--/*SC*//defang_b/*EC*/--></span> Fri, 28 May, 2010 11:29:44<br>
<!--/*SC*/defang_b/*EC*/--><span style="font-weight: bold"><span style="font-weight: bold">Subject:</span><!--/*SC*//defang_b/*EC*/--></span> [Talk-GB] Grouping related buildings in a relation<br>
<!--/*SC*//defang_font/*EC*/--></span><br>
What is the correct way to group a collection of buildings into a<br>
relation when they are all part of the same institution?<br>
<br>
I traced (from OS StreetView) the seven buildings of the Queen Elizabeth<br>
Hospital in Gateshead:<br>
<a target="_blank" href="http://www.openstreetmap.org/?lat=54.93834&lon=-1.57941&zoom=17&layers=B000FTF">http://www.openstreetmap.org/?lat=54.93834&lon=-1.57941&zoom=17&layers=B000FTF</a><br>
<br>
I've tagged each building as building=yes and placed them in the<br>
relation.<br>
Then I tagged the relation as amenity=hospital+building=yes+name=Queen<br>
Elizabeth Hospital<br>
<br>
But now Mapnik and Osmarender don't display a name or the hospital POI<br>
icon, which rather defeats the purpose.<br>
<br>
What is the usual approach to this?<br>
<br>
The Wiki for amenity=hospital suggests:<br>
<br>
"If you have a large hospital campus with multiple buildings, consider<br>
combining them into a relation instead of tagging each individual<br>
building to be a hospital"<br>
-- <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital">http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</a><br>
<br>
..which I thought was what I had done. Should I also add a POI node with<br>
amenity=hospital somewhere amongst the buildings? That seems a bit<br>
redundant.<br>
<br>
Thanks,<br>
GrahamS<br>
<br>
PS I'm a new OSMer, so apologies if this is really obvious.<br>
<br>
_______________________________________________<br>
Talk-GB mailing list<br>
<a defang_ymailto="mailto:Talk-GB@openstreetmap.org" href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br>
<a target="_blank" href="http://lists.openstreetmap.org/listinfo/talk-gb">http://lists.openstreetmap.org/listinfo/talk-gb</a><br>
</div>
</div>
</div>
<br>
<!--/*SC*//defang_body/*EC*/--><!--/*SC*//defang_html/*EC*/--></blockquote></div>
</div></div></body></html>