Replies: 3 comments
-
I tend to suggest |
Beta Was this translation helpful? Give feedback.
-
as a side note, Windows batchfiles for use with R are living in the winGRASS code. the functionality of these batch files is simply to find installed R in windows and add it to this worked in winGRASS (Osgeo4W and standalone installer) based upon OSGeo4W version 1. Now, since the change to OSGeo4W version 2 as build environment for winGRASS some time ago, these batch files have not been taken over to the OSGeo4W environment. therefore a revision is needed
|
Beta Was this translation helpful? Give feedback.
-
During the upcoming GRASS GIS community meeting 2024, beginning end of this week, I'd like to contribute to (re-)implementing the GDAL-GRASS GIS driver and to the idea of user-friendly wrappers. For the latter, see issue #89. |
Beta Was this translation helpful? Give feedback.
-
Meeting minutes on interfacing GRASS from R
Further edits are welcome.
2023-06-04 15:00 CEST
Conversation as part of the GRASS Community Meeting in Prague 2023
Participated: Roger Bivand (online), Vero Andreo (online), Vaclav Petras, Anna Petrasova, Helmut Kudrnovsky, Micha Silver, Floris Vanderhaeghe
Package management
GitHub repo ownership
rspatial
(administered by @rhijmans):r-spatial
(administered by @edzer):Retiring rgrass7
Needs & desires with relation to internals
Using the GDAL-GRASS GIS drivers to read GRASS data
svn checkout svn://r-forge.r-project.org/svnroot/spgrass/
; see also https://r-forge.r-project.org/R/?group_id=2020 and https://github.com/r-forge/spgrass). The GDAL-GRASS approach was dropped before moving development to GitHub.Conclusion: work is needed to re-integrate the GDAL-GRASS GIS drivers. Also the CRS representation needs attention, either on the driver or on the terra side (see observations in https://github.com/rsbivand/rgrass/issues/75). An idea could be to propose a Google Summer of code project for this topic.
R packages used for data transfer to/from GRASS database
Dependency management
The XML package is currently used to parse the XML string returned from GRASS modules called with the
--interface-description
flag (see vignette about launching R in GRASS / GRASS in R). But the package is currently less popular and maintained than the xml2 package.Maybe XML is going to get unsupported at some future time, so better to step over and migrate the XML functions to xml2 functions. This especially applies to
parseGRASS()
.Continuous integration
Latest state of this can be found in https://github.com/rsbivand/rgrass/issues/61.
@VLucet was in the process of getting GRASS installed in different GHA workers (operating systems). When would this be ready @VLucet?
Needs & desires with relation to the user interface
Names of functions & arguments; many arguments
it is preferred to drop the
GRASS
suffixes, use lowercase function names with snake_case, and consistently use a prefix common to all exported functions, e.g.rg_
(referring to rgrass) so that (similarly to sf and qgisprocess). SoexecGRASS()
would be turned intorg_exec()
. A proposal of function names and which to keep exported is needed.execGRASS()
, with perhaps some potentially superfluous ones likelegacyexec
.control
argument that takes a list of (original) elements. Or put more generally, to collapse certain sets of arguments.TO DO: make an issue with proposed new function names, usage (new arguments with defaults), and an indication of 'becoming internal'. So also including old function names that are kept (internally).
Documentation
execGRASS()
functions.Also pinging @neteler, @wenzeslaus, @petrasovaa, @micha-silver
Beta Was this translation helpful? Give feedback.
All reactions