DeloitteOptimalReality / LightOSM.jl

A Julia package for downloading and analysing geospatial data from OpenStreetMap APIs.
https://deloitteoptimalreality.github.io/LightOSM.jl/docs
Other
47 stars 12 forks source link

Allow different weight matrices to be passed in for path weight calculations #40

Closed mmiller-max closed 3 years ago

mmiller-max commented 3 years ago

Similarly to the update to shortest_path, allow users to pass their own weight matrices into total_path_weight and weights_from_path

codecov-commenter commented 3 years ago

Codecov Report

Merging #40 (48ada27) into master (f1be1a9) will decrease coverage by 0.55%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
- Coverage   67.10%   66.54%   -0.56%     
==========================================
  Files          11       11              
  Lines         836      843       +7     
==========================================
  Hits          561      561              
- Misses        275      282       +7     
Impacted Files Coverage Δ
src/shortest_path.jl 84.61% <100.00%> (-2.23%) :arrow_down:
src/nearest_node.jl 94.11% <0.00%> (-5.89%) :arrow_down:
src/geometry.jl 98.92% <0.00%> (-1.08%) :arrow_down:
src/parse.jl 74.15% <0.00%> (-0.85%) :arrow_down:
src/graph.jl 58.13% <0.00%> (-0.69%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f1be1a9...48ada27. Read the comment docs.