Merge pull request #20 from aheld84/edge-splitting
Fix edge splitting fragment ending up with wrong geometry in edge grid
This commit is contained in:
commit
e06c15656b
1 changed files with 1 additions and 1 deletions
|
@ -1357,7 +1357,7 @@ std::set<Node*> OsmBuilder::snapStation(Graph* g, NodePL* s, EdgeGrid* eg,
|
||||||
ll.push_back(*n->pl().getGeom());
|
ll.push_back(*n->pl().getGeom());
|
||||||
ll.push_back(*e->getTo()->pl().getGeom());
|
ll.push_back(*e->getTo()->pl().getGeom());
|
||||||
*nf->pl().getGeom() = ll;
|
*nf->pl().getGeom() = ll;
|
||||||
eg->add(l, nf);
|
eg->add(ll, nf);
|
||||||
|
|
||||||
// replace edge in restrictor
|
// replace edge in restrictor
|
||||||
restor->replaceEdge(e, ne, nf);
|
restor->replaceEdge(e, ne, nf);
|
||||||
|
|
Loading…
Reference in a new issue