Skip to content

Improvements to the 'highest peaks' example #77

Description

@plepe

The 'highest peaks' example does not scale well with higher distances, resp. more peaks, as more and more distances have to be calculated. A different approach would be to order all peaks in the current view port by elevation descending and then process them one by one:

  1. the highest peak will be shown in any case
  2. the next highest peak only, if none of the already shown peaks is in the given range
  3. continue with 2.

This is currently not possible -> it requires (at least):

  • global variables
  • (quasi-) parallel execution of code
  • how to order objects for execution?

How could/should this code look like? Ideas?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions