Skip to content

Urban encoded value #2395

Closed
Closed

Description

@easbar

It would be very useful to be able to determine whether or not a road is within city limits or not. Very unclear how we should do this yet, but maybe we can discuss this here. See, e.g. this and the following comments: #2392 (comment)

Activity

  1. FranciscoBastos commented on Mar 26, 2022

    @FranciscoBastos

    Hi,

    My colleague Ana Rita and I are students at masters in software engineering at FEUP (https://paginas.fe.up.pt/~estudar/mesw/). As part of evaluating one of the curriculum units, we need to choose an open-source project and fix an issue. We would like to know if we could help with this issue?

  2. otbutz commented on Mar 28, 2022

    @otbutz
    Contributor

    I'm not part of the GraphHopper team but contributions are always welcome 😉

    That being said, I expect the work on this particular ticket to be quite research intensive (which is not a bad thing).

  3. easbar commented on Mar 28, 2022

    @easbar
    MemberAuthor

    Hello Francisco, I'm glad you are offering your help. Is there any reason why you picked this particular issue? I think I have a rough plan how to solve it. I'd like to use the road density to distinguish rural from urban areas. In the simplest version it would be just the accumulated length of all roads in an area divided by that area. I tried this already and it is fairly easy to calculate this measure for a single edge and I was able to distinguish urban and rural areas as well. But right now we have a bigger refactoring (#2141 #2463) going on and I want to postpone this work until then (probably a month or two from now). So if you need to actually have some of your work merged here for your studies I'm not sure if this is the best thing to work on right now.

    If on the other hand you rather want to do some research work you could try to find a way to quickly calculate the road density for all edges in a planet-wide graph (around 300mio edges). Something like one or two hours on a single core would be good. Another (to me) open question is how large the area we use to calculate the road density should be so we can reliably use it to identify 'urban' areas and maybe even separate city centers where a slower driving speed must be expected from less densely populated areas. Instead of just taking into account the road lengths we could also use a weighted sum that depends on the type of the roads, but IMO first we should keep it simple and see how far we get without this. This would definitely be a very useful contribution, but like I said it might take some time until it will be actually added to master.

  4. otbutz commented on Mar 29, 2022

    @otbutz
    Contributor

    @easbar i think you might have linked the wrong issue 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions