Results 3 comments of Iman

Why not separate integers from doubles instead of introducing a new type (osm_id) in the JSON renderer package? Integers and doubles are well-defined types in general-purpose packages like JSON rendering,...

The point is that we should explicitly specify the type. If the value is an integer, we should use json::Integer; if it’s a double, we should use json::Double. For example,...

Hi @fenwuyaoji. We have the same issue. It converts 10003966158 node_id to 10003966160 as well. I opened a pr for it: https://github.com/Project-OSRM/osrm-backend/pull/7096 I think the approach implemented in this PR...