rsbivand / rgrass

Interpreted interface between the GRASS geographical information system and R
https://rsbivand.github.io/rgrass/
24 stars 8 forks source link

initGRASS() needs GRASS_PROJSHARE #7

Closed rsbivand closed 2 years ago

rsbivand commented 4 years ago

Work on the Geomed workshop https://github.com/rsbivand/geomed19-workshop revealed that under PROJ 6 GRASS needs a shell environment variable to provide grid files.

veroandreo commented 4 years ago

AFAIU, proj6 support in GRASS GIS is WIP, right @metzm? See discussion in grass-dev: https://www.mail-archive.com/grass-dev@lists.osgeo.org/msg58503.html

rsbivand commented 4 years ago

My problem was that when I included a +nadgrids= in a proj4 string, g.proj crashed asking for GRASS_PROJSHARE. When I set the environment variable in the shell, the error message did not appear. I didn't check behaviour because I didn't need it then.

metzm commented 4 years ago

On Wed, Aug 14, 2019 at 8:21 PM Roger Bivand notifications@github.com wrote:

My problem was that when I included a +nadgrids= in a proj4 string, g.proj crashed asking for GRASS_PROJSHARE. When I set the environment variable in the shell, the error message did not appear. I didn't check behaviour because I didn't need it then.

Proj6 support in GRASS is WIP. At least in master and G78, g.proj should work with proj6.

Markus M