Modify ↓
Opened 9 years ago
Last modified 9 years ago
#14804 new defect
Unify case handling for boolean tag values
| Reported by: | michael2402 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
We currently have:
OsmUtils#getOsmBoolean()accepting all cases fortrue,yes,1,onOsmUtils#isTrue(),OsmUtils#isFalse()accepting lower casetrue,yes,1,onOsmPrimitive#isKeyTrue(key)accepting lower casetrue,yes,1,onOsmPrimitive#hasAreaTags()accepts onlyyesWay#isOneway()accepting all cases fortrue,yes,1,onand-1, but notreverse- Relation map painting respects
oneway=-1, but notreverse ReverseWayTagCorrectoronly accepting lower case, but accepting-1andreverse
In tests:
Highway#testWrongRoundabout: accepting all cases fortrue,yes,1,onfor oneway, but none of the reversed.UntaggedWaytest accepts only noname=yes
That's what I found so far. We should unify this and decide on a common policy here.
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Conclusion: