Dinesh, Let us narrow the error location. Give the argument --help-general or --version. You should get the appropriate results. If not, it means that the arguments are not passed to the executable.
On Fri, Mar 23, 2012 at 9:11 PM, Dinesh Dass Subramanian < [email protected]> wrote: > Chaitanya, > > 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. > > > On Thu, Mar 22, 2012 at 10:57 AM, Chaitanya kumar CH < > [email protected]> wrote: > >> Dinesh, >> >> 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. >> Please elaborate on how you are trying to do this. >> >> >> On Thu, Mar 22, 2012 at 10:05 AM, Dinesh Dass Subramanian < >> [email protected]> wrote: >> >>> Dear Frank, >>> >>> Thanks for your help. I have added the LD_LIBRARY_PATH and there is no >>> error in the output file.But new message is coming while I try to >>> execute the gdaltransform or any other utility in my web service. >>> >>> op.text >>> -------- >>> Usage: gdaltransform [--help-general] >>> [-i] [-s_srs srs_def] [-t_srs srs_def] [-to \"NAME=VALUE\"] >>> [-order n] [-tps] [-rpc] [-geoloc] >>> [-gcp pixel line easting northing [elevation]] >>> [srcfile [dstfile]] >>> >>> I have debugged the code and upto the commandline class, it is working >>> fine. The commandline class is able to interpret the gdaltransform as >>> executable and the remaining strings as arguments. But the exectask >>> class could not execute the command. Please suggest. Thanks. >>> >>> >>> On 3/21/12, Frank Warmerdam <[email protected]> wrote: >>> > On 12-03-19 07:44 AM, Dinesh Dass Subramanian wrote: >>> >> Hi, >>> >> >>> >> >>> >> I'm trying to develop a web service for gdaltransform utility that >>> gets >>> >> four >>> >> coordinates as input and write it in an input file. Then the >>> gdaltransform >>> >> utility is executed as in commandline to produce the output in the >>> output >>> >> file. >>> >> I have the RPC file in the same path. The problem is the >>> gdaltransform is >>> >> not >>> >> getting executed while I run the web service. But the same command >>> works >>> >> in >>> >> normal commandline mode. Please help to resolve this problem. Thanks. >>> > ... >>> >> *op.txt (error shown)* >>> >> *---------* >>> >> gdaltransform: error while loading shared libraries: >>> libgdal1.7.0.so.1: >>> >> cannot >>> >> open shared object file: No such file or directory >>> > >>> > Dinesh, >>> > >>> > This a normal error indicating that the libgdal1.7.0.so.1 shared >>> library >>> > is not being found. Normally I'd address this by adding a "SetEnv" >>> > directive >>> > in my apache file setting LD_LIBRARY_PATH to include the directory with >>> > the libgdal1.7.0.so.1 file. It might also make sense to put that file >>> > somewhere like /usr/lib and use ldconfig - see the ldconfig or >>> ld.so.conf >>> > man pages for more information on this. This is in no way a GDAL >>> specific >>> > issue. >>> > >>> > Best regards, >>> > -- >>> > >>> ---------------------------------------+-------------------------------------- >>> > I set the clouds in motion - turn up | Frank Warmerdam, >>> > [email protected] >>> > light and sound - activate the windows | http://home.gdal.org/warmerda >>> > and watch the world go round - Rush | Geospatial Software Developer >>> > >>> > _______________________________________________ >>> > gdal-dev mailing list >>> > [email protected] >>> > http://lists.osgeo.org/mailman/listinfo/gdal-dev >>> > >>> >>> >>> -- >>> Regards, >>> S.Dinesh Dass, >>> M.Tech - Remote Sensing, >>> Institute of Remote Sensing, >>> Anna University, >>> Chennai. >>> Mob: +91-9976033932 >>> _______________________________________________ >>> gdal-dev mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/gdal-dev >>> >> >> >> >> -- >> Best regards, >> Chaitanya kumar CH. >> >> +91-9494447584 >> 17.2416N 80.1426E >> > > > > -- > Regards, > S.Dinesh Dass, > M.Tech - Remote Sensing, > Institute of Remote Sensing, > Anna University, > Chennai. > Mob: +91-9976033932 > > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
