Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Radim V

#1
Hi all. The problem is: Neither Brouter or the Locus internal router (LoRouter) can work with osm tagging that has arbitrary value. Both routers only see a large SET of known values. This set is possible to extend, but it is still a limited set. For example in access=private, access=permit the values are "private", "permit". These are known values, of course. In maxheight=3.75, "3.75" is not a known value. For this reason, routing aware of tunnel heights e.t.c is not likely to happen soon, unfortunately. Radim, backend dev.
#2
Dobrý den. Případ les u Jedovnic: Je tam skutečně zákaz vstupu kvůli kalamitě. Jak kalamitu dostal Seznam formou "no-go polygonu" do svých map a plánovače? Podle fcb odkazu na mapách (viz obrázek) nejspíš ručně. O spolehlivé, aktualizované databázi všech možných uzavírek nevíme ani pro ČR, natož třeba pro Evropu nebo dokonce svět. (Locus má uživatele po celém světě a věnovat velké redakční úsilí jen v ČR prostě nestačí). Technicky by rozšíření LoRouteru o možnost uzavírek problém nebyl, problém je management těch uzavírek, a to alespoň pro Evropu. Řešením by bylo pečlivé mapování v OSM datasetu, který náš routing využívá. Pak by nic externího nebylo třeba. (To je nejčistší a správné řešení).   
#3
Hello Lupin.
This is a good point.
Current state of .brf files and lookups.dat can be seen here
There are a few additions in the node section (for the exact reason you mentioned), like safety_rope=yes or ladder=yes. However none of the keys you have named specifically are referenced for nodes now. So this is something to consider, but a few overpass_turbo queries should be done before to check the frequency of their usage.
Short note on how tags are used:
- routing as such
- detection of warnings
- time adjustments for walking profiles
Thanks for your point!   
#4
Quote from: freischneider on January 19, 2024, 19:44:45I have tried routing with the LoRouter without my own shaping points. I set a starting point and then had a circular route suggested. The MTB profile was set. Latest beta from 19.01.2024.
The route is very bad. It runs on roads although there is a gravel path in parallel and even an MTB trail with S1 (red-blue).

I have set all shaping points myself in the past to force the path. I thought I would try again to see if the profile got better. But unfortunately it still doesn't suggest any good MTB trails. So I will probably do everything by hand as I have done since then.

Hi, freischneider
Here is a link to the first half of the route from the attached txt file.
https://link.locusmap.app/r/5o6vai
I can see some places where maybe the cycling route does not need to be strictly followed (while riding MTB).
Please show specifically what is wrong here.
The red blue path we see on your screenshot is followed. (Althougt a path is not followed just because somebody mapped its mtb difficulty).
#5
Locus Map / Re: [APP] - version 4.20.+ ( 11/2023 )
December 05, 2023, 20:21:14
Quote from: T-mo on November 29, 2023, 22:05:17
Quote from: Radim V on November 29, 2023, 20:27:07But unless I have a look into map data, this is just my guess. Please specify the location more.
sure: shared track @ web.locusmap.app-planner
Yes, the segment with warning is a secondary road without a (mapped) sidewalk. 
#6
Quote from: lostinwild on November 30, 2023, 12:32:59Hi!

Is it possible to use the route planner on imported tracks, as opposed to only tracks on the base map (e.g., OSM)?

Example: I have a bunch of tracks which represent various (short) sections of a network of off-trail routes that are not present on OSM. How can I plan a route between arbitrary points using these tracks?

Thanks!

Hi. From the computer science point of view this is certainly doable. The only real challenge is reliable detection of segments intersection. (Assuming all segments are accessible in both directions). But: such a work is a lot of work. The result would be a toy for few people imho. As a learning/hobby project this is a good idea/topic. For practical use I would follow what Michal suggested. 
#7
Locus Map / Re: [APP] - version 4.20.+ ( 11/2023 )
November 29, 2023, 20:27:07
Quote from: T-mo on November 28, 2023, 22:29:02I planned a route with profile 'walk' and get warned about 'heavy traffic' :o
The route is also not perfect, see top near scale - might probably be due to osm. I walked the route shortly and was able to use each sidewalk of the street.

