[gdal-dev] Re: "disformed" images in its positions

Chaitanya kumar CH chaitanya.ch at gmail.com
Fri Jul 1 12:17:00 EDT 2011


Frederick,

GDAL considers the position (0.0,0.0) as the top left part of the top left
pixel [1]. So, the center of the top left pixel would be (0.5,0.5). This
could be the cause of the linear shift.

[1]: http://www.gdal.org/gdal_datamodel.html (Affine GeoTransform)

On Thu, Jun 30, 2011 at 7:39 PM, frederick keusch <
frederick.keusch at digimapas.cl> wrote:

> Hi Chaitanya,
>
> after intenting a lot of things to solve the problem including shift grids
> for example, we came back to the method with gdal_translate and gdalwarp
> you
> described. And it does work more or less. I did give GCP`s to the corners
> of
> the images and also in the images. The problem is, that after doing the
> warp, it seems like the image is shifted linear, all to the GCP in the
> upper
> left corner, so the East-coordinate e.g. upper left and lower left and
> upper
> right and lower right are identlical, what should not be. Using gdalinfo
> after using gdal_translate shows, that the manually given GCP´s were
> accepted, but after warping erverthing seems to move just linear, no matter
> if the option -geoloc was used or not...
> So I hope, maybe you could or some could have an idea , what could be the
> problem...
>
> Thanks in advance,
>
> frederick
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/disformed-images-in-its-positions-tp6476206p6533392.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110701/4459ad98/attachment.html


More information about the gdal-dev mailing list