diff --git a/proto/common.proto b/proto/common.proto index 41093efa29..02d8dd2dcf 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -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 { diff --git a/src/mjolnir/pbfgraphparser.cc b/src/mjolnir/pbfgraphparser.cc index 3c839522d4..c2b8515fd1 100644 --- a/src/mjolnir/pbfgraphparser.cc +++ b/src/mjolnir/pbfgraphparser.cc @@ -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") {