way id needs to be set again

This commit is contained in:
DennisOSRM 2011-12-02 16:43:44 +01:00
parent 7be723782a
commit 3986b30b00

View File

@ -315,6 +315,7 @@ private:
for(int i = 0; i < threadData->PBFprimitiveBlock.primitivegroup( threadData->currentGroupID ).ways_size(); i++) { for(int i = 0; i < threadData->PBFprimitiveBlock.primitivegroup( threadData->currentGroupID ).ways_size(); i++) {
const OSMPBF::Way& inputWay = threadData->PBFprimitiveBlock.primitivegroup( threadData->currentGroupID ).ways( i ); const OSMPBF::Way& inputWay = threadData->PBFprimitiveBlock.primitivegroup( threadData->currentGroupID ).ways( i );
_Way w; _Way w;
w.id = inputWay.id();
unsigned pathNode(0); unsigned pathNode(0);
for(int i = 0; i < inputWay.refs_size(); i++) { for(int i = 0; i < inputWay.refs_size(); i++) {
pathNode += inputWay.refs(i); pathNode += inputWay.refs(i);