[Gdal-dev] Expose Array Based Coordinate Transformation Methods in CoordinateTransformation (#1615)

Ari Jolma ari.jolma at tkk.fi
Sun May 6 17:00:12 EDT 2007


I just replied to Tamas' mail and for the time being it would perhaps be 
best to exclude the new method from the Perl bindings.

Ari

Frank Warmerdam kirjoitti:
> Tamas Szekeres wrote:
>> Hi All,
>>
>> I had a first crack at adding CoordinateTransformation.TransformPoints
>> to the SWIG interface to provide the transformation of the given
>> number of points passed as arrays of coordinates.
>> I've tested the code for the C# bindings and worked pretty well. If
>> someone have further issues please give me a comment at:
>> http://trac.osgeo.org/gdal/ticket/1615
>
> Ari,
>
> It seems the perl bindings are no longer building since Tamas' change.
> I see:
>
>
> gcc -c  -I../../gcore -I../../alg -I../../ogr -I../../port 
> -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/include/gdbm -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables   
> -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC 
> "-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE"   osr_wrap.cpp
> osr_wrap.cpp: In function 'void 
> _wrap_CoordinateTransformation_TransformPoints(PerlInterpreter*, CV*)':
> osr_wrap.cpp:8406: error: '$dim0' was not declared in this scope
> osr_wrap.cpp:8407: error: size of array 'argout4' has non-integral 
> type '<type error>'
> osr_wrap.cpp:8408: error: size of array 'argout5' has non-integral 
> type '<type error>'
> osr_wrap.cpp:8414: error: 'argout3' was not declared in this scope
> make[1]: *** [osr_wrap.o] Error 1
> make[1]: Leaving directory 
> `/osgeo/buildbot/gdal/buildslave/telascience-full/build/gdal/swig/perl'
>
> Any help getting this working again would be appreciated.
>
> Best regards,





More information about the Gdal-dev mailing list