Hi,

I am using this code snippet to produce Gtiff images from density.ppp

  z<-density(mypattern, 6000,dimyx=200)
  zgrid <- as.SpatialGridDataFrame.im(z)
  writeGDAL(zgrid, "01.tif", type="Byte", options="INTERLEAVE=PIXEL")

Gtiff image is generated but gdalinfo among others reports that:
Image Structure Metadata: INTERLEAVE=BAND
Band 1 Block=200x40 Type=Byte, ColorInterp=Gray

The problem is I can not use the Gtiff image as a raster layer in mapserver
and other webgis that relies on it.
I need a three band interleave=pixel image in order to do that.

Any hints is appreciated.
Regards

-r

-- 
*L'unica speranza di catarsi, ammesso che ne esista una, resta affidata
all'istinto di ribellione, alla rivolta non isterilita in progetti, alla
protesta violenta e viscerale. (V. Evangelisti)
*

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to