GRASS migration hints: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(+ Upgrading GRASS database)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Migrating to GRASS ==
== Support ==


Welcome! There is a lot of help on the web and a wealth of expertise available on the mailing lists and via IRC.
There is a lot of help on the web, this wiki and in the user manual. However, a lot of people are available on the mailing lists and at other places.
* See [https://grass.osgeo.org/support/ the official support page] which also includes links to commercially provided support.
* Subscribe to the grass-users [https://lists.osgeo.org/listinfo/grass-user maillist]
* Visit the [http://gis.stackexchange.com/questions/tagged/grass GRASS tag] on gis.stackexchange.com


== Tips for recent migrants ==
== Guides and tips for migration ==


* [[GIS Concepts]] in GRASS GIS
=== Migrating from ESRI products ===
* [[GRASS GIS for ArcGIS users]]
* [[Tips for Arc users|Tips for ArcGIS users]]
* [[Tips for Arc users|Tips for ArcGIS users]]
* [[GRASS GIS for ArcGIS users]]
* [http://www.surfaces.co.il/?p=241 Watershed Analysis with GRASS] (in case you know the ESRI way)
* [http://www.surfaces.co.il/?p=241 Watershed Analysis with GRASS] (in case you know the ESRI way)
* [[GIS to GRASS command translation|Whatever-GIS-Software to GRASS command translation table and discussion]] (obsolete)
* [[Terminology comparison between ArcGIS and GRASS GIS]]
* 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: [http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures List of new features in GRASS 7] (new names, options, etc.; check here if you don't find a certain command or module parameter)
=== Migrating from older versions of GRASS GIS ===
 
* [[GRASS Module Porting List|Module updates between GRASS GIS version 5 and 6]]
* [https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures List of new features in GRASS GIS 7] (new modules, new names, options, etc.; check here if you don't find a certain modules or module parameter)
* [[Upgrading GRASS database]]


== GIS "The GRASS way" ==
== GIS "The GRASS way" ==
When migrating to GRASS GIS, it is useful to review its design and values. Here are the highlights.
=== Portability ===
* Support for all major platforms including Linux, Mac OS X and MS Windows
* All code POSIX C and generic UNIX compatible
* GRASS GIS works not only on powerful desktops but also on low-end laptops all the way down to devices such as [[Raspberry Pi]].
* GRASS GIS also works on servers, clusters for scientific computing, and on other supper computer or cloud setups
* 64bit and 32bit versions
=== Scalability ===
* [[GRASS GIS Performance]]
* 64bit version offers even better performance and capacity on all platforms including MS Windows
=== All in one ===
* With GRASS GIS you are getting full selection of analysis including but not limited to hydrology, terrain analysis, network analysis and image processing. No installing or purchasing of additional tools or plugins.
* GRASS GIS aims to process all kinds of geospatial data in a unified way including vectors, rasters, images, 3D rasters and their time series.
=== Scriptability ===
* GRASS GIS is made up of modular tools specifically designed for easy scriptability in any number of common scripting languages, see for example [[GRASS and Shell]]
* Interface for direct hooks into higher scripting languages especially Python but also R and Bash/Shell, see [[GRASS and Python]] and [[Category:Linking to other languages]]
* GRASS GIS can run without any GUI when the full path to the mapset is provided in the command line parameters. If "<tt>GRASS_BATCH_JOB=/path/to/script.sh</tt>" environmental variable is set GRASS 6+ will run the script as a batch job and exit when it is complete. Same applies to <tt>--exec</tt> parameter in GRASS 7.1+. See also {{cmd|grass7}} command manual and [[GRASS and Shell#GRASS Batch jobs|GRASS and Shell]].


=== Interoperability ===
=== Interoperability ===
Line 18: Line 52:


* [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}}
Line 28: Line 63:
* [http://vis5d.sourceforge.net/ Vis5D]: {{cmd|r3.in.v5d}}, {{cmd|r3.out.v5d}}
* [http://vis5d.sourceforge.net/ Vis5D]: {{cmd|r3.in.v5d}}, {{cmd|r3.out.v5d}}
* QGIS has GRASS Plugin to work with GRASS GIS data and analytical tools inside QGIS
* QGIS has GRASS Plugin to work with GRASS GIS data and analytical tools inside QGIS
=== 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 [[Category:Linking to other languages]]
* if "<tt>GRASS_BATCH_JOB=/path/to/script.sh</tt>" 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#GRASS Batch jobs|GRASS and Shell]].


=== Freedom ===
=== Freedom ===
* [[Gis_Concepts#How_the_Open_Source_software_development_model_works|How the Open Source software development model works]]
* 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)
* Freedoms ensured by GNU General Public License (GPL)
 
* 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 ==
 
* [[Gis_Concepts|GIS concepts]] in GRASS GIS
* [[Terminology comparison between ArcGIS and GRASS GIS]]


== External links: Software Comparisons & Thesis ==
== External links: Software Comparisons ==


''Some information may be outdated. Note the year of individual resources.''
''Some information may be outdated. Note the year of individual resources.''
Line 60: Line 80:


[[Category:Community]]
[[Category:Community]]
[[Category:ArcGIS]]

Latest revision as of 11:48, 12 August 2024

Support

There is a lot of help on the web, this wiki and in the user manual. However, a lot of people are available on the mailing lists and at other places.

Guides and tips for migration

Migrating from ESRI products

Migrating from older versions of GRASS GIS

GIS "The GRASS way"

When migrating to GRASS GIS, it is useful to review its design and values. Here are the highlights.

Portability

  • Support for all major platforms including Linux, Mac OS X and MS Windows
  • All code POSIX C and generic UNIX compatible
  • GRASS GIS works not only on powerful desktops but also on low-end laptops all the way down to devices such as Raspberry Pi.
  • GRASS GIS also works on servers, clusters for scientific computing, and on other supper computer or cloud setups
  • 64bit and 32bit versions

Scalability

  • GRASS GIS Performance
  • 64bit version offers even better performance and capacity on all platforms including MS Windows

All in one

  • With GRASS GIS you are getting full selection of analysis including but not limited to hydrology, terrain analysis, network analysis and image processing. No installing or purchasing of additional tools or plugins.
  • GRASS GIS aims to process all kinds of geospatial data in a unified way including vectors, rasters, images, 3D rasters and their time series.

Scriptability

  • GRASS GIS is made up of modular tools specifically designed for easy scriptability in any number of common scripting languages, see for example GRASS and Shell
  • Interface for direct hooks into higher scripting languages especially Python but also R and Bash/Shell, see GRASS and Python and
  • GRASS GIS can run without any GUI when the full path to the mapset is provided in the command line parameters. If "GRASS_BATCH_JOB=/path/to/script.sh" environmental variable is set GRASS 6+ will run the script as a batch job and exit when it is complete. Same applies to --exec parameter in GRASS 7.1+. See also grass7 command manual and GRASS and Shell.

Interoperability

Collaboration with external software is highly encouraged.

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.
  • Freedoms ensured by GNU General Public License (GPL)
  • Rocchini, D., Neteler, M., 2012. Let the four freedoms paradigm apply to ecology. Trends in Ecology & Evolution 27, 310–311., (full text)

External links: Software Comparisons

Some information may be outdated. Note the year of individual resources.