[GRASS-dev] [GRASS GIS] #2873: Simplify usage of GRASS in Python from outside
GRASS GIS
trac at osgeo.org
Sun Jul 10 07:26:04 PDT 2016
#2873: Simplify usage of GRASS in Python from outside
-------------------------+-------------------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: | Status: new
enhancement |
Priority: major | Milestone: 7.2.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: startup, installation, scripts,
| interpreter, windows installer, pygrass,
CPU: | temporal, bootstrap, boilerplate
Unspecified | Platform: All
-------------------------+-------------------------------------------------
Comment (by wenzeslaus):
''Support for scripting GRASS GIS in Ruby''
([https://github.com/jgoizueta/grassgis github.com/jgoizueta/grassgis]) is
something to take some inspiration from when creating something like a
Session class:
{{{
#!ruby
GrassGis.session configuration do
g.list 'vect'
puts output # will print list of vector maps
end
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2873#comment:10>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list