Please or Register to create posts and topics.

Additional filter for route search

The routes database is a really great feature, but I find it hard to define a filter to get only 50 routes in the area of interest. Is it possible to implement a filter that selects all routes, that lead through the rectangle? It‘s important, that the routes don‘t have to be fully inside of the rectangle. With this filter you can define only a small part of the map to be inside of the rectangle without cutting away many interesting and long routes.

As an alternative, a filter that selects all routes with a selectable maximum distance from a special position would give the same benefit. The distance should be measured between the special position to the nearest point of the route.

Best Regards,

Tobias

Aososki has reacted to this post.
Aososki

Hi Tobias,

I had this with Scenic 1, but as the database of public routes kept growing these requests started to slow down the server, almost to a complete stop on busy days.

Such a request is inherently more resource (cpu and/or memory) consuming. With current way server only needs to check if bounding box of a route fits completely in selected area (in other words if north-west and south-east coordinates of min square map area containing the route, are both inside the selected map area).

For a request such as yours you have to see if each route bounding box overlaps with selected area (I.e. at least one of 4 bounding box corners needs to be inside selected area) and then check for each route where there is an overlap, if it actually passes through selected area (by checking if key coordinates along the route are in selected area) because overlapping bounding box does not necessarily mean that route itself goes through selected area.

Let me give this another try to see if I can make it more efficient. Open to suggestions.

cheers,

guido

If you're enjoying Scenic and are happy with the support, please leave a nice rating in the App Store. It would mean a lot to me ❤️

Hi Guido,

Okay. This sounds like a time consuming algorithm. I wouldn‘t have thought, that you have to do it like this.

Would it be more efficient to calculate the minimum distance from some location to the nearest point of each route? I fear this is not very efficient also.

I‘m just looking for something to get a better overview of possible routes without missing just the best one because I have to select a small area. Maybe I‘ll have further ideas in the future.

Best regards,

Tobias

This exact thing. I want to find all the great routes that start within say 15 miles of my house. I’m happy to ride 150 miles or so, but if I make the bounding box big enough to give that length of ride, a) I have to keep adding filters to get it below 50 results so I’m missing out on too many, b) most of them start 50 or more miles away so no use to me.
I want to be able to tap in to routes that intersect near enough for me to join them easily.

Thanks @guidomm for a fantastic app! I show it every biker I ride with.

I'm going to change this behaviour a bit for Scenic 3 (next motorcycle season), offering you more ways to find public routes.

Aososki and Bradiac have reacted to this post.
AososkiBradiac
If you're enjoying Scenic and are happy with the support, please leave a nice rating in the App Store. It would mean a lot to me ❤️

That’s great news! Thank you for being so responsive!!

Is this still under consideration? I am at the point where I never use the search feature on this app. Trying to find a 400-500 km route around my house is just impossible. In order to get less than 50 results, I have to make the search square so small that all I get are routes that are less than 80 km long.

Or perhaps I am missing something?

Aososki has reacted to this post.
Aososki

It is. Will be part of the big update I’m working on now.

Aososki has reacted to this post.
Aososki
If you're enjoying Scenic and are happy with the support, please leave a nice rating in the App Store. It would mean a lot to me ❤️

Fingers crossed, I stopped using this 3 years ago, waiting for the fix lol…

Meanwhile you can also use the filters to reduce the number of search results (Min. avg rating, at least x ratings, distance). That should at least allow you to make the square a bit bigger.

If you're enjoying Scenic and are happy with the support, please leave a nice rating in the App Store. It would mean a lot to me ❤️