Because I was looking for java is this:<br><br>gdal.SetConfigOption("GDAL_DATA", "/home/nikos/mygdal/data");<br><br>and it is working :)<br><br>thanks,<br>--Nikos<br><br><div class="gmail_quote">On Tue, Aug 9, 2011 at 2:13 PM, Kyle Shannon <span dir="ltr"><<a href="mailto:ksshannon@gmail.com">ksshannon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font face="courier new,monospace">I believe you can use CPLSetConfigOptions() docs are here:<br>
<br><a href="http://trac.osgeo.org/gdal/wiki/ConfigOptions" target="_blank">http://trac.osgeo.org/gdal/wiki/ConfigOptions</a><br clear="all">
</font><br>/**<br> *<br> * Kyle Shannon<br> * <a href="mailto:ksshannon@gmail.com" target="_blank">ksshannon@gmail.com</a><br> *<br> */<br><br><br>
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Aug 9, 2011 at 15:11, Nikolaos Hatzopoulos <span dir="ltr"><<a href="mailto:nhatzop@gmail.com" target="_blank">nhatzop@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi,<br><br>Is there any way you can define GDAL_DATA using code and not environmental variable?<br><br>--Nikos Hatzopoulos<br>
<br></div></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>
</blockquote></div><br>