#2456: read CSV from GDAL data directory
---------------------------------+---------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: task | Status: new
Priority: blocker | Milestone: 7.1.0
Component: Projections/Datums | Version: svn-releasebranch70
Resolution: | Keywords: gdal
CPU: Unspecified | Platform: Unspecified
---------------------------------+---------------------------------
Comment (by mmetz):
Replying to [comment:6 martinl]:
> Replying to [comment:3 martinl]:
> > For record list of affected files:
> > * pcs.csv
>
> The attached patch attachment:gdal_data.diff forces GRASS to use CSV
files from GDAL.
The patch was too complicated. Actually, you do not need to force GRASS to
use CSV files from GDAL, instead GRASS should not override the default CSV
file location with `SetCSVFilenameHook()`. Simply disabling calls to this
function lets GDAL via GRASS use its own CSV files. Done in trunk r68128.
This does not solve all problems because GRASS uses its own mechanisms for
SRS names, datum transformations etc which might fail to find any
parameters.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2456#comment:12>
GRASS GIS <https://grass.osgeo.org>