Skip to content

Commit

Permalink
Merge pull request #12 from hove-io/reapply_pr2_and_pr3
Browse files Browse the repository at this point in the history
reapply pr2 and pr3
  • Loading branch information
Patrick Qian authored Feb 10, 2023
2 parents 203d94b + 5aa26e6 commit ae51711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ message BikeShareStationInfo {
string operator = 5;
float rent_cost = 6;
float return_cost = 7;
float osm_node_id= 8;
string osm_node_id= 8;
}

message TransitPlatformInfo {
Expand Down
2 changes: 1 addition & 1 deletion src/mjolnir/pbfgraphparser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ struct graph_callback : public OSMPBF::Callback {
n.set_latlng(lng, lat);
n.set_type(NodeType::kBikeShare);
valhalla::BikeShareStationInfo bss_info;
bss_info.set_osm_node_id(osmid);
bss_info.set_osm_node_id("poi:osm:node:" + std::to_string(osmid));

for (auto& key_value : *results) {
if (key_value.first == "name") {
Expand Down

0 comments on commit ae51711

Please sign in to comment.