Difference between revisions of "GRASS Module Porting List"

From GRASS-Wiki
Jump to: navigation, search
 
(Vector modules)
Line 250: Line 250:
 
* v.in.dlg2 -not used in 5.0
 
* v.in.dlg2 -not used in 5.0
 
* v.in.dlg.scs -not used in 5.0
 
* v.in.dlg.scs -not used in 5.0
* v.in.dxf3d -replaced by v.in.dwg (see GrassSixTutorialFaq#2_DXF_and_DWG_files)
+
* v.in.dxf3d -replaced by v.in.dwg (see [[Grass 6 Tutorial]])
 
* v.in.dxf - replaced by v.in.dwg (note: cannot be compiled by default or distributed in binary) (see GrassSixTutorialFaq#2_DXF_and_DWG_files)
 
* v.in.dxf - replaced by v.in.dwg (note: cannot be compiled by default or distributed in binary) (see GrassSixTutorialFaq#2_DXF_and_DWG_files)
 
* m.in.e00 - v.in.e00, but E00 should be added to OGR library
 
* m.in.e00 - v.in.e00, but E00 should be added to OGR library

Revision as of 08:57, 23 May 2006

GRASS 5.3 modules porting status to 6.0

All modules NOT listed here have kept their name in GRASS 6.0 (maybe flags/parameters are modified, though). The list below gives hints for modules not found in 6.0.

The overall aim in 6.0 is to increase the module cohesion and to minimize replicated code. Also obsolete code is no longer maintained. The user interface is simplified in this sense while many modules are becoming more powerful due to the heavily improved vector engine and DBMS integration.

Please note that GRASS commands no longer overwrite existing maps. To enforce overwriting (instead of using another file name or in advance g.rename or g.copy), use the flag '--o'.

[Status: January 2005 ]

Display modules

Nearly all non-obsolete modules ported.

  • d.menu - not ported; used for creating stand alone GRASS applications
  • d.3d - obsolete and replaced by NVIZ
  • d.area - merged to d.vect: HTMLMAP driver doesn't work yet with new d.vect
  • d.colormode - obsolete
  • d.db - d.vect (sites obsolete)
  • d.display - obsolete
  • d.fix.ortho - functionality is covered in i.points or i.vpoints
  • d.icons - obsolete (sites replaced by vector points, d.vect)
  • d.label - largely replaced by d.text, d.text.freetype
  • d.labels - largely replaced by v.label, d.paint.labels, d.vect
  • d.paint.labels - renamed d.labels
  • d.pan - included in d.zoom -p
  • d.points - obsolete (sites replaced by vector points)
  • d.site.labels - obsolete (sites replaced by vector points)
  • d.sites - obsolete (sites replaced by vector points)
  • d.sites.qual - obsolete (sites replaced by vector points)
  • d.vect.area - merged to d.vect
  • d.vect.labels - merged to d.vect
  • d.vect.line - merged to d.vect
  • d.what.sites - obsolete (sites replaced by vector points)

Database modules

Drivers for dbf, postgresql, mysql, and odbc come with GRASS. All database commands work with all these platform, depending on which driver you choose. This makes all the postgresql-specific (*.pg) obsolete. Examples of replacement commands shown for v.*.pg commands.

  • pg.in.dbf - implemented as db.copy, v.in.db
  • g.column.pg - implemented as db.column
  • d.rast.pg - currently no DB support for raster maps, desired
  • d.site.pg - obsolete (sites replaced by vector points)
  • d.what.r.pg - currently no DB support for raster maps, desired
  • d.what.s.pg - obsolete (sites replaced by vector points)
  • g.select.pg - implemented as db.select
  • g.stats.pg - implemented?
  • g.table.pg -implemented as db.table
  • db.createdb - can be created in other ways (PG, OpenOffice etc)
  • db.databases - implemented as db.tables
  • db.dropdb - implemented as db.droptable
  • d.vect.pg - merged to d.vect
  • d.what.v.pg - merged to d.vect
  • d.what.db - implemented as d.what.vect, db.select
  • v.to.pg - implemented as v.to.db


General commands

  • g.help - obsolete (all help files html/man)
  • g.pnmcomp - obsolete

General volume commands

  • g3.createwind - no longer needed
  • g3.list - integrated in g.list
  • g3.region - integrated in g.region
  • g3.remove - integrated in g.remove
  • g3.rename - integrated in g.rename
  • g3.setregion - integrated in g.region

Imagery commands

A number of imagery commands were duplicated in the raster modules. A couple have not yet been ported, including a couple scripts

  • i.colors - see r.colors
  • i.composite - see r.composite
  • i.in.erdas - use r.in.gdal
  • i.out.erdas - use r.out.gdal
  • i.quantize - see r.quantize
  • i.rvi.prediction - not ported
  • i.shape - not ported
  • i.tape.mss - use r.in.gdal
  • i.tape.mss.h - use r.in.gdal
  • i.tape.other - use r.in.gdal
  • i.tape.spot
  • i.tape.tm - use r.in.gdal
  • i.texture - see r.texture

Miscellaneous Commands

Various utilities for file manipulation or coordinate pair transformation not ported

  • m.datum.shift - not implemented, use cs2cs of PROJ4 instead
  • m.dem.examine - use external gdalinfo
  • m.dem.extract - use r.in.gdal
  • m.dmaUSGSread - use r.in.gdal
  • m.dted.examine - use external gdalinfo
  • m.dted.extract - use r.in.gdal
  • m.examine.tape - use external gdalinfo
  • m.flip - not ported
  • m.futil - not ported
  • m.gc2ll - not ported
  • m.in.stf1.tape - use r.in.gdal
  • m.ipf - not ported
  • m.kappa - see r.kappa
  • m.ll2gc - not ported
  • m.ll2u - not ported
  • m.lulc.read - use r.in.gdal
  • m.lulc.USGS
  • m.proj2 - m.proj in 6.1, or use PROJ4's cs2cs instead
  • m.qcalc - not ported
  • m.region.ll - not ported
  • m.rot90 - not ported
  • m.sdts.read
  • m.strip99s
  • m.svfit - not ported; part of unfinished kriging module
  • m.tiger.region
  • m.u2ll - - not ported


Paint commands

Functionality of these is covered by either ps.map or display commands followed by screen output or d.out.png

  • p.chart - not ported
  • p.colors - not ported
  • p.icons - not ported
  • p.labels - not ported
  • p.map - not ported, see ps.map
  • p.map.new - not ported
  • p.ppm - not ported
  • p.select - not ported
  • p.vrml - p.out.vrml

Raster modules

Not ported modules include a set of overlay modules (r.infer, r.binfer, r.weight), some additional hydrology modules, and a couple of statistical routines for ascii files.

  • r.binfer - not ported
  • r.colors.paint - obsolete
  • r.flowmd - this is old, use r.flow
  • r.grow2 - ported as r.grow
  • r.grow - not ported, see next line
  • r.hydro.CASC2D - not ported
  • r.in.doq - use r.in.gdal
  • r.in.dted - use r.in.gdal
  • r.in.elas - not ported, doesn't make much sense
  • r.infer - not ported
  • r.in.ll
  • r.in.miads
  • r.in.pbm - use r.in.gdal
  • r.in.pgm - use r.in.gdal
  • r.in.png - use r.in.gdal
  • r.in.ppm - use r.in.gdal
  • r.in.shape - not ported, doesn't make much sense
  • r.in.sunrast - use r.in.gdal
  • r.in.tang - use r.in.gdal
  • r.in.tiff - use r.in.gdal
  • r.in.utm - not ported, doesn't make much sense
  • r.linear.regression - not ported. This works on ascii data file, not map
  • r.line - included in v.to.rast
  • r.mask - ported as shell script in ver. 6.1+. Or just rename any raster to MASK (use g.rename, g.copy, r.mapcalc)
  • r.mask.points - obsolete (sites replaced by vector points)
  • r.out.elas - not ported, doesn't make much sense
  • r.out.rlc - not ported, doesn't make much sense
  • r.out.tga - not ported, doesn't make much sense
  • r.out.xyz - use r.stats, r.out.ascii
  • r.poly - implemented in r.to.vect
  • r.rational.regression - not ported. This works on ascii data file, not map
  • r.reclass.scs - not much different from r.reclass
  • r.rvi.prediction - script? Not ported. This works on ascii data file, not map
  • r.support - ported in version 6.1+. Use r.reclass to assign category labels
  • r.surf.idw2 - ported (recent discussion of difference with r.surf.idw)
  • r.to.sites - implemented in r.to.vect
  • r.volume - partially ported in version 6.1+; needed for r.clump
  • r.water.fea - not ported
  • r.weight2 - not ported
  • r.weight - not ported


Sites modules

Sites replaced by vector points. Most routines ported now

  • s.medp - the old version (GRASS 5.3) is buggy and cannot be simply updated, more work needed.
  • s.probplt- not yet ported, requires gnuplot
  • s.sv - part of kriging support; not yet ported, better use R-stats
  • s.territory - not ported
  • s.vol.idw - not yet ported
  • s.windavg - not yet ported
  • r3.to.sites - not yet ported (will become r3.to.vect)
  • s.cellstats - not yet ported
  • s.delaunay - v.delaunay
  • s.hull - v.hull
  • s.info - v.info
  • s.in.ascii - v.in.ascii
  • s.in.dbf - replaced by v.in.db
  • s.in.shape - Shapefile supported by v.in.ogr
  • s.kernel - v.kernel
  • s.mask - not yet ported
  • s.normal - v.normal
  • s.out.ascii - v.out.ascii
  • s.out.e00 - not yet ported (will become v.out.e00)
  • s.perturb - v.perturb
  • s.proj - v.proj
  • s.qcount - v.qcount
  • s.random - v.random
  • s.sample - v.sample
  • s.surf.idw - v.surf.idw
  • s.surf.rst - merged to v.surf.rst
  • s.to.rast - v.to.rast
  • s.to.rast3 - v.vol.rst
  • s.to.vect - not needed, as sites replaced by vector points
  • s.univar - v.univar
  • s.vol.rst - v.vol.rst
  • s.voronoi - v.voronoi
  • s.what - not yet ported

Vector modules

All modules ported or their functionality merged into other modules, with a couple of exceptions.

  • v.alabel - will be merged by v.category
  • v.apply.census
  • v.area - the same functionality in d.what.vect
  • v.autocorr
  • v.bubble - replaced by v.buffer, d.vect.chart, d.vect.thematic (shell script), and ps.map(vpoints:sizecol)
  • v.cadlabel - can be done by v.distance or v.category
  • v.circle - replaced by v.buffer
  • v.cutter - replaced by v.overlay
  • v.db.reclass - move to v.reclass
  • v.dump - the same functionality in v.to.db
  • v.export
  • v.import - v.in.ogr
  • v.in.arc - v.in.ogr
  • v.in.atlas -atl2dig2.c is not used
  • v.in.dlg
  • v.in.dlg2 -not used in 5.0
  • v.in.dlg.scs -not used in 5.0
  • v.in.dxf3d -replaced by v.in.dwg (see Grass 6 Tutorial)
  • v.in.dxf - replaced by v.in.dwg (note: cannot be compiled by default or distributed in binary) (see GrassSixTutorialFaq#2_DXF_and_DWG_files)
  • m.in.e00 - v.in.e00, but E00 should be added to OGR library
  • v.in.gshhs - try v.in.mapgen with data from NOAA's Coastline extractor
  • v.in.poly - v.buffer
  • v.in.sdts - SDTS supported by v.in.ogr
  • v.in.shape - Shapefile supported by v.in.ogr
  • v.in.tig.basic - TIGER supported by v.in.ogr
  • v.in.tig.lndmk - TIGER supported by v.in.ogr
  • v.in.transects
  • v.label - ported in ver. 6.1+; also integrated into ps.map
  • v.llabel - replaced by v.category
  • v.mkquads - Not ported yet
  • v.mkstats - not sure what it does
  • v.out.arc
  • v.out.atlas
  • v.out.dlg
  • v.out.e00
  • v.out.idrisi
  • v.out.mapinfo -Mapinfo is supported by v.out.ogr
  • v.out.moss
  • v.out.sdts - SDTS is NOT supported by v.out.ogr
  • v.out.shape -Shapefile is supported by v.out.ogr
  • v.patch.scs - alternate version of v.patch
  • v.prune - this functionality should go to v.clean
  • v.reclass.pg -moved to v.reclass?
  • v.report - replaced by v.to.db
  • v.rm.dangles - merged to v.clean
  • v.rmdup - merged to v.clean
  • v.rmedge - merged to v.clean?
  • v.scale.random - v.patch + v.random
  • v.sdts.dq.cp
  • v.sdts.meta
  • v.sdts.meta.cp
  • v.spag - merged to v.cleanmerged to v.clean
  • v.split - ported in ver. 6.1+
  • v.stats - the same functionality in v.info
  • v.support - v.build
  • v.timestamp- move to v.info?
  • v.to.sites - obsolete (sites replaced by vector points)
  • v.what - this functionality is available in v.distance & d.what.vect

Volume modules

  • all g3.* modules - integrated into g.*
  • r3.* modules - almost unchanged
  • s.to.rast3 - see s.* above
  • NVIZ - volume visualization integrated