Hello, guys!

In my work I need to calculate isotherms, heatmaps, etc. on set of points in
geotools application. So, I use implementations of such algorithms from
package org.geotools.raster.

Alas, Barnes Surface seems to work wrong. I use it like this:

BarnesSurfaceProcess process = new BarnesSurfaceProcess();
GridCoverage2D coverage = process.execute(collection, //data
   "heatmap", //valueAttr
   500, //data limit
   15.0, //scale
   0.3, //convergence
   3, //passes
   2, //min observations
   15.0, //max observations
   Double.MAX_VALUE, //no data
   8, //pixels per cell
   40.0, //query buffer
   envelope, //outputEnv
   512, //outputWidth
   512, //outputHeight
   monitor //null monitor
);

And it returns coverage full of no data values.
Heatmap from the same package works just fine. I use it the same way on the
same collection of points.

HeatmapProcess process = new HeatmapProcess();
GridCoverage2D coverage = process.execute(collection, //data
   16,  //radius
   "heatmap", //weightAttr
   32, //pixelsPerCell
   envelope, //outputEnv
   512, //outputWidth
   512, //outputHeight
   monitor //null monitor
);

I wonder, what can be wrong with Barnes Surface?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Barnes-Surface-in-org-geotools-raster-tp5162773.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to