Thanks for your answer Frank. I've stepped through the code (GDALWarpOperation 
and GDALWarpKernel) but can't find the origin of the mistake...
So I've made a small package : http://bosow.free.fr/bundle.rar
There might be small mistakes since I replaced my QStrings with char* so that 
you can compile it easier, but I didn't try to compile it, but it should be 
ok... Let me know if you have any problems so that you don't waste too much 
time.


Thanks again, I appreciate your help since I'm really stuck right now...


Sincerely yours,
--
Matthieu Castanier



========================================

Message du : 19/11/2010
De : "Frank Warmerdam " <[email protected]>
A : [email protected]
Copie à : 
Sujet : Re: [gdal-dev] GDALWarpOperation::WarpRegionToBuffer() doesn't write in 
my buffer


 
[email protected] wrote:
> Hi,
> I am trying to write a program which is supposed to read geotif files, 
> extract the values I need, then export them in a homemade format.
> As my geotif files are on several different UTM zones, I have to change 
> projections so that all the files I open have the same projection as the 
> "main tile" (central tile).
> 
> So i'm using WarpRegionToBuffer from GDALWarpOperation class with a null 
> hDstDS, which is supposed to work... but my buffer remains filed with 
> the default values I assigned to him (-999), even though 
> WarpRegionToBuffer returns CE_None...
...
Matthiew,

I don't see an obvious problem.  If you can't make progress, perhaps by
stepping through the code, then bundle up a minimal C++ program and input
file demonstrating the problem.  Something I can easily compile here and
run with a minimum of fuss.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up     Frank Warmerdam, [email protected]
light and sound - activate the windows   http://pobox.com/~warmerdam
and watch the world go round - Rush      Geospatial Programmer for Rent



_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to