Skip to content

Conversation

@dakk
Copy link
Owner

@dakk dakk commented Nov 18, 2024

Fixes #11

@dakk dakk changed the title add get_current_best_path add get_current_best_path and improve performances Nov 19, 2024
@dakk dakk linked an issue Nov 19, 2024 that may be closed by this pull request
bearing = {}
for x in newisopoints:
k = str(int(math.degrees(x.startWPLos[1])))
k = str(int(math.degrees(x.startWPLos[1]) / subdiv))
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess that this is where the magic happen. I don't understand how you filter the iso points, if not too long can you explain?

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also explain how you set concurrency?

Copy link
Owner Author

Choose a reason for hiding this comment

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

I guess that this is where the magic happen. I don't understand how you filter the iso points, if not too long can you explain?

if you don't filter isopoint, you will get an enormous number of points at every step. This optional subdivision introduces the ability to reduce result resolution, so results that differs for a small amount of degrees are aggregated

Can you also explain how you set concurrency?

as other params routing_obj.algorithm.setParamValue("concurrent", True); anyway it's disabled by default since it is apparently slower

@IArchi
Copy link

IArchi commented May 7, 2025

Do you plan to merge this PR ?

@dakk dakk merged commit 2fc7f59 into master May 8, 2025
14 of 16 checks passed
@dakk dakk deleted the intermediate_path branch May 8, 2025 09:14
@dakk
Copy link
Owner Author

dakk commented May 8, 2025

Do you plan to merge this PR ?

Rebased and merged (y)

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.

Router accuracy & performance Path not populated until routing ends

4 participants