Modify

Opened 6 years ago

Closed 5 years ago

#17449 closed defect (fixed)

False positive Osmose 1200 warning

Reported by: anonymous Owned by: abalosc1
Priority: minor Milestone:
Component: External rule Version:
Keywords: Cc: frodrigo, naoliv

Description

Please have a look at the attached file. The warning only goes away when you invert the building's multipolygon elements order.

  1. Run the validator with enabled Osmose Validation
  2. Look for the Osmose 1200 warning

Attachments (1)

osmose_1200.osm (579.2 KB ) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (9)

by anonymous, 6 years ago

Attachment: osmose_1200.osm added

comment:1 by stoecker, 6 years ago

Cc: frodrigo added; abalosc1 removed
Owner: changed from team to abalosc1

comment:2 by Klumbumbus, 6 years ago

Way 591812104 is first member in one MP and last member in another MP and therefore beats that little "hack" :)

/* 1-member-relation -- OSMOSE Item 1200 */

relation[type] >[index=-1] way {
    set member;
}

relation[type][type!~/^(defaults|route|route_master|associatedStreet)$/][site!=geodesic] >[index=1].member way {
    throwWarning: tr("1200: One Member Relation; Check for other members or remove relation");
    -osmoseItemClassLevel: "1200/12001:1/2";
    -osmoseTags: list("relation", "fix:chair");
    group: "OSMOSE 1200 - 1-member relation";
}

comment:3 by anonymous, 6 years ago

It looks like the rule doesn't like u-turn restrictions either.

in reply to:  3 comment:4 by dmanzer95, 6 years ago

Replying to anonymous:

It looks like the rule doesn't like u-turn restrictions either.

looking into this

comment:5 by dmanzer95, 6 years ago

1 member relation checks have been set to exclude u-turn restrictions

comment:6 by naoliv, 6 years ago

Ticket #17964 has been marked as a duplicate of this ticket.

comment:7 by naoliv, 6 years ago

Cc: naoliv added

comment:8 by abalosc1, 5 years ago

Resolution: fixed
Status: newclosed

this check has been removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain abalosc1.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.