GRASS migration hints: Difference between revisions
Jump to navigation
Jump to search
m (→Scriptability) |
m (links to manual) |
||
Line 10: | Line 10: | ||
* [http://www.gdal.org GDAL/OGR] for Import/Export | * [http://www.gdal.org GDAL/OGR] for Import/Export | ||
* R statistics: [http://grass. | * R statistics: [http://grass.osgeo.org/statsgrass/ GRASS/R interface] | ||
* DXF: v.in.dxf, v.out.dxf | * DXF: {{cmd|v.in.dxf}}, {{cmd|v.out.dxf}} | ||
* Matlab/[http://www.gnu.org/software/octave/Octave Octave]: r.in.mat, r.out.mat, v.in.mapgen, v.in.ascii, v.out.ascii | * Matlab/[http://www.gnu.org/software/octave/Octave Octave]: {{cmd|r.in.mat}}, {{cmd|r.out.mat}}, {{cmd|v.in.mapgen}}, {{cmd|v.in.ascii}}, {{cmd|v.out.ascii}} | ||
* [http://www.povray.org/ POV-Ray] rendering: r.out.pov, v.out.pov | * [http://www.povray.org/ POV-Ray] rendering: {{cmd|r.out.pov}}, {{cmd|v.out.pov}} - see also [[POV-Ray]] | ||
* VMRL: r.out.vrml (3D virtual | * VMRL: {{cmd|r.out.vrml}} (3D virtual reality) | ||
* [http://gmt.soest.hawaii.edu/ GMT] - Generic Mapping Tools for cartography: r.in.bin, r.out.bin | * [http://gmt.soest.hawaii.edu/ GMT] - Generic Mapping Tools for cartography: {{cmd|r.in.bin}}, {{cmd|r.out.bin}} | ||
* Google Earth/KML: v.out.ogr | * Google Earth/KML: {{cmd|v.out.ogr}} | ||
* VTK ([http://www.paraview.org/ Paraview], etc): r3.out.vtk, r.out.vtk, v.out.vtk | * VTK ([http://www.paraview.org/ Paraview], etc): {{cmd|r3.out.vtk}}, {{cmd|r.out.vtk}}, {{cmd|v.out.vtk}} - see also [[GRASS and Paraview]] | ||
* V5D: r3.in.v5d, r3.out.v5d | * V5D: {{cmd|r3.in.v5d}}, {{cmd|r3.out.v5d}} | ||
=== Portability === | === Portability === |
Revision as of 17:18, 3 June 2009
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.
GIS "The GRASS way"
Interoperability
Collaboration with external software is highly encouraged.
- GDAL/OGR for Import/Export
- R statistics: GRASS/R interface
- DXF: v.in.dxf, v.out.dxf
- 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
- V5D: r3.in.v5d, r3.out.v5d
Portability
- All code POSIX C and generic UNIX compatible
- Most code MinGW compatible for native MS-Windows
Scriptability
- GRASS is made up of modular tools specifically designed for easy scriptability in any number of common scripting languages
- SWIG interface for direct hooks into higher scripting languages (esp. Python)
- if "GRASS_BATCH_JOB=/path/to/script.sh" is set GRASS 6.3+ 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.
Freedom
GRASS Concepts
Tips for recent migrants
- Tips for ArcGIS users
- GIS Software to GRASS command translation table and discussion
- GRASS 4 and 5 users: GRASS Module Porting List (check here if you don't find a certain command in GRASS 6)
Software Comparisons & Thesis
- Feature Comparison of Open Source Desktop GIS Software (several tables, 2007)
- MSc thesis 2006 (English), comparing ArcGIS & GRASS
- FOSS geomatics (thesis profiling FOSS4G, 2008)