Hello all,
I'm brand new to GeoTools. I'm trying to use the evaluate() method on my
GridCoverge2D object. However I get a reference to evaluate is ambiguous error.
Error:
reference to evaluate is ambiguous, both method
evaluate(org.opengis.geometry.DirectPosition,double[]) in
org.geotools.coverage.AbstractCoverage and method
evaluate(java.awt.geom.Point2D,double[]) in
org.geotools.coverage.grid.GridCoverage2D match
Here is the code snippet:
DirectPosition2D nextPoint = new DirectPosition2D(sphericalMercator, x, y);
double[] dest = gridCoverage.evaluate(nextPoint, dest);
Any help pointing me in the right direction is greatly appreciated and let me
know if more information is needed.
Thank You,
Mike------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users