Ticket #2975 (closed defect: fixed)
Some gdaldem code is derived from public domain GRASS code
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.7.0 |
| Component: | License | Version: | svn-trunk |
| Severity: | normal | Keywords: | gdaldem |
| Cc: | hobu, rouault, perrygeo, hamish |
Description
Hamish reports:
It has come to my attention that some GRASS code has been ported to C++ under the Apache license, and from there is now included in GDAL/trunk as BSD licensed. It is a substantial rewrite, but I have looked through the code and there is IMO a clear lineage of the core. i.e. AFAICT it is a derivative product -- but the the main question is if any GPL'd fixes or enhancements are involved, or just reuse of CERL public domain code & algorithms?
http://www.perrygeo.net/wordpress/?p=7
http://perrygeo.googlecode.com/svn/trunk/demtools/slope.cpp
http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdaldem.cpp
specifically this code is derived from r.slope.aspect and r.shaded.relief. (I didn't check the color rules code although the rules format is similar.)
Again, these modules are historically derived from really old CERL code, so _originally_ public domain. IMHO at minimum that should be credited. (the oldest version I have on hand to check is GRASS 4.3, 1999/GPL)
But it definitely includes some of our GPL-era enhancements. (e.g. 'r.shaded.relief scale=')
A fuller discussions is at:
http://lists.osgeo.org/pipermail/grass-psc/2009-May/000648.html

