Ignore:
Timestamp:
2026-07-23T17:52:56+02:00 (3 days ago)
Author:
stoecker
Message:

fix #20421 - patch by francois.lacombe - Power preset additions for transfomer and power plant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/geometry.mapcss

    r19570 r19590  
    430430}
    431431
     432/* 20421 */
     433area[power=substation] ⊇ *[transformer=distribution] {
     434  throwWarning: tr("A distribution transformer shouldn't be contained in a substation.");
     435  suggestAlternative: "transformer=main";
     436  fixAdd: "transformer=main";
     437}
     438
    432439/* #21801 */
    433440way[railway][railway !~ /^(turntable|traverser|platform_edge|roundhouse|workshop|platform)$/] > node[/railway$/ !~ /^(switch|railway_crossing)$/][count(parent_osm_primitives("railway")) > 2]:connection,
Note: See TracChangeset for help on using the changeset viewer.