[OSM-talk] area tags
Paul Fox
pgf at foxharp.boston.ma.us
Mon Nov 19 13:58:56 GMT 2007
alex wrote:
> Paul Fox wrote:
>
> > is there a list anywhere of the "certain tags" which should be
> > rendered as polygons rather than lines? i'm sure many (most?)
> > i could figure out, but if someone already has the list...
>
> Anything on the Map Features page that has only an polygon icon in the
> 'Applies to' column should render as a polygon by default.
thanks for the pointer. so there's really no "fill_me_in=yes" tag? :-)
i now understand in principle, but to clarify, since i don't
think it's quite like you said above: if the "Element" column
contains an area icon without a way icon, then this kind of way
should be filled. (i.e., node icons should be ignored.)
since i really wanted a list, without having to enter data by
hand (i'm surprised such a list doesn't already exist), here's
the script i used if anyone's interested. run it on a copy of the
"Map Features" wiki page source text -- not the html.
grep IconArea | grep -v IconWay |
sed 's/\(\[\[[^|]*\)|\(.*\]\].*\)/\1 or \2/' |
sed 's/^|\([^|]*||[^|]*\)||.*/\1/' >areafeatures
it's not perfect, but it's close enough for me, for now.
paul
=---------------------
paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 28.4 degrees)
More information about the talk
mailing list