How to use map matching on Windows and how to get OSM node id?

See my comment here and this code: Retrieve OSM node and way ID