Opened 2 years ago

Last modified 2 years ago

#23229 new enhancement

JOSM-mapcss does not return nodes from nested relation, way, child selectors — at Initial Version

Reported by: pierzen Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: mapcss parent child selector Cc:

Description

Trying to select both ways and nodes from a relation, ways are returned but not the nodes from the ways.

In the example below, part 1 selects successfully all ways from a [natural=water] relation. But the second section returns no nodes, this with no error message.

  1. way child selector from relation - works fine

relation[type=multipolygon][natural=water] > way::lnatural_way, area[natural] > way::lnatural_way
{

set .natural_way; z-index:50;
color: red; width: 2; opacity:1;

}

  1. way child selector from ways selected - returns nothing - no error reported

way.natural_way > node
{

set .natural_water_way_node;
symbol-shape:pentagon; symbol-size:46; symbol-stroke-color:black;
symbol-stroke-width:2; symbol-stroke-opacity:1;
symbol-fill-color:red; symbol-fill-opacity:1;

}

Change History (0)

Note: See TracTickets for help on using tickets.