Anaxa Gore a écrit :
The only thing i do is this :
Color[][] colors = new Color[][] {{Color.WHITE, color}};
GridCoverage2D gc = gcf.create(Horizon Coverage, rasterCoverage,
this.rasterEnvelope,null,null,null,colors,null);
I am searching how to create the style !!!
I want the white
Martin Desruisseaux wrote:
Anaxa Gore a crit :
The only thing i do is this :
Color[][] colors = new Color[][] {{Color.WHITE, color}};
GridCoverage2D gc = gcf.create("Horizon Coverage", rasterCoverage,
this.rasterEnvelope,null,null,null,colors,null);
I am searching how to
Anaxa Gore wrote:
Hi,
I am writing some geotiff and would like then open them using GT !
My writing operation is thi s:
GridCoverageFactory gcf = new GridCoverageFactory();
Color[][] colors = new Color[][] {{Color.WHITE, color}};
GridCoverage2D gc = gcf.create(Horizon Coverage,
Ciao Anaxa,
which version of geotools are you working with? Did you update recently?
Anywa, can you please try to isolate your code and provide a test case
that I can ply with?
Simone.
On Wed, May 28, 2008 at 5:17 PM, Anaxa Gore [EMAIL PROTECTED] wrote:
Hi,
I am writing some geotiff and
Hi,
I tried to open the coverage separatly with a little GT test program and it
works well... I cant understand why it doesnt work in my software...
Thomas
2008/5/29 Anaxa Gore [EMAIL PROTECTED]:
Simone,
I updated GT and tried again... but get always the same errors ... Even
though, I get
Ok so I get an idea of why it did not work :
I replaced :
MapContext context = new DefaultMapContext(DefaultGeographicCRS.WGS84);
context.setTitle(projDir.getName());
with :
MapContext context = new DefaultMapContext(DefaultGeographicCRS.WGS84);
context.setTitle(projDir.getName());
try {
Ciao Thomas,
can you show me your styling code? Could you also tell me the
ColorModel and SampleModel for your data?
ciao,
Simone.
On Thu, May 29, 2008 at 5:47 PM, Anaxa Gore [EMAIL PROTECTED] wrote:
Ok so I get an idea of why it did not work :
I replaced :
MapContext context = new
Hi,
I am writing some geotiff and would like then open them using GT !
My writing operation is thi s:
GridCoverageFactory gcf = new GridCoverageFactory();
Color[][] colors = new Color[][] {{Color.WHITE, color}};
GridCoverage2D gc = gcf.create(Horizon Coverage, rasterCoverage,