Because I was looking for java is this:

gdal.SetConfigOption("GDAL_DATA", "/home/nikos/mygdal/data");

and it is working :)

thanks,
--Nikos

On Tue, Aug 9, 2011 at 2:13 PM, Kyle Shannon <[email protected]> wrote:

> I believe you can use CPLSetConfigOptions() docs are here:
>
> http://trac.osgeo.org/gdal/wiki/ConfigOptions
>
> /**
>  *
>  * Kyle Shannon
>  * [email protected]
>  *
>  */
>
>
>
>
> On Tue, Aug 9, 2011 at 15:11, Nikolaos Hatzopoulos <[email protected]>wrote:
>
>> Hi,
>>
>> Is there any way you can define GDAL_DATA using code and not environmental
>> variable?
>>
>> --Nikos Hatzopoulos
>>
>> _______________________________________________
>> gdal-dev mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to