Skip to content

Commit

Permalink
shortening connecting road name. refs #2700
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 6, 2017
1 parent 5302eb2 commit aa38d72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/netwrite/NWWriter_OpenDrive.cpp
Expand Up @@ -334,8 +334,7 @@ NWWriter_OpenDrive::writeInternalEdge(OutputDevice& device, const NBEdge* inEdge
}

device.openTag("road");
// XXX device.writeAttr("name", cLeft.id);
device.writeAttr("name", cLeft.getInternalLaneID());
device.writeAttr("name", cLeft.id);
device.setPrecision(8); // length requires higher precision
device.writeAttr("length", MAX2(POSITION_EPS, length));
device.setPrecision(gPrecision);
Expand Down

0 comments on commit aa38d72

Please sign in to comment.