Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to find closest point on polyline #10

Merged

Conversation

MichaelKutzner
Copy link
Contributor

Duplicates osr::distance_to_way() into geo repository.
This version removes some fields, that currently are not needed.

@felixguendling
Copy link
Member

/home/runner/work/geo/geo/include/geo/polyline.h:7:10: fatal error: utl/pairwise.h: No such file or directory

utl is missing in .pkg

CMakeLists.txt Outdated
@@ -22,4 +22,4 @@ target_compile_features(geo-test PUBLIC cxx_std_17)
if (NOT MSVC)
set_target_properties(geo-test PROPERTIES COMPILE_FLAGS "-Wall -Wextra")
endif()
target_link_libraries(geo-test geo doctest)
target_link_libraries(geo-test geo utl doctest)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
target_link_libraries(geo-test geo utl doctest)
target_link_libraries(geo-test geo doctest)

Der Test selbst bindet kein utl ein.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 1fbf9d0

@felixguendling felixguendling merged commit 26c730b into motis-project:master Aug 29, 2024
3 of 8 checks passed
@MichaelKutzner MichaelKutzner deleted the move-distance_to_way branch September 2, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants