Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Increased the precision of coordinates
Browse files Browse the repository at this point in the history
As a request fom #6
  • Loading branch information
Tristramg committed Apr 25, 2011
1 parent 1c4d50b commit 8e4c626
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ vector<Edge> Parser::get_edges() const
tmp.open("temp_ways");
node_t id, source=0;
stringstream geom;
geom.precision(10);
double length = 0, pred_lon = 0, pred_lat = 0;
char car_direct, car_rev, foot, bike_direct, bike_rev;
int nb;
Expand Down
1 change: 0 additions & 1 deletion parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ struct Parser
{
Node * source;
Node * prev;
std::stringstream geom;
NodeMapType nodes;
node_t ways_count;
int edge_length;
Expand Down

0 comments on commit 8e4c626

Please sign in to comment.