From: Simone G. <sim...@gm...> - 2008-04-30 15:03:32
|
I guess the easiest thing to do is first create an empty image and then feed it to a gridcoverage factory. Easiest way to create an empty raster with some initial values for each band is the Constant JAI operator. See http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/ConstantDescriptor.html. Regards. On Wed, Apr 30, 2008 at 12:12 PM, Anaxa Gore <ana...@gm...> wrote: > Hi, > > I would like to create an "empty" single band GridCoverage2D (all points at > "0"). > Next, I perform a calculation on some datas, and put points of interest > into this GridCoverage (with value other than 0), depending on their > geographic position... > Finally, I vectorize this gridcoverage to get areas corresponding to points > aggregates... > > I could not find any information about how to create an empty > GridCoverage2D... > If somebody could give me an advice or a link ... It would be great ! > > Thanks > Thomas, > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it ------------------------------------------------------- |