[Mapcss] ::subpart syntax

Paul Hartmann phaaurlt at googlemail.com
Sun Apr 22 14:36:27 BST 2012

2012/4/22, Kal Conley <kcconley at gmail.com>:
> Hi,
> I would like to get a clarification on the proposed ::subpart syntax.
> Would happens in cases with combinators? In particular the following is
> valid:
> way > node::A {

Exactly, perfectly valid.

> but what about:
> way::B > node::A {
> I think these cases should be syntax errors. How are parsers in the wild
> dealing with this currently?

Yes, it doesn't make sense to add a subpart to the parent object. In
JOSM, this is currently ignored, but it would probably be better to
show a warning or an error.


More information about the Mapcss mailing list