way id needs to be set again
This commit is contained in:
parent
7be723782a
commit
3986b30b00
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user