Opened 2 years ago
Last modified 2 years ago
#23229 new enhancement
JOSM-mapcss does not return nodes from nested relation, way, node child selectors — at Version 3
| Reported by: | pierzen | Owned by: | pierzen |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | mapcss parent child selector | Cc: |
Description (last modified by )
Trying to select both ways and nodes from a relation, ways are selected and colored apporpriately but selector for nodes from the ways do not select and color the nodes part of these ways.
The example below shows the mapcss to reproduce the problem. The part 1 selects successfully all ways from a [natural=water] relation. But the second section returns no nodes, this with no error message.
- 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; }
- 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 (7)
comment:1 by , 2 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 2 years ago
| Summary: | JOSM-mapcss does not return nodes from nested relation, way, child selectors → JOSM-mapcss does not return nodes from nested relation, way, node child selectors |
|---|
comment:3 by , 2 years ago
| Description: | modified (diff) |
|---|---|
| Owner: | changed from to |
| Status: | new → needinfo |
by , 2 years ago
| Attachment: | natural-way-and-relation.osm added |
|---|
by , 2 years ago
| Attachment: | natural_way_node_childs_selectors.mapcss added |
|---|
by , 2 years ago
| Attachment: | natural_way_node_childs_selectors_expected_results.png added |
|---|
by , 2 years ago
| Attachment: | natural_way_node_childs_selectors_reproduce_problem.png added |
|---|
Note:
See TracTickets
for help on using tickets.



Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.
Please add all needed information according to this list:
To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Help →
Report Bug.
Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!
Please attach the status report.