Skip to content

dbolta/spacing_calcs

Repository files navigation

spacing_calcs

Some different implementations for getting distance between line segments Implementations in snowflake sql

Child degradation- is simply a summing of segment lengths within a flat end-capped buffer. No flat buffer was natively available so implemented with python bindings

Draw linestring segments- a simple exmaple of how to draw linestrings from 2 XY endpoints

Create rays- how to get perpendicular distance from a target line segment to a neighboring segment

Draw rays- similar to "draw line segments" but to actually illustrate the rays

Rectangle ex- a method for creating boxes of minimum length to nearby line segment

Draw rectangles for viewer- illustrating the actual rectangle polygon shapes for rendering in a dashboard

About

Some different implementations for getting distance between line segments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors