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:
Bryan Housel
2018-02-28 13:42:26 -05:00
parent f9d000a8a5
commit e1cf49eaff
-11
View File
@@ -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'}),