Ok, I will have to look into the code a bit better.

AigReaders seem to give -Float.MAX_VALUE (probably depending on the
content), while ArcgridReaders -9999.0.

The gap seems to be in the step between imageio-ext and geotools.

Will come back when I know something more.

Cheers,
Andrea


On Tue, Apr 27, 2010 at 1:40 PM, andrea antonello
<[email protected]> wrote:
> Hi, I am trying to get the value that is used as novalue from a gricoverage.
>
> I was assuming something like:
> GridSampleDimension[] sampleDimensions = inCoverage.getSampleDimensions();
> double[] noDataValues = sampleDimensions[0].getNoDataValues();
>
> which returned me null.
>
> I then tried to get the categories to manually extract the novalue,
> but these also ended up being null.
> I am using the esri adf (AIGreader) that leverages imegio-ext.
>
> In order to spare time, can anyone tell me if the above is the right
> way to get the value that is used as novalue?
> In which case it is probably a bug and I would open a ticket in the
> imageio-ext world.
>
> Thanks,
> Andrea
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to