Chaitanya,<div><br></div><div>The inputAoiPath contains the list of the input coordinates to be transformed. The path to the tiff file contains the RPC file using which the transformation is performed. The outputAoiPath file contains the transformed coordinates. Thanks.<br>
<br><div class="gmail_quote">On Thu, Mar 22, 2012 at 10:57 AM, Chaitanya kumar CH <span dir="ltr"><<a href="mailto:chaitanya.ch@gmail.com">chaitanya.ch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<div>
<div class="h5"><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" target="_blank">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><div><br>
<br>
On 3/21/12, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com" target="_blank">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" target="_blank">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" 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>
><br>
<br>
<br>
</div></div><div>--<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" target="_blank">+91-9976033932</a><br>
</div><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br></div></div>Best regards,<br>Chaitanya kumar CH.<br><br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>S.Dinesh Dass, <br>M.Tech - Remote Sensing,<div>Institute of Remote Sensing,</div><div>Anna University,</div><div>Chennai.</div><div>Mob: +91-9976033932</div>
<br>
</div>