[gdal-dev] GDAL_DATA

Nikolaos Hatzopoulos nhatzop at gmail.com
Tue Aug 9 18:08:22 EDT 2011


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 <ksshannon at gmail.com> wrote:

> I believe you can use CPLSetConfigOptions() docs are here:
>
> http://trac.osgeo.org/gdal/wiki/ConfigOptions
>
> /**
>  *
>  * Kyle Shannon
>  * ksshannon at gmail.com
>  *
>  */
>
>
>
>
> On Tue, Aug 9, 2011 at 15:11, Nikolaos Hatzopoulos <nhatzop at gmail.com>wrote:
>
>> Hi,
>>
>> Is there any way you can define GDAL_DATA using code and not environmental
>> variable?
>>
>> --Nikos Hatzopoulos
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110809/7c84eea4/attachment.html


More information about the gdal-dev mailing list