Repository navigation
Conversation
|
Here are some measurement results for austria-latest.osm.pbf: With some extensions it will be possible provide the information about the absence or presence of the |
|
@karussell , @easbar Could you please provide feedback here? From my point of view this improves the bicycle (and eventually foot) routing quite a lot and it is worth the slightly increased preparation time. |
|
Looks really interesting in my opinion and improves a problematic route which I always thought should be improved :) The question is how we determine if it improves routes in general and when this chage introduces too much detour. Also how much more memory does this require for a planet-wide import? And did I read it correctly that the new pass0 overhead could be removed via "shuffling" the import work a bit? |
|
Thanks for taking a look on it!
This is pretty much in control of the user as he/she may change the priority in the custom model noisy_road_nearby.json, isn't it? The
With my 8GB RAM I don't have the means to check that. But as you asked, I now added some log information, which @easbar used during his development of the landuse branch: 66447d9. For Austria I get following output: I think that means a total of about 64 MB. But probably this 8.5% fraction of the 750 MB pbf input file size for Austria cannot be extrapolated for the planet. This would better be tried out instead. So maybe you could do it if you have the time and the means? I estimate it would be something in the range of 7-10GB for the planet. I didn't expect that you would think about activating this in the hosted instance per default, but of course this would be nice 😃 But in case that the RAM footprint for the planet is too high, this PR could still be merged and documented as an option.
The comment about the pass0/pass1/pass2 restructuring is from the landuse branch. I kept it, because I think that it is still valid. As it seems that you are interested in continuing the work on this PR, I'm now thinking about how this could be best tested. Would it be enough to add one new test in |
|
In 2fb4b62 I added the Hoyerswerda example from above as a testcase. |
# Conflicts: # core/src/test/java/com/graphhopper/routing/TrafficChangeWithNodeOrderingReusingTest.java
|
I now have access to a 128GB RAM machine. Here is the additional RAM usage for the current planet file: So the estimated extrapolation wit 7-10GB from above was pretty accurate as the measurement resulted in 8.8GB. I believe that this additional RAM usage is OK as it is allocated only during the import process and gets released before the CH calculation starts. |
This PR takes the ideas from the landuse PR in #2765 and applies them for the computation of a boolean
noisy_road_nearbyencoded value. An edge gets classified as noisy in case that its middle position is within a 15 meters range close to one of the following highway types:motorway, motorway_link, trunk, trunk_link, primary, primary_link, secondary, secondary_link.Currently there are no tests because I would like to know beforehand if there is a chance that this gets merged.