Java not recognizing GDAL/OGR environment variable -


doing stuff on ogr in java - importing spatial reference epsg code, error:

error 4: unable open epsg support file gcs.csv. try setting gdal_data environment variable point directory containing epsg csv files. 

problem (unlike other question on stack saw same error) have gdal_data in user environment variables (win7) pointing c:\program files\gdal\gdal-data gcs.csv exists.

i have line -djava.library.path="c:\program files\gdal\" in project's runtime options ensure gdal linked (even though have env variable path pointing there well), need similar or in code force/set gdal_data environment variable or not problem , else? (wouldn't first time gdal/ogr bindings have been weird on me)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -