Select at least two objects

Started by franc, February 10, 2015, 00:09:13

0 Members and 1 Guest are viewing this topic.

franc

Hello

I don't know if this is a bug: when I compose manual a track by pointing on the map (vector, germany) and if I have enabled the "COMPUTE ROUTE" Icon (either with MapQuest or with BRouter) often I get an error:

QuoteSelect at least two objects
and:
QuoteTrack cannot be computed

this error pops up mostly if the next track-point is not very far from the previous.
But it is not only if it is just 10 m beside, also when the points are some streets away it could happen, which is sometimes neccessary to get the exact route I want.

I am on SGS4 (OS 4.4.2 Omega v40) with actual Locus version and BRouter 1.1

Thank's

frank
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

gynta

Quote from: franc on February 10, 2015, 00:09:13
...either with MapQuest or with BRouter...
and Google and GraphHopper.
 

Christian

In addition:
This happens also if you try to join two paths wich have no logical connection.
  •  

tommi

BRouter doesn't have data for every cm but depending on turns, crossings, etc.only in certain minimum distance. I assume BRouter takes the next point in its database according to the distance to the actual selected point by the user. If the user selects two points they can be projected on the same point in the database -> no calculation possible due to seemingly distance=0m.

In addition it can also happen that for the selected profile (e.g. car!) there is no possible connection between the two points. Assume one point in a street, the other one in a pedestrian area, blocked by a pole,  ...
  •  

gynta

QuoteBRouter
Same message with all other services.
Quotetakes the next point
(screenshot) there is a path from junction to junction.
QuoteIn addition it can also happen that for the selected profile
always with "foot"-profile.

Menion

hi, I'll check it more precisely home but this problem only happen when you try to compute really short track right?
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

franc

Quote from: menion on February 11, 2015, 17:29:32
... this problem only happen when you try to compute really short track right?
No, could be 100 meter or more.
And if once this error came, it likes to show up again and again.
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

Christian

I guess it's a matter of non-exact mapping of cursor to an object on the map.
  •  

franc

Quote from: Christian on February 11, 2015, 22:30:13
I guess it's a matter of non-exact mapping of cursor to an object on the map.
I disbelieve this. Then it would be independent of the nearess of the two points.
In fact it happens to me only if the two points are not too far from each other, but this is often neccessary to select the exact route, so that the engine (BRouter, Google or Grasshopser etc.) doesnt route otherwise and to be fast in setting the points.
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

franc

Any news about this issue?
Is it a Locus bug?
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

Menion

Ah sorry, thanks for reminder.

I'm checking problem and found in code very simple condition ... "if new point is not far then 100 metres from previous, do not add it to compute". That is all.

I've changed it to 10 metres too keep at least a very simply check for double points and changed notification to be more clear ("points are too close").
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

franc

Quote from: menion on February 20, 2015, 15:55:05
I'm checking problem and found in code very simple condition ... "if new point is not far then 100 metres from previous, do not add it to compute". That is all.

I've changed it to 10 metres too keep at least a very simply check for double points and changed notification to be more clear ("points are too close").
Very good, thank you for this !
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

Christian

  •  

franc

#13
It works with the update of today, it is fixed!
This the little things this app makes so great, apart from all functions :D
Over 10 meter:

Under 10 meter error with clear message, which is ok:


EDIT: reduced the huge Tapatalk images to 400 px width (IMG width=400)
Locus Pro - always the actual version on Xiaomi Mi A1 mit Android 9
  •  

Menion

glad to hear, next trouble solved. Thanks for confirmation.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •