Fix bug in exclusion of small water bodies#601
Conversation
|
Thanks for your fix. |
|
@afischerdev, it's been a month now with zero input on this. Why don't we fix this bug and what prevevents us from going back to a sane threshold of around 8000 square meters? |
This PR fixes the bug that the threshold is currently ~ 1000 square feet instead of 1000 square meters. |
|
Another example. This little basin (less than 300 m² in size) is causing |
I'm not sure about this.
Seems the area_4326 is the correct value for sqr meter. |
|
@afischerdev, yes, I got the square feet wrong, but that doesn't change the fact that the current code never gives a threshold of 1000 square meter unless you are at the equator. Essbee59 wants a 1000 square meter threshold, I'm fine with a 1000 square meter threshold and this pull request does get us a 1000 square meter threshold, so please let us merge it. |
|
Yes, 1000 is at the equator! It seems extremly important for you to be "exact" by a parameter that can just be set with feeling / testing... |
Yes, but the intention was 1000 square meters and not < 300 square meters. That's the whole point of this pull request.
Me too, see: #614 |



This little pond was causing
estimated_river_class=2on the Hackländerstraße:It would probably also be worth discussing whether it would not make sense to raise the threshold back to something near the original value of around 8000 square meter:
brouter/misc/scripts/mapcreation/brouter.sql
Line 475 in e66468b