GRASS Module Porting List: Difference between revisions
(s.cellstats) |
(→Vector modules: v.plant) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 21: | Line 21: | ||
Nearly all non-obsolete modules ported. | Nearly all non-obsolete modules ported. | ||
* d.menu - | * d.menu - ported in GRASS 6.1 | ||
* d.3d - obsolete and replaced by NVIZ | * d.3d - obsolete and replaced by NVIZ | ||
* d.area - merged | * d.area - merged into d.vect | ||
* d.colormode - obsolete | * d.colormode - obsolete | ||
* d.db - d.vect (sites obsolete) | * d.db - d.vect (sites obsolete) | ||
Line 71: | Line 71: | ||
* g.help - obsolete (all help files html/man) | * g.help - obsolete (all help files html/man) | ||
* g.pnmcomp - obsolete | * g.pnmcomp - obsolete | ||
* g.projinfo - moved to g.proj | |||
===General volume commands=== | ===General volume commands=== | ||
Line 101: | Line 102: | ||
===Miscellaneous Commands=== | ===Miscellaneous Commands=== | ||
(note: various utilities for file manipulation or coordinate pair transformation were not ported) | |||
* m.datum.shift - not implemented, use cs2cs of PROJ4 instead | * m.datum.shift - not implemented, use cs2cs of PROJ4 instead | ||
Line 113: | Line 114: | ||
* m.futil - not ported | * m.futil - not ported | ||
* m.gc2ll - not ported | * m.gc2ll - not ported | ||
* m.in.e00 - use v.in.e00 (needs [http://avce00.maptools.org/ AVCE00 and E00Compr]); from GDAL-OGR > 1.3.2 also v.in.ogr should work | |||
* m.in.stf1.tape - use r.in.gdal | * m.in.stf1.tape - use r.in.gdal | ||
* m.ipf - not ported | * m.ipf - not ported | ||
* m.kappa - see r.kappa | * m.kappa - see r.kappa | ||
* m.ll2gc - not ported | * m.ll2gc - not ported | ||
* m.ll2u - | * m.ll2u - m.proj or use PROJ4's cs2cs | ||
* m.lulc.read - use r.in.gdal | * m.lulc.read - use r.in.gdal | ||
* m.lulc.USGS | * m.lulc.USGS | ||
* m.proj2 - m.proj | * m.proj2 - m.proj or use PROJ4's cs2cs instead | ||
* m.qcalc - not ported | * m.qcalc - not ported | ||
* m.region.ll - not ported | * m.region.ll - not ported | ||
* m.rot90 - not ported | * m.rot90 - not ported | ||
* m.sdts.read | * m.sdts.read - not ported | ||
* m.strip99s | * m.strip99s - not ported | ||
* m.svfit - not ported; part of unfinished kriging module | * m.svfit - not ported; part of unfinished kriging module | ||
* m.tiger.region | * m.tiger.region - not ported | ||
* m.u2ll - | * m.u2ll - m.proj or use PROJ4's cs2cs | ||
===Paint commands=== | ===Paint commands=== | ||
Line 153: | Line 154: | ||
* r.flowmd - this is old, use r.flow | * r.flowmd - this is old, use r.flow | ||
* r.grow2 - ported as r.grow | * r.grow2 - ported as r.grow | ||
* r.grow - not ported, see | * r.grow - not ported, see the line above | ||
* r.hydro.CASC2D - not ported | * r.hydro.CASC2D - not ported | ||
* r.in.doq - use r.in.gdal | * r.in.doq - use r.in.gdal | ||
* r.in.dted - use r.in.gdal | * r.in.dted - use r.in.gdal | ||
* r.in.elas - | * r.in.elas - use r.in.gdal | ||
* r.infer - not ported | * r.infer - not ported | ||
* r.in.ll | * r.in.ll - not ported (use gdalwarp+r.in.gdal or r.in.gdal+r.proj instead) | ||
* r.in.miads | * r.in.miads | ||
* r.in.pbm - use r.in.gdal | * r.in.pbm - use r.in.gdal | ||
Line 165: | Line 166: | ||
* r.in.png - use r.in.gdal | * r.in.png - use r.in.gdal | ||
* r.in.ppm - use r.in.gdal | * r.in.ppm - use r.in.gdal | ||
* r.in.shape - not ported | * r.in.shape - not ported (use v.in.ogr followed by v.to.rast instead) | ||
* r.in.sunrast - use r.in.gdal | * r.in.sunrast - use r.in.gdal | ||
* r.in.tang - use r.in.gdal | * r.in.tang - use r.in.gdal | ||
Line 177: | Line 178: | ||
* r.out.rlc - 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.tga - not ported, doesn't make much sense | ||
* r.out.xyz - use r.stats, r.out.ascii | * r.out.xyz - use r.stats, r.out.ascii (in 6.3 implemented as a wrapper script around r.stats) | ||
* r.poly - implemented in r.to.vect | * r.poly - implemented in r.to.vect | ||
* r.rational.regression - not ported. This works on ascii data file, not map | * r.rational.regression - not ported. This works on ascii data file, not map | ||
Line 189: | Line 190: | ||
* r.weight2 - not ported | * r.weight2 - not ported | ||
* r.weight - not ported | * r.weight - not ported | ||
===Sites modules=== | ===Sites modules=== | ||
Line 227: | Line 227: | ||
* s.vol.rst - v.vol.rst | * s.vol.rst - v.vol.rst | ||
* s.voronoi - v.voronoi | * s.voronoi - v.voronoi | ||
* s.what - | * s.what - done as v.what since GRASS 6.1 | ||
===Vector modules=== | ===Vector modules=== | ||
Line 234: | Line 234: | ||
* v.alabel - will be merged by v.category | * v.alabel - will be merged by v.category | ||
* v.apply.census | * v.apply.census - needed? | ||
* v.area - the same functionality in d.what.vect | * v.area - the same functionality in d.what.vect | ||
* v.autocorr | * v.autocorr - desired | ||
* v.bubble - replaced by v.buffer, d.vect.chart, d.vect.thematic (shell script), and ps.map(vpoints:sizecol) | * 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.cadlabel - can be done by v.distance or v.category | ||
* v.circle - replaced by v.buffer | * v.circle - replaced by v.buffer | ||
Line 243: | Line 243: | ||
* v.db.reclass - move to v.reclass | * v.db.reclass - move to v.reclass | ||
* v.dump - the same functionality in v.to.db | * v.dump - the same functionality in v.to.db | ||
* v.export | * v.export - v.out.ogr | ||
* v.import - v.in.ogr | * v.import - v.in.ogr | ||
* v.in.arc - v.in.ogr | * v.in.arc - ARC supported by v.in.ogr | ||
* v.in.atlas -atl2dig2.c is not used | * v.in.atlas - atl2dig2.c is not used | ||
* v.in.dlg | * v.in.dlg - DLG supported by v.in.ogr | ||
* 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. | * v.in.dxf3d - replaced by v.in.dxf (see [[GRASS 6 Tutorial]]) | ||
* v.in.dxf - replaced by v.in. | * v.in.dxf - replaced by v.in.dxf (see GrassSixTutorialFaq#2_DXF_and_DWG_files) | ||
* m.in.e00 - v.in.e00, | * m.in.e00 - v.in.e00, maybe also v.in.ogr | ||
* v.in.gshhs - try v.in.mapgen with data from NOAA's Coastline extractor | * v.in.gshhs - try v.in.mapgen with data from NOAA's Coastline extractor | ||
* v.in.poly - v.buffer | * v.in.poly - v.buffer | ||
Line 259: | Line 259: | ||
* v.in.tig.basic - TIGER 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.tig.lndmk - TIGER supported by v.in.ogr | ||
* v.in.transects | * v.in.transects - needed? | ||
* v.label - ported in ver. 6.1+; also integrated into ps.map | * v.label - ported in ver. 6.1+; also integrated into ps.map | ||
* v.llabel - replaced by v.category | * v.llabel - replaced by v.category | ||
* v.mkquads - Not ported yet | * v.mkquads - Not ported yet | ||
* v.mkstats - not sure what it does | * v.mkstats - not sure what it does | ||
* v.out.arc | * v.out.arc - needed? | ||
* v.out.atlas | * v.out.atlas - needed? | ||
* v.out.dlg | * v.out.dlg - needed? | ||
* v.out.e00 | * v.out.e00 - needed? | ||
* v.out.idrisi | * v.out.idrisi - needed? | ||
* v.out.mapinfo -Mapinfo is supported by v.out.ogr | * v.out.mapinfo -Mapinfo is supported by v.out.ogr | ||
* v.out.moss | * v.out.moss - needed? | ||
* v.out.sdts - SDTS is NOT supported by v.out.ogr | * v.out.sdts - SDTS is NOT supported by v.out.ogr | ||
* v.out.shape -Shapefile is supported by v.out.ogr | * v.out.shape -Shapefile is supported by v.out.ogr | ||
* v.patch.scs - alternate version of v.patch | * v.patch.scs - alternate version of v.patch | ||
* v.plant - Not ported. Use v.split, v.segment, or v.lrs.* instead | |||
* v.prune - this functionality should go to v.clean | * v.prune - this functionality should go to v.clean | ||
* v.reclass.pg -moved to v.reclass? | * v.reclass.pg -moved to v.reclass? | ||
Line 281: | Line 282: | ||
* v.rmedge - merged to v.clean? | * v.rmedge - merged to v.clean? | ||
* v.scale.random - v.patch + v.random | * v.scale.random - v.patch + v.random | ||
* v.sdts.dq.cp | * v.sdts.dq.cp - needed? | ||
* v.sdts.meta | * v.sdts.meta - needed? | ||
* v.sdts.meta.cp | * v.sdts.meta.cp - needed? | ||
* v.spag - merged | * v.spag - merged to v.clean | ||
* v.stats - the same functionality in v.info | * v.stats - the same functionality in v.info | ||
* v.support - v.build | * v.support - v.build | ||
* v.timestamp- | * v.timestamp - desired | ||
* v.to.sites - obsolete (sites replaced by vector points) | * v.to.sites - obsolete (sites replaced by vector points); in order to create points along lines / extract vertices use v.to.points | ||
* v.what - | * v.what - done | ||
===Volume modules=== | ===Volume modules=== | ||
Line 298: | Line 298: | ||
* s.to.rast3 - see s.* above | * s.to.rast3 - see s.* above | ||
* NVIZ - volume visualization integrated | * NVIZ - volume visualization integrated | ||
[[Category:Community]] | |||
[[Category:Development]] | |||
[[Category:Documentation]] | |||
[[Category:FAQ]] |
Latest revision as of 23:36, 15 December 2007
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 - ported in GRASS 6.1
- d.3d - obsolete and replaced by NVIZ
- d.area - merged into 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
- g.projinfo - moved to g.proj
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
(note: various utilities for file manipulation or coordinate pair transformation were 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.e00 - use v.in.e00 (needs AVCE00 and E00Compr); from GDAL-OGR > 1.3.2 also v.in.ogr should work
- m.in.stf1.tape - use r.in.gdal
- m.ipf - not ported
- m.kappa - see r.kappa
- m.ll2gc - not ported
- m.ll2u - m.proj or use PROJ4's cs2cs
- m.lulc.read - use r.in.gdal
- m.lulc.USGS
- m.proj2 - m.proj or use PROJ4's cs2cs instead
- m.qcalc - not ported
- m.region.ll - not ported
- m.rot90 - not ported
- m.sdts.read - not ported
- m.strip99s - not ported
- m.svfit - not ported; part of unfinished kriging module
- m.tiger.region - not ported
- m.u2ll - m.proj or use PROJ4's cs2cs
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 the line above
- r.hydro.CASC2D - not ported
- r.in.doq - use r.in.gdal
- r.in.dted - use r.in.gdal
- r.in.elas - use r.in.gdal
- r.infer - not ported
- r.in.ll - not ported (use gdalwarp+r.in.gdal or r.in.gdal+r.proj instead)
- 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 (use v.in.ogr followed by v.to.rast instead)
- 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 (in 6.3 implemented as a wrapper script around r.stats)
- 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 - r.in.xyz in GRASS 6.1+
- 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 - done as v.what since GRASS 6.1
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 - needed?
- v.area - the same functionality in d.what.vect
- v.autocorr - desired
- 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.out.ogr
- v.import - v.in.ogr
- v.in.arc - ARC supported by v.in.ogr
- v.in.atlas - atl2dig2.c is not used
- v.in.dlg - DLG supported by v.in.ogr
- v.in.dlg2 - not used in 5.0
- v.in.dlg.scs -not used in 5.0
- v.in.dxf3d - replaced by v.in.dxf (see GRASS 6 Tutorial)
- v.in.dxf - replaced by v.in.dxf (see GrassSixTutorialFaq#2_DXF_and_DWG_files)
- m.in.e00 - v.in.e00, maybe also v.in.ogr
- 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 - needed?
- 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 - needed?
- v.out.atlas - needed?
- v.out.dlg - needed?
- v.out.e00 - needed?
- v.out.idrisi - needed?
- v.out.mapinfo -Mapinfo is supported by v.out.ogr
- v.out.moss - needed?
- 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.plant - Not ported. Use v.split, v.segment, or v.lrs.* instead
- 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 - needed?
- v.sdts.meta - needed?
- v.sdts.meta.cp - needed?
- v.spag - merged to v.clean
- v.stats - the same functionality in v.info
- v.support - v.build
- v.timestamp - desired
- v.to.sites - obsolete (sites replaced by vector points); in order to create points along lines / extract vertices use v.to.points
- v.what - done
Volume modules
- all g3.* modules - integrated into g.*
- r3.* modules - almost unchanged
- s.to.rast3 - see s.* above
- NVIZ - volume visualization integrated