GRASS migration hints: Difference between revisions
Jump to navigation
Jump to search
⚠️Wenzeslaus (talk | contribs) (→GIS "The GRASS way": move the interoperability to the middle (too long for the beginning) and improve the freedom part (remove dead link, tell freedoms)) |
⚠️Wenzeslaus (talk | contribs) (→Interoperability: add numpy) |
||
Line 29: | Line 29: | ||
* [http://www.gdal.org GDAL/OGR] for import/export to many formats | * [http://www.gdal.org GDAL/OGR] for import/export to many formats | ||
* [http://www.numpy.org/ NumPy] (in Python): {{pyapi|script|script.array|array}}, {{pyapi|script|script.array|array3d}} | |||
* [https://www.r-project.org/ R] statistical software: [http://grass.osgeo.org/statsgrass/ GRASS-R interface] | * [https://www.r-project.org/ R] statistical software: [http://grass.osgeo.org/statsgrass/ GRASS-R interface] | ||
* DXF: {{cmd|v.in.dxf}}, {{cmd|v.out.dxf}}, {{cmd|v.in.ogr}}, {{cmd|v.out.ogr}} | * DXF: {{cmd|v.in.dxf}}, {{cmd|v.out.dxf}}, {{cmd|v.in.ogr}}, {{cmd|v.out.ogr}} |
Revision as of 05:17, 31 January 2016
Migrating to GRASS
Welcome! There is a lot of help on the web and a wealth of expertise available on the mailing lists and via IRC.
Tips for recent migrants
- Tips for ArcGIS users
- GRASS GIS for ArcGIS users
- Watershed Analysis with GRASS (in case you know the ESRI way)
- Whatever-GIS-Software to GRASS command translation table and discussion (obsolete)
- GRASS 4 and 5 users: GRASS Module Porting List (check here if you don't find a certain command in GRASS 6)
- GRASS 7 users: List of new features in GRASS 7 (new names, options, etc.; check here if you don't find a certain command or module parameter)
GIS "The GRASS way"
Portability
- Support for all major platforms including Linux, Mac OS X and MS Windows
- All code POSIX C and generic UNIX compatible
Scriptability
- GRASS GIS is made up of modular tools specifically designed for easy scriptability in any number of common scripting languages, see GRASS and Shell
- Interface for direct hooks into higher scripting languages (esp. Python), see GRASS and Python and
- if "GRASS_BATCH_JOB=/path/to/script.sh" is set GRASS 6+ will run the script as a batch job and exit when it is complete. Start GRASS with the full path to the mapset to avoid the startup menus. See also GRASS and Shell.
Interoperability
Collaboration with external software is highly encouraged.
- GDAL/OGR for import/export to many formats
- NumPy (in Python): script.array.array(), script.array.array3d()
- R statistical software: GRASS-R interface
- DXF: v.in.dxf, v.out.dxf, v.in.ogr, v.out.ogr
- Matlab/Octave: r.in.mat, r.out.mat, v.in.mapgen, v.in.ascii, v.out.ascii
- POV-Ray rendering: r.out.pov, v.out.pov - see also POV-Ray
- VMRL: r.out.vrml (3D virtual reality)
- GMT - Generic Mapping Tools for cartography: r.in.bin, r.out.bin
- Google Earth/KML: v.out.ogr
- VTK (Paraview, etc): r3.out.vtk, r.out.vtk, v.out.vtk - see also GRASS and Paraview
- Vis5D: r3.in.v5d, r3.out.v5d
- QGIS has GRASS Plugin to work with GRASS GIS data and analytical tools inside QGIS
Freedom
- All users are free to run the GRASS GIS for any purpose, study how it works, copy it and redistribute it, and even change it.
- Rocchini, D., Neteler, M., 2012. Let the four freedoms paradigm apply to ecology. Trends in Ecology & Evolution 27, 310–311., http://tinyurl.com/tree-four-freedoms (full text)
GRASS GIS Concepts
External links: Software Comparisons & Thesis
Some information may be outdated. Note the year of individual resources.
- Steiniger, S., Hunter, A.J.S., 2013. The 2012 free and open source GIS software map – A guide to facilitate research, development, and adoption. Computers, Environment and Urban Systems 39, 136–150. DOI
- Matrix of open source and proprietary software functionality (2010)
- MSc thesis 2006 (English), Comparison of geographic information system software (ArcGIS 9.0 and GRASS 6.0): implementation and case study by T.R. Buchanan
- An Exploration Of Free And Open Source Software For Geomatics (thesis, 2008)
- Comparison of Open Source Desktop GIS Packages (collection of links) at GIS StackExchange