BTW is there any way to deactivate these new warnings, i don't need them and map is pumped with unneeded signs?
Hi, because the warning for "heavy traffic" is just a short segment of otherwise identical street, it looks like the sidewalk is not mapped correctly. (There is no warning for secondary roads if there is sidewalk). But unless I have a look into map data, this is just my guess. Please specify the location more.
#8
Troubles & Questions / Re: Add LoPoints
September 11, 2023, 16:48:22
Hello all. There is a fully automated process that updates (changes e.g. names, websites, opening hours), disables or adds new points of interest. No human interaction involved. The logic may be sometimes a bit complex - e.g. "planed" or "demolished" map features are not added or are disabled, some frequent objects (cliffs, trees) have to be named or marked as a landmark, e.t.c. Yesterday some of you mapped in the osm db the wreck as inaccessible tourist attraction, so in a few days (during next update run) the point with red fence in detail (inaccessible place) should pop up in Locus. There will be no wikipedia - an id pointing to wikidata knowledge graph is currently needed for that. If somebody adds this link to osm, wiki will be processed on the 22 this month. There is already related tourist attraction - a propeller from this ship. Propeller Anyway wrecks in general (not tourist attraction tagged) are not considered and it is a good idea to include them. They will be added in the next batched addition.         
#9
Locus Map / Re: [APP] - version 4.17.+ ( 5/2023 )
August 01, 2023, 14:58:03
Quote from: Andrew Heard on July 27, 2023, 00:33:38
Quote from: Marek Scholtz on July 26, 2023, 08:44:29handling Google Maps share button should be fixed
thanks @Marek, and the issue reported many times, of search results from > 10,000km away at the top of the list, when there are closer matches on the map < 10km away?
This is not forgotten, just there is no "fix". There is tons of work to determine relevance of results and: Not everything is under my control. Also the rule that closer "match" is more important is oversimplification as we (not just me) agree. I may do some tweaks but proper solution takes time.
#10
Sorry, the profile is there. I see.
#11
Hello Lupin,
sorry for being late, but this is hard to investigate.
 - Locus router (both offline and online) is not guarantied to give results identical to Brouter project. Why is that: 1.not identical data are used for calculation. (This seems not to be the case here as your profiles work in both Locus router and Brouter). 2.There is constant development on both projects which we sync only sometimes (there may be minor changes in the algorithms e.t.c). We aim to keep online and offline version of Locus router identical.
 - Maybe more appropriate question here is: Is the calculated route wrong? How much error is there regarding your routing profile? Which one is the "right" one?
Would you share your custom profile please?
Radim.
#12
Other features / Re: Online search
May 29, 2023, 08:48:42
Quote from: michaelbechtold on May 28, 2023, 20:22:01Using online search a little bit and thinking about it a bit more, this is my summary:
- Google data repository is unmatched, beating Locus and any other searches hands down, whatever they try, for years to come
- Locus, for strategic reasons, also with iOS support in mind needs this independent online search
- on Android the Google API search is at no cost to Asamm, as Menion stated
- combining both searches technically seems not feasible, as per Menion's response
- to me, the obvious approach is
-- to have a Locus Search for Android and iOS alike
-- put a Google Search as separate function into the Android version

That would stop any need for tough comparisons and discussions, a d empower users to make their own choice, based on their needs.
Giving USERS a choice may not be a technician's first emotional approach, but is beneficial for all parties in the end.

And above approach would not add complexity to the UI a d user experience.

Hope is the last thing to die ;-)

Cheers
Michael


