Ignore nodes with latitude values outside of mercartor projection
This commit is contained in:
parent
02c11caf7f
commit
bd6f2db1d1
@ -53,7 +53,8 @@ ExtractorCallbacks::~ExtractorCallbacks() {
|
||||
|
||||
/** warning: caller needs to take care of synchronization! */
|
||||
bool ExtractorCallbacks::nodeFunction(_Node &n) {
|
||||
externalMemory->allNodes.push_back(n);
|
||||
if(n.lat <= 85*100000 && n.lat >= -85*100000)
|
||||
externalMemory->allNodes.push_back(n);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user