[Tilesathome] Proposal temporay tags -- the solution?
Knut Arne Bjørndal
bob+osm at cakebox.net
Sat Jan 31 13:32:26 GMT 2009
On Sat, Jan 31, 2009 at 12:22:19PM +0100, Marc Schütz wrote:
> > Why is nesting such a bad thing?
> >
>
> I think nesting is only the sympton. The problem is that bridge/tunnel/etc.
> should be treatible as independent of all the other tags a particular object
> might have, because all bridges should basically look the same. The only thing
> where they differ is the width of the object. But there is no way for a rule to
> know which width it has, without looking at the highway, railway, or whatever
> other tags that might be relevant.
>
> So there are tons of CSS styles, each of which repeats the width information
> (railway-rail-bridge-casing, railway-light-rail-bridge-casing, ...) whereas in
> fact just one declaration should suffice, if it could somehow reference the
> width of the underlying object. At the same time, it would make a lot of
> nesting unnecessary.
Well, the current usage of CSS isn't very good, but hughbris has
started cleaning it up, that should help a lot.
--
Knut Arne Bjørndal
aka Bob Kåre
bob+osm at cakebox.net
bobkare at irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4167 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20090131/d40845a9/attachment.bin>
More information about the Tilesathome
mailing list