Removing a few lines of uncommented debug code
This commit is contained in:
parent
5347b285e5
commit
0e44126df6
@ -161,9 +161,6 @@ private:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int keyValue = dense.keys_vals ( denseTagIndex+1 );
|
int keyValue = dense.keys_vals ( denseTagIndex+1 );
|
||||||
/* Key/Value Pairs are known from here on */
|
|
||||||
// std::cout << "[debug] node: " << n.id << std::endl;
|
|
||||||
// std::cout << "[debug] key = " << PBFprimitiveBlock.stringtable().s(tagValue).data() << ", value: " << PBFprimitiveBlock.stringtable().s(keyValue).data() << std::endl;
|
|
||||||
std::string key = PBFprimitiveBlock.stringtable().s(tagValue).data();
|
std::string key = PBFprimitiveBlock.stringtable().s(tagValue).data();
|
||||||
std::string value = PBFprimitiveBlock.stringtable().s(keyValue).data();
|
std::string value = PBFprimitiveBlock.stringtable().s(keyValue).data();
|
||||||
keyVals.Add(key, value);
|
keyVals.Add(key, value);
|
||||||
@ -206,7 +203,6 @@ private:
|
|||||||
}
|
}
|
||||||
assert(inputWay.keys_size() == inputWay.vals_size());
|
assert(inputWay.keys_size() == inputWay.vals_size());
|
||||||
for(int i = 0; i < inputWay.keys_size(); i++) {
|
for(int i = 0; i < inputWay.keys_size(); i++) {
|
||||||
// std::cout << "[debug] key: " << PBFprimitiveBlock.stringtable().s(inputWay.keys(i)) << ", val: " << PBFprimitiveBlock.stringtable().s(inputWay.vals(i)) << std::endl;
|
|
||||||
const std::string key = PBFprimitiveBlock.stringtable().s(inputWay.keys(i));
|
const std::string key = PBFprimitiveBlock.stringtable().s(inputWay.keys(i));
|
||||||
const std::string val = PBFprimitiveBlock.stringtable().s(inputWay.vals(i));
|
const std::string val = PBFprimitiveBlock.stringtable().s(inputWay.vals(i));
|
||||||
w.keyVals.Add(key, val);
|
w.keyVals.Add(key, val);
|
||||||
@ -232,7 +228,7 @@ private:
|
|||||||
entityTypeIndicator = TypeRelation;
|
entityTypeIndicator = TypeRelation;
|
||||||
}
|
}
|
||||||
if ( group.has_dense() ) {
|
if ( group.has_dense() ) {
|
||||||
entityTypeIndicator = TypeDenseNode;
|
entityTypeIndicator = TypeDenseNode;
|
||||||
assert( group.dense().id_size() != 0 );
|
assert( group.dense().id_size() != 0 );
|
||||||
}
|
}
|
||||||
assert( entityTypeIndicator != 0 );
|
assert( entityTypeIndicator != 0 );
|
||||||
@ -242,7 +238,6 @@ private:
|
|||||||
blockCount++;
|
blockCount++;
|
||||||
currentGroupID = 0;
|
currentGroupID = 0;
|
||||||
currentEntityID = 0;
|
currentEntityID = 0;
|
||||||
// int stringCount = PBFprimitiveBlock.stringtable().s_size();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reverses Network Byte Order into something usable */
|
/* Reverses Network Byte Order into something usable */
|
||||||
@ -406,11 +401,6 @@ private:
|
|||||||
|
|
||||||
int currentGroupID;
|
int currentGroupID;
|
||||||
int currentEntityID;
|
int currentEntityID;
|
||||||
// bool m_loadBlock;
|
|
||||||
// long long m_lastDenseID;
|
|
||||||
// long long m_lastDenseLatitude;
|
|
||||||
// long long m_lastDenseLongitude;
|
|
||||||
// int m_lastDenseTag;
|
|
||||||
|
|
||||||
/* counting the number of read blocks and groups */
|
/* counting the number of read blocks and groups */
|
||||||
unsigned groupCount;
|
unsigned groupCount;
|
||||||
|
Loading…
Reference in New Issue
Block a user