[GRASS-dev] PROJ version in WinGRASS

Roger Bivand Roger.Bivand at nhh.no
Sun Apr 11 07:59:16 PDT 2021


In: https://lists.osgeo.org/pipermail/grass-stats/2021-April/001834.html
I draw attention to an issue raised with regard to the version of PROJ 
proj.db bundled with WinGRASS. Across the EPSG 9/10 border, table and 
field names change, so PROJ itself builds differently, and g.proj is built 
to handle the proj.db/EPSG version it "sees". If PROJ_LIB is changed to a 
different proj.db/EPSG version, obviously problems occur.

Is there a way to declare the EPSG version in g.proj, preferably before 
7.8.6 ships? For now the work-around in rgrass7 is to trap the error found 
when g.proj expects EPSG 9 and is pointed at 10, and fall back from WKT2 
to Proj4 string representation.

Roger

-- 
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand at nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en


More information about the grass-dev mailing list