[GRASS-dev] Dead code

Markus Neteler neteler at osgeo.org
Thu Oct 30 02:49:55 PDT 2014

On Thu, Oct 30, 2014 at 8:40 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> Markus Neteler wrote:

I have collected the comments here:


>> >         general/g.setproj
>> --> lacking G_ask_datum_name(). Trash it or move to Addons?
> Are the replacements sufficient? g.setproj had a lot of logic for
> dealing with the relationships between various parameters. Has that
> been incorporated into the GUI? Is it unnecessary? Or does everyone
> just use EPSG codes now?

No, EPSG codes do not represent all. Especially since we still need to
update the CSV files included in lib/proj/ which are pretty dated now.
See README.txt therein for a better approach.

>> >         imagery/i.class
>> --> likely obsolete. Replaced with g.gui.iclass. Trash it or move to Addons?
> It looks like Martin has already answered that one.

It is yet lacking the cleanup of documentation references:
find . -type f | grep -v 'svn/pristine' | grep -v 'locale' | xargs
grep "i\.class"

To add to the discussion of removing potentially obsolete code:
Additionally I have added to the Wiki page:

* r.bitpattern: Remove r.bitpattern since r.mapcalc does it more nicely now - ?
* raster/r.in.arc and raster/r.out.arc (use r.in.gdal/r.out.gdal) - ?
* raster/r.in.tiff and raster/r.out.tiff (use r.in.gdal/r.out.gdal)  - ?

IMPORTANT: we need to update accordingly


More information about the grass-dev mailing list