Hi all,
The final picture has good general quality with comparation of QGIS calculation.
But the values are very strange. Range of values from 0 to 6800+ that means the Gradient is close to 90 degrees.
The area elevation difference is 20m between the lowest and highest points.The area size is 1800 x 2400 m2 and it's more less flat.
My sources to calculate gradient is below:
Pitfiller pitfiller = new Pitfiller();
pitfiller.inElev = elevationCoverage;
pitfiller.pm = progressMonitor;
pitfiller.process();
GridCoverage2D pitfillerCoverage = pitfiller.outPit;
Gradient gradient = new Gradient();
gradient.inElev = pitfillerCoverage;
gradient.pm = progressMonitor;
gradient.pMode = 2;
gradient.doDegrees = false;
gradient.process();
GridCoverage2D gradientCoverage = gradient.outSlope;
Elevation data is in meters.
Can you help to find the solution to amend to more correct values ?
I use JGrassTools version 0.7.6 and also tried 0.7.8 with the same result in values.
Many thanks,
Dzmitry