Skip to content

Conversation

@robitalec
Copy link
Member

@robitalec robitalec commented Oct 31, 2025

Using calc_direction throughout functions, see #116

For direction_step, direction_to_centroid, direction_to_leader and edge_direction:

  • provide alternative sfc interface for direction functions
  • if coords are provided, ensure crs is provided (required for lwgeom::st_geod_azimuth)
  • if coords are NULL, use default "geometry" sfc interface
  • use env argument for programming on data.tables (Fix: Use data.table's env argument #95)

Will require tests added for direction_to_centroid and direction_to_leader after calc_centroid and calc_distance are used throughout (#127, #128)

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

Labels

type: enhancement new features, improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants