[OSM-talk] Rendering subareas?
Andy Allan
gravitystorm at gmail.com
Mon Nov 19 16:51:28 GMT 2007
On Nov 19, 2007 4:36 PM, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
> On 19/11/2007, Alex S. <maps at swavely.com> wrote:
> > I have a question about how subareas should be addressed so they are
> > properly rendered.
> >
> > For example, there is a park in my city that has several sport courts
> > (pitches, for the britishly inclined) inside it as subareas. This
> > particular park has several tennis courts, baseball diamonds, soccer
> > fields, a running track, etc. However, these fields are sub-parts of
> > the park as a greater whole. This is common in the USA.
> >
> > Is there a special way to mark these so that they are rendered properly?
> > (I believe it has been noted that using 'level=*' is frowned upon,
> > as these features are not physically 'above' or 'below' each other.)
> > Or, does there need to be a change in the rendering ruleset instead?
> >
> > The park in question is located here:
> > http://www.openstreetmap.org/?lat=47.66932&lon=-122.34368&zoom=16&layers=B0F
>
>
> The only area other than the park I see is surrounding what appear to
> be tennis courts, and only has the tag "area -> yes", which probably
> isn't rendered by anything.
>From what I remember of the discussion during the proposal, area=yes
was specifically for the case of an otherwise linear feature, such as
if a residential road broadened out to a wide section that needed to
be represented as an area. As such, it's not a generic tag for "I want
something to be shown as a polygon", and is neither required nor
sufficient (for current renderers, at least).
Cheers,
Andy
> For mapnik, it will show up if the area is tagged with "leisure ->
> pitch" -- you can also tag it with "sport -> tennis" but this won't
> affect the rendering at the moment.
> Mapnik will automatically render smaller areas on top of larger areas
> -- so there is no need to do any special layering for this case.
>
> There's an example here (tennis courts in wimbledon park, and more
> auto-layering with the altogether more famous Centre Court, and Court
> 1 shown within the All England Lawn Tennis Club grounds):
> http://www.openstreetmap.org/?lat=51.43589&lon=-0.20798&zoom=16&layers=B0F
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list