QGIS and SpatiaLite extraction of distinct routes