Ang Sherpa wrote > Hi users, > > When I tried adding C:\Program Files\GRASS GIS 7.2.0\share\gdal to the > system path with following line of code, it doesnot work as expected. Am I > missing something? > My code is > new_path = r'C:\Program Files\GRASS GIS 7.2.0\share\gdal' > os.environ['PATH'] += os.pathsep + new_path > > Still this error persist. > ERROR 4:Unable to open EPSG support file gcs.csv. > Try setting the GDAL_DATA environment variable to point to the directory > containing EPSG csv files. > ERROR: Unknown EPSG code 32645 > > *Best,* > *Ang Dawa Sherpa* > > On Tue, Mar 21, 2017 at 3:36 PM, Ang Sherpa <
> angsherpa232@ > > wrote: > >> Yes, gcs.csv exists in both machine. Well, I reinstalled Grass 7.2 and it >> worked. >> Thanks. >> >> *Regards,* >> *Ang Dawa Sherpa* >> *GIS technician - Irrigation Master Plan* >> *WRPPF - DOI, Nepal Government* >> *Lalitpur* >> *contact: 984 007 3861* >> >> On Tue, Mar 21, 2017 at 3:23 PM, Helmut Kudrnovsky < > hellik@ > > wrote: >> >>> Ang Sherpa wrote >>> > Thanks Helmut, >>> > >>> > I am using standalone-winGRASS 7.2.0 >>> > In both my PC and laptop when: echo %GDAL_DATA% is executed in >>> > winGRASS-console it shows the same location: >>> > >>> > c:\Program Files\GRASS GIS 7.2.0\Share\gdal >>> >>> could you have a look if gcs.csv lives in the folder above? >>> >>> may you re-install your winGRASS standalone-winGRASS 7.2.0? >>> may you try OSGeo4W-winGRASS 7.2.0 (https://trac.osgeo.org/osgeo4w/)? >>> >>> can't reproduce the error here at the moment. >>> >>> >>> >>> >>> >>> >>> ----- >>> best regards >>> Helmut >>> -- >>> View this message in context: http://osgeo-org.1560.x6.nabbl >>> e.com/ERROR-4-unable-to-open-EPSG-support-file-gcs-csv-tp531 >>> 3117p5313354.html >>> Sent from the Grass - Users mailing list archive at Nabble.com. >>> _______________________________________________ >>> grass-user mailing list >>> > [email protected] >>> https://lists.osgeo.org/mailman/listinfo/grass-user >> >> >> > > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user AFAIK adding the gdal related folder to %PATH% doesn't help. As mentioned in the error message, the variable %GDAL_DATA% should be defined in your script. ----- best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ERROR-4-unable-to-open-EPSG-support-file-gcs-csv-tp5313117p5314199.html Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
