Dinesh,<br><br>You gave the path to a tiff file as an argument from which the projection definition or the GCPs will be extracted. So there should be no need for it to read from inputAoiPath.<br>Please elaborate on how you are trying to do this.<br>
<br><div class="gmail_quote">On Thu, Mar 22, 2012 at 10:05 AM, Dinesh Dass Subramanian <span dir="ltr"><<a href="mailto:sdineshdass@gmail.com">sdineshdass@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Frank,<br>
<br>
Thanks for your help. I have added the LD_LIBRARY_PATH and there is no<br>
error in the output file.But new message is coming while I try to<br>
execute the gdaltransform or any other utility in my web service.<br>
<br>
op.text<br>
--------<br>
Usage: gdaltransform [--help-general]<br>
[-i] [-s_srs srs_def] [-t_srs srs_def] [-to \"NAME=VALUE\"]<br>
[-order n] [-tps] [-rpc] [-geoloc]<br>
[-gcp pixel line easting northing [elevation]]<br>
[srcfile [dstfile]]<br>
<br>
I have debugged the code and upto the commandline class, it is working<br>
fine. The commandline class is able to interpret the gdaltransform as<br>
executable and the remaining strings as arguments. But the exectask<br>
class could not execute the command. Please suggest. Thanks.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 3/21/12, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:<br>
> On 12-03-19 07:44 AM, Dinesh Dass Subramanian wrote:<br>
>> Hi,<br>
>><br>
>><br>
>> I'm trying to develop a web service for gdaltransform utility that gets<br>
>> four<br>
>> coordinates as input and write it in an input file. Then the gdaltransform<br>
>> utility is executed as in commandline to produce the output in the output<br>
>> file.<br>
>> I have the RPC file in the same path. The problem is the gdaltransform is<br>
>> not<br>
>> getting executed while I run the web service. But the same command works<br>
>> in<br>
>> normal commandline mode. Please help to resolve this problem. Thanks.<br>
> ...<br>
>> *op.txt (error shown)*<br>
>> *---------*<br>
>> gdaltransform: error while loading shared libraries: libgdal1.7.0.so.1:<br>
>> cannot<br>
>> open shared object file: No such file or directory<br>
><br>
> Dinesh,<br>
><br>
> This a normal error indicating that the libgdal1.7.0.so.1 shared library<br>
> is not being found. Normally I'd address this by adding a "SetEnv"<br>
> directive<br>
> in my apache file setting LD_LIBRARY_PATH to include the directory with<br>
> the libgdal1.7.0.so.1 file. It might also make sense to put that file<br>
> somewhere like /usr/lib and use ldconfig - see the ldconfig or ld.so.conf<br>
> man pages for more information on this. This is in no way a GDAL specific<br>
> issue.<br>
><br>
> Best regards,<br>
> --<br>
> ---------------------------------------+--------------------------------------<br>
> I set the clouds in motion - turn up | Frank Warmerdam,<br>
> <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
> light and sound - activate the windows | <a href="http://home.gdal.org/warmerda" target="_blank">http://home.gdal.org/warmerda</a><br>
> and watch the world go round - Rush | Geospatial Software Developer<br>
><br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">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>
><br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
Regards,<br>
S.Dinesh Dass,<br>
M.Tech - Remote Sensing,<br>
Institute of Remote Sensing,<br>
Anna University,<br>
Chennai.<br>
Mob: <a href="tel:%2B91-9976033932" value="+919976033932">+91-9976033932</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>