mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Remove the "excludes coincident highways" check
These should not be a thing, and if they are, I'm ok with them being treated as 2 separate ways. We can add code back in later if it turns out to be a widespread issue in OSM.
This commit is contained in:
@@ -22,17 +22,6 @@ describe('iD.osmIntersection', function() {
|
||||
expect(result.map(function(i) { return i.id; })).to.eql(['=']);
|
||||
});
|
||||
|
||||
//TODO?
|
||||
// it('excludes coincident highways', function() {
|
||||
// var graph = iD.coreGraph([
|
||||
// iD.osmNode({id: 'u'}),
|
||||
// iD.osmNode({id: '*'}),
|
||||
// iD.osmWay({id: '=', nodes: ['u', '*'], tags: {highway: 'residential'}}),
|
||||
// iD.osmWay({id: '-', nodes: ['u', '*'], tags: {highway: 'residential'}})
|
||||
// ]);
|
||||
// expect(iD.osmIntersection(graph, '*').ways).to.eql([]);
|
||||
// });
|
||||
|
||||
it('includes line highways', function() {
|
||||
var graph = iD.coreGraph([
|
||||
iD.osmNode({id: 'u'}),
|
||||
|
||||
Reference in New Issue
Block a user