I want to snap the GPX-track to the road network as the image below shows. I found out, that "Hausdorff Distance" is exactly what I need and that it is usable with PostGIS. But unfortunately I have no idea how to work with it and even I don't know where to start. I'm not very familiar with PostGIS.
How do I use ST_HausdorffDistance (http://postgis.net/docs/ST_HausdorffDistance.html)? Is there any tutorial or workshop?
Im using qgis. The road-network comes from OSM (osm2pgsql).