gc.getSampleDimension(0).getMinimumValue() seems not working properly
---------------------------------------------------------------------

                 Key: GEOT-1399
                 URL: http://jira.codehaus.org/browse/GEOT-1399
             Project: GeoTools
          Issue Type: Bug
          Components: gc arcgrid
    Affects Versions: 2.3.1
            Reporter: Come LINSOUSSI
            Assignee: Simone Giannecchini
             Fix For: 2.3.1


Hello,
I am trying to get the "minimum" and "no data value" from my GridCoverage 
created from AsciiArcGrid but it return the no data value  (-9999) for the 
minimum and "null" for the no data value instead of the actual minimum value 
and no data value(-9999) respectively.

Herebelow is the way I do it.

URL arcURL=f.toURI().toURL();
                ArcGridReader gridreader = new ArcGridReader(arcURL);
                GridCoverage2D gc2 = (GridCoverage2D)gridreader.read(null);
                
....gc2.getSampleDimension(0).getNoDataValues();
...gc2.getSampleDimension(0).getMinimumValue();

I would appreciate if anybody can help.
Thanks.
                

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to