How to get matched road osm-ids of every coordinates in my trajectory


#1

Hi, I’m new to java and have a foolish question here. I’ve got the result path composing of some turning points and directions by curl request as following,

make a U-turn onto 营门口路/desc>gh:distance408.4</gh:distance>gh:time24503</gh:time>gh:directionS</gh:direction>gh:azimuth183.23</gh:azimuth>gh:sign0</gh:sign>
But actually, to feature my trajectory I want to get the result like a set of osm-ids of every coordinates in my trajectory. Is there any topics or blogs can teach me how to accomplish it?
Thanks.