Git Product home page Git Product logo

Comments (11)

afischerdev avatar afischerdev commented on June 26, 2024 1

Did only two of the ideas for a merge.
The samples above will work with this but I'm sure we will find more/other samples.

But I'm pausing here to add this to the necessary new APK.

from brouter.

quaelnix avatar quaelnix commented on June 26, 2024

The link works fine, but I don't know what the issue is:

Both times the start marker is on the same OSM way: https://www.openstreetmap.org/way/31462380

from brouter.

devemux86 avatar devemux86 commented on June 26, 2024

Another case discussed here: devemux86/cruiser#205

In this case @poutnikl CarProfiles seem to work.

from brouter.

poutnikl avatar poutnikl commented on June 26, 2024

In this case @poutnikl CarProfiles seem to work.

That is funny, as I consider them obsolete, not updating them for years, because of the internal kinematic model, developed by @abrensch for his car profiles. OTOH, they can be used as a fallback in case something goes wrong in recent development.

from brouter.

afischerdev avatar afischerdev commented on June 26, 2024

We have two problems around this discussion - all depend on the large distances in this area.

  1. based on the sample above: car-eco not work: route link
    The routing process doesn't complete.. It is trying to find a route again and again. At the end a runout of points. So you have the message 'from-position not mapped ...'

    if (inRadius && (isFinalLink || bestPath.cost + bestPath.airdistance <= maxTotalCost + 100)) {
    at RoutingEngine line is the breaker. The constant of 100 is to small in this case.
    There is an other maxTotalCost + 100 in line
    I would like to set this constant to waypointCatchingRange (default 250)

  2. The second is base on this sample . A really 'from-position not mapped' problem, the point is not found.

    area_arabia

    The area shows the searching area for this from point and the way segments around. Bouter also have a look in the eight areas around. But as you can see the top left point is not in that range. So there is no way segment for this point.
    This is a general problem with ares like this that was planned with a ruler.
    I thought there might be a way to generate pseudo points. But for the tile generation process, this means checking all distances of all points. Might be a bit time consuming.

from brouter.

devemux86 avatar devemux86 commented on June 26, 2024

I would like to set this constant to waypointCatchingRange (default 250)

👍

from brouter.

abrensch avatar abrensch commented on June 26, 2024

I thought there might be a way to generate pseudo points. But for the tile generation process, this means checking all distances of all points. Might be a bit time consuming.

At this Stage in preprocessing there's already douglas-peuker Elimination for Points that are too dense, so doing the opposite Here should be similar in Processing cost

from brouter.

devemux86 avatar devemux86 commented on June 26, 2024

Another BRouter example reported here: devemux86/cruiser#227 (reply in thread)
(we see several failed routes even with waypoints exactly on road network)

I can reproduce the report with a small BRouter route:

  • Working route
  • Not working route (adding a waypoint on a long straight highway)
  • I can make it working if I add in car-fast profile: assign waypointCatchingRange = 2000

from brouter.

afischerdev avatar afischerdev commented on June 26, 2024

@abrensch
douglas-peuker routine was a great idea. I got it runnung to add some points. But still not finding the 'from' point. I will go on deeper.

from brouter.

abrensch avatar abrensch commented on June 26, 2024

Ja Not so easy. It does not Help to add it as a "Transfer node". It need to become a Network node, located in the Micro tile that does Not have one yet.

from brouter.

afischerdev avatar afischerdev commented on June 26, 2024

@abrensch
Yes, I think so. At the moment I'm back to standard rd5. Not all options done here.
area2_arabia
The points showing the area BRouter is searching for. I doesn't enter a square North of from position.
I make tests with fallback to get all the 8 blue areas around.

from brouter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.