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

Removed a debugging message.

parent 42855c72
No related branches found
No related tags found
1 merge request!2Solved a bug when creating a new geometry object: the sale factor is...
...@@ -234,7 +234,6 @@ void COSMMap::normalize_locations(std::vector<osmium::Box> &boxes) ...@@ -234,7 +234,6 @@ void COSMMap::normalize_locations(std::vector<osmium::Box> &boxes)
GeographicLib::UTMUPS::Forward(bottom_left.lat(),bottom_left.lon(),zone,northp,min_x,min_y,gamma,k,this->utm_zone); GeographicLib::UTMUPS::Forward(bottom_left.lat(),bottom_left.lon(),zone,northp,min_x,min_y,gamma,k,this->utm_zone);
center_x=(max_x+min_x)/2.0; center_x=(max_x+min_x)/2.0;
center_y=(max_y+min_y)/2.0; center_y=(max_y+min_y)/2.0;
std::cout << max_x << "," << min_x << "," << max_y << "," << min_y << "," << center_x << "," << center_y << std::endl;
for(unsigned int i=0;i<this->nodes.size();i++) for(unsigned int i=0;i<this->nodes.size();i++)
this->nodes[i]->normalize_location(center_x,center_y); this->nodes[i]->normalize_location(center_x,center_y);
} }
......
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