Open adebardo opened 2 months ago
A small comment to this. I do support removing it altogether (#127), but keeping it with a licensing clause that it's indeed an optional dependency sounds viable in the short-term too! The optional part is clear in setup.cfg
.
Context
The purpose of this ticket is to remove the dependency richdem in the source files to ensure its license does not alter the license of xdem.
Indeed, the GNU GPL v3.0 free license is strongly copyleft. In other words, it applies to:
The xDEM project falls into the third category, as it uses the Richdem API and imports the symbols exposed by this package (i.e., this library).
Code
maximum_curvature
function:_get_terrainattr_richdem
(maybe use in tests)Test
The use of richdem in the tests does not impact the xdem license. Therefore, it is possible to keep the ground truth generated by xdem.
Two Solutions are Possible:
1 - Keep richdem
However, it is necessary to remove the tests that verify the outputs of richdem in certain APIs. Thus, we will no longer be able to generate the terrain ground truth as follows:
We will need to directly obtain their implementation.
Example for aspect:
2 - Generate Terrain Truths
Documentation
README(.md|.rst|.txt)
Contribution Guide
Estimation
3 days