I created a PyQGIS standalone script in PyCharm my script use rasters layers but any time to try to run it I take this error message:
Warning 1: Cannot find pcs.csv Warning 1: Cannot find datum.csv or gdal_datum.csv Warning 1: Cannot find ellipsoid.csv Warning 1: Cannot find prime_meridian.csv 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.
But I have defined GDAL_DATA in the Windows environment:
I try to add path in PyCharm:
And I try to add path with
sys.path.append and nothing again. I have checked all files in error message is in the GDAL PATH.
Any idea why I can't define GDAL_DATA?