Skip to content

Use a point along the edge geometry to determine areas - #2472

Merged
easbar merged 2 commits into
graphhopper:masterfrom
otbutz:country_way
Nov 19, 2021
Merged

easbar merged 2 commits into
graphhopper:masterfrom
otbutz:country_way

Conversation

@otbutz

@otbutz otbutz commented Nov 19, 2021

Copy link
Copy Markdown
Contributor

Fixes #2467

@cosmin-petrescu i added you as co-author

@otbutz
otbutz requested a review from easbar November 19, 2021 11:17
@easbar easbar added this to the 5.0 milestone Nov 19, 2021
@easbar
easbar merged commit 42525b6 into graphhopper:master Nov 19, 2021
@easbar

easbar commented Nov 19, 2021

Copy link
Copy Markdown
Member

Thanks!

easbar added a commit that referenced this pull request Nov 19, 2021
@cosmin-petrescu

Copy link
Copy Markdown
Contributor

Thank you!

@easbar

easbar commented Nov 19, 2021 •

Copy link
Copy Markdown
Member

I don't have a real-world example right now, but probably we should still use the geometric center for edges with only two nodes? Otherwise we might face the problem that we use a node that is close to the border again. -> fixed in #2474

@otbutz

otbutz commented Nov 19, 2021

Copy link
Copy Markdown
Contributor Author

I'll craft a PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use a point along the edge geometry to determine the country/custom_areas

3 participants