Skip to content

Speed zero should leed to access=no #367

Closed

Activity

  1. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    I am test car with turn restriction.

  2. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    The problem is related speed=0.

  3. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    #242

    The original edge has a tag: max_speed=1, I remove it.

    There shouldn't be an edge with 1 MPH for car in reality.

    In Graphhopper, the speed shouldn't be 0.
    If a edge with speed 0, should change it to unnavigable.

  4. karussell commented on Mar 13, 2015

    @karussell
    Member

    Thanks for reporting and investigating. I think we should set this as unnavigable in the import if speed is 0, otherwise we would have to check the speed on every read which is too expensive

  5. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    I prefer to ignore maxspeed=1, it's ridiculous.

    Yes. Definitely there shouldn't be an edge with speed=0.
    map matching found it as the origin, but it's not searchable due to speed=0.

  6. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    what I have saw the real maxspeed is 5 MPH.
    Usually it's in parking lot.
    How could be 1 MPH, it's slower than walk.

  7. karussell commented on Mar 13, 2015

    @karussell
    Member

    I prefer to ignore maxspeed=1, it's ridiculous

    Hmmh, not sure. At least we'll set accessibility to no in case of speed is 0

  8. zhiqiangZHAO commented on Mar 13, 2015

    @zhiqiangZHAO
    ContributorAuthor

    That's also good.
    At least the road with very low speed are very rare.

  9. karussell commented on Mar 13, 2015

    @karussell
    Member

    They do not take into account the whole road probably due to speed == 0

    But again, this is easy to fix directly on import

  10. changed the title [-]Can't generate route?[/-] [+]Speed zero should leed to access=no[/+] on Mar 17, 2015
  11. andreaswolf commented on Apr 19, 2015

    @andreaswolf
    Contributor

    @zhiqiangZHAO just a sidenote: Some people might have used maxspeed=1/0 as a binary flag (“there is a speed restriction”).

  12. zhiqiangZHAO commented on Apr 20, 2015

    @zhiqiangZHAO
    ContributorAuthor

    @karussell the speed is not 0. the max speed is 1. when GH try to encode it, it turn to 0.

  13. zhiqiangZHAO commented on Apr 20, 2015

    @zhiqiangZHAO
    ContributorAuthor

    @andreaswolf I don't understand what you mean here. Could you explain what maxspeed=1/0 means?

  14. andreaswolf commented on Apr 21, 2015

    @andreaswolf
    Contributor

    @zhiqiangZHAO I mean that some mappers could use maxspeed as a binary flag: 0 = there is no speed limit, 1 = there is a speed limit (but I don’t know it). This is of course not so clever, but some OSM mappers might still use it. Therefore, I’d not interpret speed limits that low, but only use limits from ~ 5 km/h on.

    I tried to filter a map of Germany for such low speed limits, but I did not succeed – either there is no such entry, or I did something wrong. Don’t know, I’m not too much into the details of osmosis.

  15. zhiqiangZHAO commented on Apr 24, 2015

    @zhiqiangZHAO
    ContributorAuthor

    Thanks @andreaswolf.
    Good to know this interesting convention.

  16. added
    good first issue
    on Apr 28, 2015
  17. andreaswolf commented on Apr 29, 2015

    @andreaswolf
    Contributor

    @karussell @jansoe any opinion on this? I think this could be dropped, as the mentioned attribute values are nearly unused.

  18. karussell commented on Apr 29, 2015

    @karussell
    Member

    Yes, but I think GraphHopper should still properly handle if speed is near 0. E.g. if precision is 5 and speed is 4 then it will set it to 0. In that case it is okayish BUT if this happens in import the access flag has to be set to false.

  19. added this to the 0.5 milestone on May 27, 2015
  20. karussell commented on May 27, 2015

    @karussell
    Member

    Please review the fix and let me know if this is okay

  21. added a commit that references this issue on Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions