Version 413 (modified by 3 years ago) ( diff ) | ,
---|
List of new features in GRASS GIS 7.0
GRASS GIS 7 is the version of active development with a first 7.0.0 stable release in February 2015. In total, more than 10,500 changes have been implemented so far with respect to GRASS GIS 6.4. The development was started in April 2008 (r31142, email announcement). This page summarizes the manifold new features which have been added to GRASS 7.
The graphical user interface based on wxPython (introduced in GRASS GIS 6.4) has been enriched with many new features in order to make complex GIS operations available as simple as possible. The old Tcl/Tk based GUI has been dropped. Relevant new features are available in the core system, among the most important the new Python interface to the C library. This new feature permits Python developers to create new modules in a simple way while at the same time creating powerful and fast modules. Furthermore, the vector library was particularly improved to make it faster and more efficient with support of huge files. This required a easy to manage topology format update including a new spatial index. Finally, there are a series of new modules to analyse raster and vector data; some of the already existing modules were improved and made faster (some even 1000 x faster). For more details see below. |
Releases:
- (future releases: 7.2.x)
- Release/7.0.5-News
- Release/7.0.4-News
- Release/7.0.3-News
- Release/7.0.2-News
- Release/7.0.1-News
- Release/7.0.0-News (GRASS GIS 7.0.0 released 20 Feb 2015) - see here for more recent releases
- Release/7.0.0RC-News (RC2 released 8 Feb 2015)
- Release/7.0.0beta-News (several releases in 2014) - after almost 6 years of development (r31142)
- nightly snapshots
Table of Contents
- Graphical User Interface
- Modules (commands)
- User Manual - Documentation
- Python interface
- API improvements
- GRASS 7 Library changes
- Source Code Portability
- Source Code updates from GRASS GIS 6 to 7
- GRASS GIS 7 Addons
- Replaced and removed modules
- Renamed modules
- Options changes
- MS-Windows: Changes for bat files
- Upgrading GRASS database
Graphical User Interface
- wxGUI improved (see manual)
- Advanced GRASS command console
- Location wizard: support for creation of planetary ellipsoid locations
- Graphical modeler
- Improved wxNviz
- New GUI modules:
- G7:g.gui.animation: new - Tool for animating a series of raster and vector maps or a space time raster or vector dataset.
- G7:g.gui.dbmgr: new - Launches graphical attribute table manager.
- G7:g.gui.gcp: new - Georectifies a map and allows to manage Ground Control Points.
- G7:g.gui.gmodeler: new - Graphical Modeler.
- G7:g.gui.iclass: new - Tool for supervised classification of imagery data.
- G7:g.gui.mapswipe: new - Interactively compares two maps by swiping a visibility bar.
- G7:g.gui.psmap: new - Tool for creating hardcopy map outputs.
- G7:g.gui.rlisetup: new - Configuration tool for r.li modules.
- G7:g.gui.timeline: new - Allows to compare temporal datasets by displaying their temporal extents in a plot.
- G7:g.gui.tplot: new - Allows the user to see in a plot the values of one or more temporal datasets for a queried point defined by a coordinate pair.
- G7:g.gui.vdigit: new - Interactive editing and digitization of vector maps.
- wxGUI: raster digitizer added, enables drawing areas, lines, points and setting buffer for individual features
- wxWidgets version of ximgview
- Tcl/Tk stuff dropped in favour of wxPython
Modules (commands)
A series of new modules have been added and many improved.
Display modules
New:
- old display architecture removed including related modules
- new display architecture based on Cairo and wxPython
- G7:d.northarrow: split out from G7:d.barscale
- North arrow symbols: moved into their own section
- G7:ximgview: new - View BMP images from the PNG driver.
- G7:d.mon: rescale raster maps in cairo driver rather than having cairo itself do it (speed improvement for large maps)
Improved:
- G7:d.barscale: major rewrite and expansion
- G7:d.geodesic: hardcoded miles changed to units choice
- G7:d.legend: support for 3D rasters
General modules
New:
- G7:g.cairocomp: new - Overlays multiple X Pixmaps.
- G7:g.ppmtopng: new - Converts between PPM/PGM and PNG image formats.
Improved:
- G7:g.mapset: added new flag to print current mapset; Optionally create new mapset or list available mapsets in given location.
- G7:g.region: added new flag to export region bounding box in WMS style
Image processing
New:
- G7:i.albedo: new - Computes broad band albedo from surface reflectance.
- G7:i.aster.toar: new - Transforms calibrated digital number of ASTER data to top-of-atmosphere radiance, reflectance and temperature
- G7:i.biomass: new - Computes biomass growth, precursor of crop yield calculation
- i.class: rewritten in wxGUI, see G7:g.gui.iclass
- G7:i.eb.eta: new - Actual evapotranspiration for diurnal period (Bastiaanssen, 1995)
- G7:i.eb.evapfr: new - Computes evaporative fraction (Bastiaanssen, 1995) and root zone soil moisture (Makin, Molden and Bastiaanssen, 2001).
- G7:i.eb.hsebal01: new - Computes sensible heat flux iteration SEBAL 01
- G7:i.eb.netrad: new - Net radiation approximation (Bastiaanssen, 1995).
- G7:i.eb.soilheatflux: new - Soil heat flux approximation (Bastiaanssen, 1995).
- G7:i.emissivity: new - Computes emissivity from NDVI, generic method for sparse land
- G7:i.evapo.mh: new - Computes evapotranspiration calculation modified or original Hargreaves formulation, 2001.
- G7:i.evapo.pm: new - Computes potential evapotranspiration calculation with hourly Penman-Monteith.
- G7:i.evapo.pt: new - Computes evapotranspiration calculation Prestley and Taylor formulation, 1972.
- G7:i.evapo.time: new - Computes temporal integration of satellite ET actual (ETa) following the daily ET reference (ETo) from meteorological station(s).
- G7:i.pansharpen: new - Brovey/PCA/IHS transform to merge multispectral and high-res panchromatic channels, replaces removed i.fusion.brovey
- G7:i.landsat.toar: new, transforms calibrated digital number of LANDSAT data to top-of-atmosphere radiance, reflectance and temperature
- G7:i.landsat.acca: new, Automated Cloud-Cover Assessment (ACCA) Algorithm
- G7:i.modis.qc: new - apply Quality Control bitpattern map easily
- G7:i.segment: new, identifies segments (objects) from imagery data. Supports hierarchical segmentation
- G7:i.vi: new, calculation of vegetation indices
- G7:wxGUI.gcp: new, a wxGUI extension which allows the user to create, edit, and manage Ground Control Points for geocoding imagery
Improved:
- G7:i.cca: supports now much more raster maps for canonical analyses (multi-spectral (8) -> hyper-spectral (thousands)), converted from Fortran style to C-style
- G7:i.fft and G7:i.ifft: In GRASS 6.x, the only operation which can be performed upon the FFT data is a binary mask; a given component can be included or excluded, but not scaled. In GRASS 7.0, the frequency coefficients are saved as raster maps, so they can be manipulated with e.g. G7:r.mapcalc. The main constraint is that both i.fft and i.ifft require the data to fit into memory. Eliminating this requirement boils down to transposing a large array efficiently.
- i.ortho.photo: rewritten as G7:i.ortho.rectify: restructured and optimized; batch job capable
- G7:i.tasscap: added support for Landsat8 and MODIS
Raster modules
New:
- Large File Support (LFS) globally enabled
- G7:r.colors.out: new - Exports the color table associated with a raster map.
- G7:r.external.out: new - Defines raster output format utilizing GDAL library.
- G7:r.import: new - import "any" raster format, optionally with reprojection on the fly
- G7:r.in.lidar: new - Create a raster map from LAS LiDAR points using univariate statistics.
- G7:r.in.wms: new implementation - Downloads and imports data from WMS server; + WMTS and NASA OnEarth support
- G7:r.latlong: new - Creates a latitude/longitude raster map.
- G7:r.regression.multi: new - Calculates multiple linear regression from raster maps.
- G7:r.resamp.filter: new - Resamples raster map layers using an analytic kernel
- G7:r.shade: new - Drapes a color raster over an shaded relief or aspect map.
- G7:r.solute.transport: new - New module to compute the solute transport of groundwater in porous media using an implicit finite volume approach
- G7:r.stats.zonal: new - Calculates category or object oriented statistics (accumulator-based statistics).
- G7:r.stats.quantile: new - Compute category quantiles using two passes.
- G7:r.stream.extract: new - Performs stream network extraction.
- G7:r.sunhours: new - Calculates solar elevation, solar azimuth, and sun hours.
- G7:r.unpack: new - Unpacks a raster map packed with r.pack.
- G7:r.uslek: new - Computes USLE Soil Erodibility Factor (K).
- G7:r.usler: new - Computes USLE R factor, Rainfall erosivity index.
Improved:
- G7:r.clump: all non-null values are clumped (includes also previously skipped 0 value)
- G7:r.cost: faster by orders of magnitude (10x - 100x); Creates a raster map showing the cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost.
- G7:r.cross: Creates a cross product of the category values from multiple raster map layers. handling of null values fixed; Use btree library instead of inlined version for speed
- G7:r.fillnulls: Fills no-data areas in raster maps using spline interpolation. Fills each hole separately thus improving quality and speed
- G7:r.gwflow and G7:r3.gwflow: Groundwater flow module update
- G7:r.his: propagate NULLs
- G7:r.horizon: -c flag added for compass oriented output
- G7:r.in.bin: -f flag added to optionally flip North and South, added support to read headers and multi-band data (BSQ format)
- G7:r.in.gdal: larger cache speeds up import significantly (e.g. from 70 hs to 1:30 hs, see GRASS GIS Performance)
- G7:r.mapcalc: white space is needed before/after the = sign (r.mapcalc "outmap = inmap"); use pthreads for parsing
- G7:r.neighbours: added new option to process only marked cells (i.e: selective elevation map improvement)
- G7:r.pack: Packs up a raster map and support files for copying
- G7:r.param.scale: now fast on Windows when there is no data in raster map
- G7:r.walk: Outputs a raster map showing the anisotropic cumulative cost. Faster by orders of magnitude (10x - 1000x)
- G7:r.watershed improved from G6.3 to G6.4 to G6.5 to G7: faster, less memory, floating point DEM support, MFD, clean stream extraction from MFD, segmented mode in G7 faster than in G6 by orders of magnitude.
Raster3D modules
New:
- G7:r3.colors: new - Creates/modifies the color table associated with a 3D raster map.
- G7:r3.colors.out: new - Exports the color table associated with a 3D raster map.
- G7:r3.in.bin: new - Imports a binary raster file into a GRASS 3D raster map.
- G7:r3.info: new - Outputs basic information about a user-specified 3D raster map layer.
- G7:r3.mask: new - Establishes the current working 3D raster mask.
- G7:r3.neighbors: new - Makes each voxel value a function of the values assigned to the voxels around it, and stores new voxel values in an output 3D raster map
- G7:r3.null: new - Explicitly create the 3D NULL-value bitmap file.
- G7:r3.out.bin: new - Exports a GRASS 3D raster map to a binary array.
- G7:r3.out.netcdf: new - Export a 3D raster map as netCDF file.
- G7:r3.retile: new - Retiles an existing 3D raster map with user defined x, y and z tile size.
- G7:r3.support: new - Allows creation and/or modification of raster3d map layer support files.
- G7:r3.timestamp: new - Print/add/remove a timestamp for a 3D raster map.
Vector modules
New:
- Large File Support (LFS) globally enabled
- G7:v.colors.out: new - Exports the color table associated with a vector map.
- G7:v.in.lidar: new - Converts LAS LiDAR point clouds to a GRASS vector map with libLAS.
- G7:v.out.postgis: new - Exports a vector map layer to PostGIS feature table.
- G7:v.pack: new - Packs up a vector map and support files for copying.
- G7:v.to.lines: new - converts vector polygons (boundaries) to lines as well as vector points to lines via triangulation.
- G7:v.unpack: new - Unpacks a vector map packed with r.pack.
Improved:
- G7:v.colors: rewrite in C, support for vector color tables
- G7:v.distance: geodesic distance to line calculations added
- G7:v.in.ogr faster for polygon-import, cleaner output; S-57 attribute import fixed
- G7:v.generalize: loop support added to all smoothing algorithms, numerical stability fixes; speed-up
- G7:v.kernel faster by orders of magnitude (10x - 1000x)
- G7:v.mkgrid: breaks are breaks not number of segments; speedup 16x times, optionally generate lines instead of areas (new -l flag). Added hexagon creation support.
- G7:v.net.allpairs: improved - Computes the shortest path between all pairs of nodes in the network
- G7:v.net.bridge: improved - Computes bridges and articulation points in the network
- G7:v.net.centrality: improved - Computes degree, centrality, betweeness, closeness and eigenvector centrality measures in the network
- G7:v.net.components: improved - Computes strongly and weakly connected components in the network
- G7:v.net.connectivity: improved - Computes vertex connectivity between two sets of nodes in the network
- G7:v.net.distance: improved - Computes shortest distance via the network between the given sets of features. Finds the shortest paths from each 'from' point to the nearest 'to' feature and various information about this relation are uploaded to the attribute table.
- G7:v.net.flow: improved - Computes the maximum flow between two sets of nodes in the network
- G7:v.net: improved, it allows now to snap the points onto the network
- G7:v.net.salesman: optional tour optimization added. The standard algorithm to find the shortest tour is heuristic and often does not find the optimal tour for more than 10 nodes to visit. The optimization methods available are bootstrapping and a genetic algorithm
- G7:v.net.spanningtree: improved - Computes minimum spanning tree for the network
- G7:v.net.timetable: improved - Finds shortest path using timetables
- G7:v.out.ascii: added output with column name header; all columns are selectable with "*"
- G7:v.out.ogr: multi-feature output (i.e., features with identical category are exported as multi-feature element); reversed functionality of -c flag to preserve island by default.
- G7:v.overlay: up to 40x faster for large vectors (40,000+ lines in ainput)
- G7:v.proj: line densification added for reprojection error minimization
- G7:v.random: optionally constrain random points to selected polygons
- G7:v.to.rast: new -d flag to create densified lines (default: thin lines as in GRASS 6) for improved routing on cost surfaces
- G7:v.voronoi: new -a flag to create Voronoi diagrams for areas
Temporal GIS modules
The new temporal GRASS GIS 7 framework has been developed to manage, process and analyse large scale, spatio-temporal environmental data. In detail, the framework supports querying and map calculation of spatio-temporal data, aggregation, statistics and gap filling, and data export, import, and conversion. A spatio-temporal topology builder is available to build spatio-temporal topology connections between map objects for 1D, 3D and 4D extents. The topology creation is based on the R*Tree implementation in the vector library which supports even 4D extents.
New:
- G7:t.create: new - Creates a space time dataset.
- G7:t.info: new - Lists information about space time datasets and maps.
- G7:t.list: new - List space time datasets and maps registered in the temporal database.
- G7:t.remove: new - Removes space time datasets from temporal database.
- G7:t.rename: new - Renames a space time dataset
- G7:t.register: new - Registers raster, vector and raster3d maps in a space time datasets.
- G7:t.shift: new - Temporally shift the maps of a space time dataset.
- G7:t.snap: new - Temporally snap the maps of a space time dataset.
- G7:t.sample: new - Samples the input space time dataset(s) with a sample space time dataset and print the result to stdout.
- G7:t.support: new - Modifies the metadata of a space time dataset.
- G7:t.topology: new - Lists temporal topology of a space time dataset.
- G7:t.unregister: new - Unregisters raster, vector and raster3d maps from the temporal database or a specific space time dataset.
- G7:t.rast.aggregate.ds: new - Aggregated data of an existing space time raster dataset using the temporal topology of a second space time dataset.
- G7:t.rast.aggregate: new - Temporally aggregates the maps of a space time raster dataset by a user defined granularity.
- G7:t.rast.colors: new - Creates/modifies the color table associated with each raster map of the space time raster dataset.
- G7:t.rast.export: new - Exports space time raster dataset.
- G7:t.rast.extract: new - Extracts a subset of a space time raster datasets.
- G7:t.rast.list: new - Lists registered maps of a space time raster dataset.
- G7:t.rast.import: new - Imports space time raster dataset.
- G7:t.rast.mapcalc: new - Perform spatio-temporal mapcalc expressions on temporal sampled maps of space time raster datasets.
- G7:t.rast.neighbors: new - Performs a neighborhood analysis for each map in a space time raster dataset.
- G7:t.rast.gapfill: new - Replace gaps in a space time raster dataset with interpolated raster maps.
- G7:t.rast.out.vtk: new - Exports space time raster dataset as VTK time series.
- G7:t.rast.series: new - Performs different aggregation algorithms from r.series on all or a subset of raster maps in a space time raster dataset.
- G7:t.rast.to.rast3: new - Converts a space time raster dataset into a raster3d map.
- G7:t.rast.univar: new - Calculates univariate statistics from the non-null cells for each registered raster map of a space time raster dataset.
- G7:t.rast3d.mapcalc: new - Performs r3.mapcalc expressions on maps of sampled space time raster3d datasets.
- G7:t.rast3d.list: new - Lists registered maps of a space time raster3d dataset.
- G7:t.rast3d.extract: new - Extracts a subset of a space time raster3d dataset.
- G7:t.rast3d.univar: new - Calculates univariate statistics from the non-null cells for each registered raster3d map of a space time raster3d dataset.
- G7:t.vect.extract: new - Extracts a subset of a space time vector dataset.
- G7:t.vect.export: new - Export a space time vector dataset.as GRASS specific archive file
- G7:t.vect.import: new - Import a space time vector dataset archive file
- G7:t.vect.list: new - Lists registered maps of a space time vector dataset.
- G7:t.vect.observe.strds: new - Observes specific locations in a space time raster dataset over a period of time using vector points.
- G7:t.vect.db.select: new - Prints attributes of vector maps registered in a space time vector dataset.
- G7:t.vect.what.strds: new - Store raster map values at spatial and temporal positions of vector points as vector attributes.
- G7:t.vect.univar: new - Calculates univariate statistics of attributes for each registered vector map of a space time vector dataset
Scripts
New:
- All Bash scripts converted to Python, especially for portability reasons and speed.
- Initialization scripts now also based on Python
Note: Shell scripts can obviously still be used. Just the included scripts have been rewritten in Python for speed and portability.
Bash support: While the MSYS terminal is currently not visible, it is easy to switch back to it:
- Install GRASS GIS and MSYS from OSGeo4W.
- Edit
C:\OSGeo4W\apps\grassX\etc\env.bat
- Change the line
REM set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
- to this (remove "REM"):
set GRASS_SH=%OSGEO4W_ROOT%\apps\msys\bin\sh.exe
- Change the line
- Start GRASS GIS and enjoy.
User Manual - Documentation
- Use Python to generate HTML manual pages
Python interface
- GRASS GIS Python library documentation
- Wiki: Improved Python interface (see also "API" below)
API improvements
- Programmer's manual cleanup: http://grass.osgeo.org/programming7
- Improved Python API: PyGRASS
- read/write GRASS rasters to/from NumPy
- Support for signals
- PyGRASS message interface
- libgis supports the automatic generation of a WPS 1.0.0 process description XML document for each module (c, c++, python, shell)
- C function name changes from GRASS 6 to GRASS 7: See Grass7/RasterLib/ListOfFunctions etc.
GRASS 7 Library changes
See also: GRASS 7 Programmer's Manual
GRASS GIS Temporal Framework
- new Python framework to implement spatio-temporal modules (see manual)
Libccmath
- new library for numerical functions (see programmer's manual)
Libdbmi
- SQLite is now the default database driver rather than DBF
- Added support for OFTDate, OFTTime, OFTDateTime
Libgis
- WPS support implemented in parser (c, c++, python, shell)
- parser: abbreviations supported for paramters, methods and units
- Libraster separated out into own library
- Metadata now all stored in $HOME/.grass7/ directory
- New portable lrand48 (and related) implementation, used now in almost all modules
Libgmath
- Implementation of BLAS level 1,2 and 3 functions which are in use by all gmath solvers, the Partial differential equations Library (GPDE) and many modules.
- ATLAS wrapper added for BLAS level 1 functions (level 2, and 3 are work in progress)
Libosgf
- New vector feature styling approach that will allow to assign custom (e.g. attribute based) style to points and lines in NVIZ (might be extended to polys and any 3D vectors, too).
Libraster
- Libraster separated out from libgis, refactored. See especially Function name changes from GRASS 6 to GRASS 7
- Also Integer (CELL) raster maps are now by default ZLIB compressed (rather than RLE), leading to smaller file size
Libvector
- Large File Support (LFS) added, see LFS Wiki page
- New topology engine, requires rebuilding topology with G7:v.build (G7:v.build.all) when switching between GRASS 6.x and GRASS 7. See also Convert all GRASS 6 vector maps to GRASS 7
- New spatial index: faster queries (>10x for large vectors), less memory for opening an existing vector
- New option added to use a file-based version of the spatial index which can be activated by setting the new shell environment variable GRASS_VECTOR_LOWMEM (e.g., in bash: 'export GRASS_VECTOR_LOWMEM=1' and deactivated with 'unset GRASS_VECTOR_LOWMEM')
- New main topology strukture: reduced memory and disk space requirements, generally faster processing
- Cleaning function 'break polygons' faster, less memory
- Cleaning function 'snap lines' faster and modifications are minimized: a vertex is snapped to the closest anchor vertex, not to the first anchor vertex found which might not be the closest anchor vertex.
- Simple Features API/OGR read/write support (ongoing)
- Support for color tables (see lib/vector/Vlib/color_*.c files), see also v.colors
- Vector network analysis for large datasets (as other vector operations) should require much less memory in GRASS GIS 7 because of substantial vector library improvements
Source Code Portability
- All former shell scripts have been rewritten to Python scripts
- MS-Windows portability improved, new spawn functions (backported to 6.5 and 6.4), LFS enabled by default
- MacOSX portability improved
- IBM AIX portability improved
- FreeBSD portability improved
- docker compliant
Source Code updates from GRASS GIS 6 to 7
In order to improve the software architecture, numerous functions have been moved from GIS library (lib/gis/) to the Raster library (lib/raster/).
For details, see
- Raster library in GRASS 7
- For raster function name changes from GRASS 6 to GRASS 7, see Grass7/RasterLib/ListOfFunctions
GRASS GIS 7 Addons
Many new addons are available:
Replaced and removed modules
Some modules present in GRASS 6 have been removed due to architecture changes or replacements:
- d.ask, d.colors, d.extend, d.extract, d.frame, d.mapgraph, d.measure, d.menu, d.save, d.zoom (old display architecture decommissioned)
- d.ask, d.colors: no longer needed
- d.extend: use G7:wxGUI or G7:g.region
- d.extract: use G7:v.extract or wxvdigit (digitizer) in G7:wxGUI
- d.frame: use instead the "GRASS_FRAME" variable, one of the G7:variables (contains 4 coordinates, top,bottom,left,right, defining the initial frame)
- d.mapgraph: use instead ... ???
- d.measure: use G7:wxGUI
- d.menu: use G7wxGUI
- d.save: use instead ... ???
- d.what.rast, d.what.vect, d.zoom: use G7:wxGUI
- d.correlate: while still included, there is a nice replacement: wxGUI Map Display Window -> Analyze map -> Interactive Scatter Plot Tool
- d.histogram: integrated in G7:wxGUI
- g.ask: use G7:g.findfile
- g.pnmcat: no longer needed
- g.mlist: replaced by G7:g.list
- g.mremove: replaced by G7:g.remove
- g.setproj: use Location Wizard in G7:wxGUI or 'G7:g.proj -c' (state plane by county selection needs to be ported)
- image processing:
- i.class rewritten as G7:g.gui.iclass (new wxGUI)
- i.ortho.photo, i.vpoints (need to be ported; old display architecture decommissioned)
- i.fusion.brovey: removed, functionality provided by G7:i.pansharpen
- i.points: new graphical version in G7:wxGUI
- raster:
- r.average: merged into G7:r.statistics, G7:r.stats.zonal, G7:r.stats.quantile
- r.bilinear: merged into G7:r.resamp.interp
- r.bitpattern: G7:r.mapcalc (&&& and | | | operators) + G7:i.modis.qa offer the same and more functionality
- r.digit: wxGUI raster digitizer added, enables drawing areas, lines, points and setting buffer for individual features
- r.in.arc: use G7:r.in.gdal or G7:r.import
- r.le.patch, r.le.pixel, r.le.setup, r.le.trace: moved to Addons as being replaced by G7:r.li commands
- r.los: replaced with G7:r.viewshed, r.los is in Addons (install with G7:g.extension)
- r.median: merged into G7:r.statistics, G7:r.stats.zonal, G7:r.stats.quantile
- r.out.arc: use G7:r.out.gdal
- r.out.tiff: use G7:r.out.gdal
- r.stream modules: r.stream.channel, r.stream.distance, r.stream.order, r.stream.segment, r.stream.slope, r.stream.snap, r.stream.stats moved back from relbranch7 to Addons (install with G7:g.extension)
- r.sum: use G7:r.univar
- r.surf.idw2: moved to Addons (install with G7:g.extension)
- r.terraflow.short (merged into FP version G7:r.terraflow is sufficient)
- v.digit (new wxPython digitizer) included in G7:wxGUI
- xganim: replaced with G7:g.gui.animation: new - Tool for animating a series of raster and vector maps or a space time raster or vector dataset. Alternatively, use Paraview
Renamed modules
- db.dropcol --> G7:db.dropcolumn
- g.mlist --> G7:g.list
- g.mremove --> G7:g.remove
- g.transform --> G7:m.transform
- d.shadedmap --> G7:d.shade (also added G7:r.shade)
- d.nviz --> G7:m.nviz.script
* i.latlong --> G7:r.latlong
- i.landsat.rgb --> G7:i.colors.enhance
- i.ortho.photo rewritten as G7:i.ortho.rectify: restructured and optimized; batch job capable
- nviz_cmd --> G7:m.nviz.image
- r.cats --> G7:r.category
- r.shaded.relief --> G7:r.relief
- r.statistics2 --> G7:r.stats.zonal
- r.statistics3 --> G7:r.stats.quantile
- v.db.addcol --> G7:v.db.addcolumn
Options changes
Some parameter names (options) have been renamed to achieve greater consistency. User scripts from GRASS 6 may need minor updates to run with GRASS 7 according to the changes listed below:
Hint: a full lookup table is available at: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0/lib/gis/renamed_options
Global module changes
These changes affect multiple modules:
- fs= (field separator) -> separator=
- nv= -> null_value
- dt= -> dtime
- dsn= -> input
New:
- --help, --overwrite, and --ui added
Display module changes
- G7:d.barscale
- background_color -> bgcolor
- G7:d.colorlist
- fs -> separator
- G7:d.colortable
- cols -> columns
- G7:d.correlate
- layers -> map
- G7:d.erase
- background -> bgcolor
- G7:d.font, G7:d.fontlist
- -L -> -v
- G7:d.geodesic
- lcolor -> line_color
- tcolor -> text_color
- G7:d.grid
- bordercolor -> border_color
- textcolor -> text_color
- G7:d.legend
- map -> rast
- G7:d.his
- h_map -> hue
- i_map -> intensity
- s_map -> saturation
- G7:d.path
- hcolor -> highlight_color
- type -> arc_type
- alayer -> arc_layer
- nlayer -> node_layer
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- ncolumn -> node_column
- G7:d.polar
- eps -> output
- G7:d.profile
- input -> map
- profile -> coordinates
- G7:d.rast
- catlist and vallist options merged into new values option
- overlay flag inverted to new opaque flag
- catlist -> values
- vallist -> values
- G7:d.rast.arrow
- arrow_color -> color
- x_color -> null_color
- G7:d.rast.leg
- rast -> raster
- G7:d.rhumbline
- coord -> coordinates
- lcolor -> line_color
- tcolor -> text_color
- G7:d.vect
- attrcolumn -> attribute_column
- display=attr removed
- fcolor -> fill_color
- llayer -> label_layer
- lcolor -> label_color
- bgcolor -> label_bgcolor
- bcolor -> label_boundary_color
- lsize -> label_size
- rot_column -> rotation_column
- wcolumn -> width_column
- wscale -> width_scale
- G7:d.vect.chart
- ctype -> chart_type
- ocolor -> outline_color
- sizecol -> size_column
- G7:d.vect.thematic
- bcolor -> boundary_color
- bwidth -> boundary_width
- nbclasses -> nclasses
Database module changes
- G7:db.connect
- -g and -d added
- default driver has changed from DBF -> SQLite
- G7:db.execute:
- sql= added
- usage changed: if piping from an echo statement, add "input=- to the end of the command:
echo "{your SQL statement};" | db.execute input=- # instead of echo "{your SQL statement};" | db.execute
- G7:db.out.ogr
- db_table -> table
- G7:db.select
- vs -> vertical_separator
General map management module changes
- G7:g.list (renamed from g.mlist)
- option region= added: find maps whose region overlaps with the input region
- flag -i added: ignore case
- G7:g.mapset
- gisdbase -> dbase
- G7:g.mapsets
- addmapset,removemapset -> operation
- G7:g.pnmcomp
- background -> bgcolor
- G7:g.region
- rast -> raster
- rast3d -> raster_3D
- vect -> vector
- option 3dview has been removed
- G7:g.remove (renamed from g.mremove)
- rast, rast3d, vect, oldvect, asciivect, icon, labels, sites, region, region3d, group, view3d -> type, name
- option exclude= added: exclude pattern
- options name= and ignore= added: name of file(s) to remove or ignore
- flag -i added: ignore case
- G7:g.rename
- rast -> raster
- rast3d -> raster_3D
- vect -> vector
- labels -> label
- oldvect, asciivect, icon, sites, region3d, and 3dview removed
Imagery module changes
- G7:i.atcorr
- iimg -> input
- iscl -> range
- ialt -> elevation
- ivis -> visibility
- icnd -> parameters
- oimg -> output
- oscl -> rescale
- G7:i.biomass
- lightuseefficiency -> lightuse_efficiency
- transmissivitysingleway -> transmissivity_singleway
- wateravailability -> water_availability
- G7:i.eb.netrad
- transmissivitysingleway|transmissivity_singleway
- G7:i.evapo.mh
- averagetemperature -> average_temperature
- maximumtemperature -> maximum_temperature
- minimumtemperature -> minimum_temperature
- netradiationdiurnal -> netradiation_diurnal
- G7:i.evapo.pt
- airtemperature -> air_temperature
- atmosphericpressure -> atmospheric_pressure
- netradiation -> net_radiation
- soilheatflux -> soil_heatflux
- priestley_taylor_coef -> priestley_taylor_coeff
- G7:i.fft
- input_image -> input
- real_image -> real
- imaginary_image -> imaginary
- G7:i.his.rgb
- hue_input -> hue
- intensity_input -> intensity
- saturation_input -> saturation
- red_output -> red
- green_output -> green
- blue_output -> blue
- G7:i.ifft
- real_image -> real
- imaginary_image -> imaginary
- output_image -> output
- G7:i.image.mosaic
- images -> input
- G7:i.in.spotvgt
- file -> input
- rast -> output
- G7:i.landsat.acca
- input_prefix -> input
- G7:i.landsat.toar
- input_prefix -> input
- output_prefix -> output
- G7:i.maxlik
- sigfile -> signaturefile
- class -> output
- G7:i.spectral
- raster -> input
- coord -> coordinates
- G7:i.tasscap
- outprefix -> basename
- G7:i.pansharpen
- ms1 -> blue
- ms2 -> green
- ms3 -> red
- output_prefix -> output
- sharpen -> method
- G7:i.pca
- output_prefix -> output
- G7:i.rectify
- res -> resolution
- G7:i.rgb.his
- red_input -> red
- green_input -> green
- blue_input -> blue
- hue_output -> hue
- intensity_output -> intensity
- saturation_output -> saturation
- G7:i.tasscap
- satellite -> sensor
- G7:i.vi
- chan5 -> band5
- chan7 -> band7
Misc module changes
- G7:m.measure
- coords -> coordinates
- G7:m.cogo
- coords -> coordinates
- G7:m.transform
- coords -> input
Raster module changes
- G7:r.basins.fill
- c_map -> cnetwork
- t_map -> tnetwork
- result -> output
- G7:r.blend
- output_prefix -> output
- G7:r.carve
- rast -> raster
- vect -> vector
- G7:r.category
- vals -> values
- default separator is now 'tab' not ':'
- G7:r.circle
- coordinate -> coordinates
- mult -> multiplier
- G7:r.clump
- flag -g added: print only the number of clumps in shell script style
- G7:r.coin
- map1 -> first
- map2 -> second
- G7:r.colors
- volume -> raster_3d
- color=rules -> rules=- (the dash stands for standard input)
- G7:r.colors.stddev
- input -> map
- G7:r.composite
- lev_red -> level_red
- lev_green -> level_green
- lev_blue -> level_blue
- G7:r.contour
- flag -t added: with this flag no attribute table is created
- G7:r.cost
- coordinate -> start_coordinates
- start_rast -> start_raster
- G7:r.distance
- maps -> map
- option sort= added: sort by distance
- G7:r.drain
- coordinates -> start_coordinates
- indir -> direction
- vector_points -> start_points
- voutput -> vector_output
- G7:r.external
- the -r flag has been removed, approximate range is not ok
- G7:r.fill.dir
- elevation -> input
- depressionless -> output
- outdir -> direction
- type -> format
- G7:r.flow
- elevin -> elevation
- aspin -> aspect
- barin -> barrier
- flout -> flowline
- lgout -> flowlength
- dsout -> flowaccumulation
- G7:r.his
- h_map -> hue
- i_map -> intensity
- s_map -> saturation
- r_map -> red
- g_map -> green
- b_map -> blue
- G7:r.horizon
- basename -> output
- coordinate -> coordinates
- elevin -> elevation
- horizonstep -> step
- output -> file
- G7:r.in.ascii
- -f flag -> type=CELL|FCELL|DCELL parameter
- G7:r.in.wms
- mapserver -> url
- G7:r.lake
- wl -> water_level
- xy -> coordinates
- G7:r.li.*
- map -> input
- G7:r.mapcalc
- rand() now requires seeding (new parameter seed= or new flag -s for generating random seed)
- G7:r.mask
- -o -> --overwrite
- input -> either option raster or option vector
- new options layer, cats, where
- G7:r.neighbors
- -q removed (redundant)
- selection added
- quantile added
- methods count, quart1, quart3, perc90, and quantile added
- G7:r.null
- -z added
- G7:r.out.mpeg
- qual -> quality
- G7:r.out.tiff
- -t flag -> -w
- G7:r.out.vrml
- elev -> elevation
- exag -> exaggeration
- G7:r.out.vtk
- elevscale -> zscale
- G7:r.param.scale
- c_tol -> curvature_tolerance
- exp -> exponent
- param -> method
- s_tol -> slope_tolerance
- G7:r.patch
- -q removed (redundant)
- G7:r.plane
- name -> output
- G7:r.profile
- null -> null_value
- G7:r.random
- raster_output -> raster
- n -> npoints
- vector_output -> vector
- G7:r.reclass
- use of rules parameter is mandatory in grass 7.0, also when the reclass rules are piped through another program (use rules=-)
- G7:r.reclass.area
- lesser,greater -> value, mode
- G7:r.regression.line
- map1 -> mapx
- map2 -> mapy
- G7:r.relief (renamed from r.shaded.relief)
- scale -> changed from "Scale factor for converting horizontal units to elevation units" to "Scale factor for converting meters to elevation units"
- units -> changed from "Set scaling factor (applies to lat./long. locations only, none: scale=1)" to "Elevation units (overrides scale factor)"
- G7:r.report
- -C -> -c
- -N -> -a
- pl -> page_length
- pw -> page_width
- null -> null_value
- G7:r.resample
- -q removed (redundant)
- G7:r.resamp.bspline
- se -> ew_step
- sn -> ns_step
- G7:r.resamp.rst
- elev -> elevation
- pcurv -> pcurvature
- mcurv -> mcurvature
- tcurv -> tcurvature
- zmult -> zscale
- G7:r.rgb
- output_prefix -> output
- G7:r.sim.sediment
- conc -> sediment_concentration
- detin -> detachment_coeff
- diffc -> diffusion_coeff
- dxin -> dx
- dyin -> dy
- elevin -> elevation
- erdep -> erosion_deposition
- et -> tlimit_erosion_deposition
- flux -> sediment_flux
- manin -> man
- maninval -> man_value
- nwalk -> nwalkers
- niter -> niterations
- outiter -> output_step
- outwalk -> walkers_output
- tauin -> shear_stress
- tc -> transport_capacity
- tranin -> transport_coeff
- wdepth -> water_depth
- G7:r.sim.water
- diffc -> diffusion_coeff
- disch -> discharge
- dxin -> dx
- dyin -> dy
- elevin -> elevation
- err -> error
- infil -> infil
- infil_val -> infil_value
- manin -> man
- manin_val -> man_value
- niter -> niterations
- nwalk -> nwalkers
- outiter -> output_step
- outwalk -> walkers_output
- rain_val -> rain_value
- traps -> flow_control
- G7:r.slope.aspect
- min_slp_allowed -> min_slope
- pcurv -> pcurvature
- prec -> precision
- tcurv -> tcurvature
- zfactor -> zscale
- G7:r.spreadpath
- coordinate -> coordinates
- G7:r.stream.extract
- stream_rast -> stream_raster
- stream_vect -> stream_vector
- G7:r.sun
- Shading (-s) is now the default. Use planar mode (-p) to ignore shadows.
- alb -> albedo_value
- albin -> albedo
- aspin -> aspect
- civiltime -> civil_time
- coefbh -> coeff_bh
- coefdh -> coeff_dh
- declin -> declination
- dist -> distance_step
- elevin -> elevation
- horizonstep -> horizon_step
- latin -> lat
- lin -> linke_value
- linkein -> linke
- longin -> long
- numpartitions -> npartitions
- slopein -> slope
- G7:r.surf.area
- input -> map
- G7:r.terraflow
- stream_dir -> directory
- G7:r.texture
- measure -> method
- G7:r.to.vect
- -q removed (redundant)
- -t added (do not create attribute table)
- column added
- feature -> type
- G7:r.topmodel
- elevation -> REMOVED
- basin -> REMOVED
- depressionless -> REMOVED
- direction -> REMOVED
- belevation -> REMOVED
- nidxclass -> ntopidxclasses
- idxstats -> topidxstats
- idxclass -> topidxclass
- qobs -> REMOVED
- nch parameter removed from the parameters file.
- One parameter per line in the parameters file.
- ntimesteps removed from the input file.
- ntimesteps, nch, and dt added in the output file.
- G7:r.uslek
- usle_k -> output
- G7:r.walk
- coordinate -> start_coordinates
- percent_memory -> memory
- start_rast -> start_raster
- G7:r.water.outlet
- drainage -> input
- basin -> output
- G7:r.watershed
- -f Enable MFD -> -s Enable SFD (MFD is now default)
- disturbed.land -> disturbed_land
- half.basin -> half_basin
- length.slope -> length_slope
- max.slope.length -> max_slope_length
- slope.steepness -> slope_steepness
- tci, spi added
- visual removed
- G7:r.what
- east_north -> coordinates
- G7:r.viewshed
- obs_elev -> observer_elevation
- tgt_elev -> target_elevation
- max_dist -> max_distance
3D Raster module changes
- G7:r3.colors
- volume -> raster_3d
- G7:r3.gwflow
- q -> sink
- s -> yield
- r -> recharge
- vx -> velocity_x
- vy -> velocity_y
- vz -> velocity_z
- G7:r3.mapcalc
- rand() now requires seeding (new parameter seed= or new flag -s for generating random seed)
- G7:r3.out.ascii
- dp -> precision
- null -> null_value
- G7:r3.out.vtk
- elevscale -> zscale
Vector module changes
- G7:v.buffer
- bufcolumn -> column
- G7:v.clean
- thresh -> threshold
- G7:v.category
- -t option added (do not copy attribute table)
- transfer added
- G7:v.colors
- volume -> raster_3d
- G7:v.db.connect
- -l removed
- G7:v.db.join
- otable -> other_table
- ocolumn -> other_column
- scolumns -> subset_columns
- G7:v.db.select
- -f -> exclude attributes not linked to features
- nv -> null_value
- vs -> vertical_separator
- G7:v.db.update
- qcolumn -> query_column
- sqliteextra added
- G7:v.drape
- rast -> elevation
- G7:v.edit
- measure -> method
- thresh -> threshold
- G7:v.external
- dsn -> input
- G7:v.extract
- list -> cats
- G7:v.extrude
- hcolumn -> height_column
- G7:v.in.e00
- file -> input
- vect -> output
- G7:v.in.ogr
- dsn -> input
- cnames -> columns
- G7:v.in.wfs
- wfs -> url
- G7:v.info
- layer=integer -> layer=string
- G7:v.kcv
- input -> map
- k -> npartitions
- G7:v.label
- background -> bgcolor
- hcolor -> highlight_color
- hwidth -> highlight_width
- G7:v.lidar.correction
- sce -> ew_step
- scn -> ns_step
- G7:v.lidar.edgedetection
- see -> ew_step
- sen -> ns_step
- G7:v.lrs.create
- thresh -> threshold
- G7:v.lrs.label
- background -> bgcolor
- hcolor -> highlight_color
- hwidth -> highlight_width
- G7:v.lrs.where
- thresh -> threshold
- G7:v.kcv
- k -> npartitions
- G7:v.kernel
- mult -> multiplier
- G7:v.mkgrid
- coor -> coordinates
- G7:v.net
- -s (snap) added
- thresh -> threshold
- alayer -> arc_layer
- nlayer -> node_layer
- G7:v.net.alloc
- alayer -> arc_layer
- nlayer -> node_layer
- type -> arc_type
- ccats -> center_cats
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.allpairs
- -a removed
- alayer -> arc_layer
- nlayer -> node_layer
- node_column added
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.bridge
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.centrality
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.components
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.connectivity
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.distance
- alayer -> arc_layer
- nlayer -> node_layer
- type -> arc_type
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.flow
- alayer -> arc_layer
- nlayer -> node_layer
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.iso
- alayer -> arc_layer
- nlayer -> node_layer
- type -> arc_type
- ccats -> center_cats
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.path
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.salesman
- alayer -> arc_layer
- nlayer -> node_layer
- type -> arc_type
- ccats -> center_cats
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.spanningtree
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_columnw
- G7:v.net.steiner
- alayer -> arc_layer
- nlayer -> node_layer
- type -> arc_type
- tcats -> terminal_cats
- nsp -> npoints
- G7:v.net.timetable
- alayer -> arc_layer
- nlayer -> node_layer
- ncolumn -> node_column
- afcolumn -> arc_column
- abcolumn -> arc_backward_column
- G7:v.net.visibility
- coordinate|coordinates
- vis|visibility
- G7:v.out.ogr
- dsn -> output
- olayer -> output_layer
- otype -> output_type
- the meaning of the -c flag has been reverted in GRASS 7 because the default must be to export only features with categories in the selected layer (the user needs to select a GRASS vector layer for v.out.ogr which will be translated to an OGR layer). If features without category are exported, the logic of matching a GRASS vector layer to a OGR layer is violated. This is particularly true for areas with islands which are in simple feature terminology polygons with holes.
- G7:v.out.postgis
- dsn -> output
- olayer -> output_layer
- olink -> output_link
- G7:v.out.vtk
- scale -> zscale
- G7:v.outlier
- soe -> ew_step
- son -> ns_step
- thres_o -> threshold
- G7:v.qcount
- n -> nquadrats
- r -> radius
- G7:v.random
- n -> npoints
- G7:v.rast.stats
- colprefix -> column_prefix
- input -> map
- G7:v.sample
- z -> zscale
- G7:v.segment
- file -> segments
- G7:v.support
- thresh -> threshold
- G7:v.surf.bspline
- sie -> ew_step
- sin -> ns_step
- raster -> raster_output
- sparse -> sparse_input
- G7:v.surf.rst
- devi -> deviations
- elev -> elevation
- maskmap -> mask
- mcurv -> mcurvature
- overfile -> overwin
- pcurv -> pcurvature
- scolumn -> smooth_column
- tcurv -> tcurvature
- treefile -> treeseg
- zmulti -> zscale
- G7:v.to.db
- columns --> now required parameter
- qlayer -> query_layer
- qcolumn -> query_column
- units:
- mi -> miles
- f -> feet
- me -> meters
- k -> kilometers
- a -> acres
- h -> hectares
- r -> radians
- d -> degrees
- G7:v.to.rast
- column -> attribute_column
- rgbcolumn -> rgb_column
- labelcolumn -> label_column
- rows -> removed
- memory -> added
- G7:v.to.points
- -v/-n -> use
- llayer -> layer
- G7:v.transform
- attrcolumn -> attribute_column
- labelcolumn -> label_column
- pointsfile -> use instead G7:v.rectify
- rgbcolumn -> rgb_column
- zrot -> zrotation
- G7:v.vect.stats
- alayer -> areas_layer
- ccolumn -> count_column
- pcolumn -> points_column
- player -> points_layer
- scolumn -> stats_column
- G7:v.vol.rst
- aspect1 -> aspect_horizontal
- aspect2 -> aspect_vertical
- cellinp -> cross_input
- cellout -> cross_output
- devi -> deviations
- elev -> elevation
- gcurv -> gcurvature
- mcurv -> mcurvature
- ncurv -> ncurvature
- scolumn -> smooth_column
- wmulti -> wscale
- zmulti -> zscale
- G7:v.what.vect
- qcolumn -> query_column
- qlayer -> query_layer
- qmap -> query_map
- G7:v.what.vect
- qvector -> query_map
- qlayer -> query_layer
- qcolumn -> query_column
- vector -> map
Temporal module changes
- G7:t.rast.import
- extrdir -> directory
- G7:t.rast.export
- extrdir -> directory
- G7:t.vect.import
- extrdir -> directory
- G7:t.vect.export
- extrdir -> directory
MS-Windows: Changes for bat files
Please see: https://grasswiki.osgeo.org/wiki/GRASS_and_bat-files_in_windows_console
Upgrading GRASS database
Attachments (10)
-
grass700RC2_startup.png
(89.6 KB
) - added by 10 years ago.
GRASS GIS 7.0.0 startup screen
-
splash_screen.png
(186.8 KB
) - added by 10 years ago.
GRASS 7 splash screen
-
d_shade.jpg
(77.5 KB
) - added by 10 years ago.
Screenshot d.shade
-
i_col_enh_corr.jpg
(53.1 KB
) - added by 10 years ago.
Screenshot i.landsat.toar
-
temporal_timeline_2D.jpg
(54.2 KB
) - added by 10 years ago.
Screenshot temporal framework t.*
-
v_hull_3d.png
(47.9 KB
) - added by 10 years ago.
Screenshot v.hull 3D map
-
v_net_distance.jpg
(84.0 KB
) - added by 10 years ago.
Screenshot v.net.distance
-
wxGUI_gmodeler.png
(65.6 KB
) - added by 10 years ago.
Screenshot wxGUI graphical modeler
-
wxGUI_iscatt.jpg
(73.5 KB
) - added by 10 years ago.
Screenshot wxGUI scatterplot tool
-
wxGUI_vnet.jpg
(43.6 KB
) - added by 10 years ago.
Screenshot wxGUI vector network analyst
Download all attachments as: .zip