Hi Michael,

I had to tangle with warping recently and took inspiration from both the warp 
tutorial and the gdalwarp source.  The result is at 
<https://github.com/geo-data/cesium-terrain-builder/blob/master/src/GDALTiler.cpp#L202>
 - it may be of help.

Homme

On 15 July 2014 20:00:50 GMT+01:00, Even Rouault <[email protected]> 
wrote:
>Le mardi 15 juillet 2014 20:52:16, Michael Aschenbeck a écrit :
>> Thanks for your response.
>> 
>> For my application, I will be creating the transformation on the fly.
> It
>> will be a non-standard transformation.  Unless I'm mistaken, I don't
>> believe this can be done with gdalwarp directly.
>> 
>> Also, I am under the assumption that its source code is introduced in
>the
>> tutorial I am working off of (http://www.gdal.org/warptut.html). 
>Yet, this
>> just introduces a standard transformation, not a custom one.  This is
>why
>> I'm having trouble.
>
>When doing custom stuff, you often need to step into GDAL code to
>understand 
>better how things are interacting together.
>Actually looking at your identityTransform and
>GDALSuggestedWarpOutput2(), I 
>think there's at least something you should fix. You should initialize
>all the 
>nPointcount elements of then panSuccess array to 1.
>
>Even
>
>-- 
>Geospatial professional services
>http://even.rouault.free.fr/services.html
>_______________________________________________
>gdal-dev mailing list
>[email protected]
>http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to