Skip to content
Snippets Groups Projects
Commit 5cc02929 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Applied some filters to reduce the total number of nodes.

parent 7b8df10f
No related branches found
No related tags found
1 merge request!2Solved a bug when creating a new geometry object: the sale factor is...
......@@ -94,6 +94,12 @@ void COSMMap::process_map(void)
else
way_it++;
}
// remvoe colinear nodes in ways
for(unsigned int i=0;i<this->ways.size();i++)
this->ways[i]->remove_straight_nodes();
// remove nodes inside other ways width
for(unsigned int i=0;i<this->nodes.size();i++)
this->nodes[i]->remove_in_junction_nodes();
}
void COSMMap::create_junctions(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment