Skip to content

Commit

Permalink
Change CSV output to not put full OSM URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Sep 5, 2024
1 parent 9336e76 commit 3047186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions od2net/src/network/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ impl Network {
.get(&(*node1, *node2))
.or_else(|| self.edges.get(&(*node2, *node1)))
{
let way = edge.way_id;
writeln!(file, "{way},{node1},{node2},{count}")?;
let way = edge.way_id.0;
writeln!(file, "{way},{},{},{count}", node1.0, node2.0)?;
} else {
skipped += 1;
}
Expand Down

0 comments on commit 3047186

Please sign in to comment.