Feature request #16955

Add different interpolation to Densify

Added by Johannes Kroeger almost 3 years ago.

Assignee:Victor Olaya
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:24854


At least for some cartographic purposes it would be fantastic if Densify would let us not only add nodes to a geometry in a linear fashion (all nodes have the same distance to each other) but to specify something like common "density functions".

Eg I might want to get denser nodes on a line on its end compared to its start or have a gaussian normal distribution of points along the line. See the attached sketch for examples.

I could not figure out the right terminology for this. The closest analogy I have in mind is easing in animation (see https://github.com/d3/d3-ease) except for point density instead of movement.

densify distributions.png (3.96 KB) Johannes Kroeger, 2017-08-02 11:16 AM

Also available in: Atom PDF