Hi Michael, just a few notes. Of course I agree Google (and few others big boys too) are rather impossible to match. But the current state of what we have in terms of "data repository", as you put it, is just the first step really. In terms of quantity of data it is easy to add dozens of millions of items by mining the OSM dataset. That is a matter of configuration and will be done. (Not all at once). Accuracy outside well mapped areas is not so great, sadly, as we know. Better search engine is hard but doable of course, that is just a lot of work again - these real world data use cases are not typically solved by technology providers. There is also tons of work making all this machinery to update data and talk to other pieces of machinery. But I don't see an easier way how to put together a consistent, world wide dataset of places and "points of interest" relevant to hike bike context. Of course G will find you the nearest "laundromat" way better than L. But how would you search for the nearest fire pits (worldwide). Of course there are some datasets available but maintaining all this together is a hell we (I) don't want to enter. I am an expert in the osm inconsistencies and weaknesses but IMHO this dataset is really needed here.
#13
Other features / Re: Online search
May 25, 2023, 13:58:07
@Andrew Heard
- There is some change: The first result in the list one gets when types a term and hits "find", is the nearest one. There will still be map view change as this cannot be done server-side, only in new app version. But drastic changes (thousand miles away zoom&pan) should only happen sometimes, if there is no nearby result. Anyway there is (now) no sort based on distance entirely.   
- "Glitches", or "Timing issue": This indeed looks like some async programming error but it is unfortunately not that simple. The reason is: For < 1% of the questions (queries) one of the engines is not performant enough. (Think too many disk reads as opposed to fast memory reads). Once there is a migration to some other solution, this should be solved.   
#14
Other features / Re: Online search
May 19, 2023, 21:15:50
GM share - we just probably forgot to test it.  :(
Zoom level affecting the composition of results, or maybe even search engines low level - this can be quite easily done (simple version) and I agree it is a next logical step.
Which bar is important and which is not: in the world of AI, some improvement over what we have now is IMHO quite possible, but very labourious and from the "data work" point of view also very hard.
Clusters of pois displaying numbers - server side this should be easy, front - end boys will hopefuly cope :-)
#15
Other features / Re: Online search
May 19, 2023, 16:33:30
Quote from: Andrew Heard on May 18, 2023, 12:51:53More thoughts bubble to the surface after a sleep... a better example, maybe - online search for "bar" (I'm in Dingle, Ireland, so plentiful POI). I don't yet tap the Find button. 1st item is "bar, pub - category" - good. The 2nd item is city of Barcelona - really? Maybe 2000km away. The 3rd item is "McCarthys Bar" 1km away - good. Now on 2nd test of same sequence Barcelona is 1st item.

This time I tap the Find button - "Paudies Bar" is maybe 800m way - good, but 2nd & 3rd list items are places in France with "bar" in their name eg. "19800 Bar, France" - bad, and"McCarthys bar" is lost. I now tap SEARCH THIS AREA - only 1 more local bar icon is shown, whereas there are dozens.

When tested with a phone there are only a few search results, but when tested with a tablet there are many more results.

When compared to LoPoints(offline)  with a Locus map there are 20+ bars within 500m.

1) should it even be necessary to tap Find? Just populate list after a pause in typing?

2) should it even be necessary to have a SEARCH THIS AREA button? Wouldn't most common search to be of visible map? When results are empty or scrolled to end of list, maybe the last item is "search wider area"?

3) I think @tapio suggested showing distance to each list item.

4) hover over any Search icon could display a popup or scroll the list otherwise it's not obvious which icon is which.

5) I think it is bad to zoom out (at all) to show icons in the list until one is even tapped, or at least restore original zoom/ position if Back button is pressed.

I hope this is constructive, and not just a rant.
The idea how to find a nearby bar is like this: Type "bar", "pub". Something like "Public service", "Bar, pub" is suggested. These are bars like category of places, whatever name they have. Then if you tap Bar, pub (category), the first item actually suggested, you will see some. No need to use "Find" at all for nearby bars. Not all of bars will pop up necessarily, because in many cases there would be no map, just icons. If you pan or zoom, more bars come and go. If there are many of them, close to each other, only a few are visible. If this does not work in Dingle, then the server must be down or something drastic must be happening.
Problems, or maybe problems:
 - Nobody tells you "zoom in to see them all" (Like Gmaps tells you)
 - Which bar is better, more important, thus visible first or recommended first place?: The Small Bridge or The Dingle Pub? We don't know yet and it is very difficult to answer this for the world wide data.
 - Sometimes only one icon is seen when there is a large cluster of places. Zoom in to see them all.
IMHO this approach makes sense. It has confusing aspects (mostly because we don't know what is important in the real world, and some ordering is virtually random), but it works and is not that pathetic.
The same way this category based search works for waterfalls, shelters, glaciers e.t.c
 1) unless there is some server problem, this is happening.   
A note about ordering: Order by distance exclusively is not used. There is a lot of work to do, but I don't think Barcelona for "Bar" is that irrelevant.