Interpolation of irregularly located data on

I am trying to display a colored surface in Worlwind Java , where colors depend on localized latitude / longitude values ​​(e.g. temperature) on a set of irregularly arranged data. I am using an example found in the gov.nasa.worldwindx.examples.analytics package . There is an Interpolator2D class, but it does not seem to be able to compute irregularly spaced data.

As far as I know, I’m missing just one thing: the way to generate a grid of regularly located points from a set of randomly located points. So far I have no way to do this.

Putting aside all WWJ materials, I need a way to create an interpolated (and possibly extrapolated) grid of values ​​from a set of arbitrary local values.

Any idea, code, API or algorithm is welcome. It doesn't matter if the solution does not work in lat / lon coordinates, arbitrary coordinates are accurate.

PS: Basically, I want to do this in java: stack overflow

Thank.

+3
source share

Source: https://habr.com/ru/post/1547831/


All Articles