[GRASS-user] v.kernel and yellow background

I am running v.kernel on a vector layer of points. The points are mostly bunched up in small-ish areas, but when I run v.kernel, the entire background is yellow.

Is it possible to make v.kernel use a transparent (clear) background where it finds no activity, rather than painting everything yellow first?

Aren

On Sun, Sep 11, 2011 at 10:49 PM, Aren Cambre <aren@arencambre.com> wrote:

I am running v.kernel on a vector layer of points. The points are mostly
bunched up in small-ish areas, but when I run v.kernel, the entire
background is yellow.
Is it possible to make v.kernel use a transparent (clear) background where
it finds no activity, rather than painting everything yellow first?

I suppose that you got the value 0.000000 in those cells.
This is different from NULL, hence it is not "transparent".

With r.null you can assign 0.0 to NULL.

Hope this helps
Markus

I applied that to the raster layer, and it had no effect. The entire background remains yellow.

Here’s the command: r.null test_fail_heatmap null=0.0

I also re-ran v.kernel and got no change.

Does http://trac.osgeo.org/grass/ticket/1276 have anything to do with this?

Aren

On Sun, Sep 11, 2011 at 4:27 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Sun, Sep 11, 2011 at 10:49 PM, Aren Cambre <aren@arencambre.com> wrote:

I am running v.kernel on a vector layer of points. The points are mostly
bunched up in small-ish areas, but when I run v.kernel, the entire
background is yellow.
Is it possible to make v.kernel use a transparent (clear) background where
it finds no activity, rather than painting everything yellow first?

I suppose that you got the value 0.000000 in those cells.
This is different from NULL, hence it is not “transparent”.

With r.null you can assign 0.0 to NULL.

Hope this helps
Markus