[gdal-dev] Default GeoTransform for MEM driver

Tim Keitt tkeitt at utexas.edu
Mon Dec 9 08:55:34 PST 2013


Right. Thanks for checking into it.

I guess I was thrown by
http://www.gdal.org/classGDALDataset.html#af9593cc241e7d140f5f3c4798a43a668

which gives the default as {0, 1, 0, 0, 0, +1}.

Is there a library wide convention on this? I can update the docs if so. (I
assume its a simple pull and send a diff type setup.)

THK


On Sun, Dec 8, 2013 at 11:27 PM, Jukka Rahkonen
<jukka.rahkonen at mmmtike.fi>wrote:

> Tim Keitt <tkeitt <at> gmail.com> writes:
>
> >
> > I notice that the "MEM" driver returns {0, 1, 0, 0, 0, -1} by default. Is
> this a bug or do some formats flip the vertical axis? If so, what is the
> convention for detecting and handling "south up" formats in code?
>
> I guess that anchor point is at the top left corner and therefore the north
> coordinate is decreasing step by step when you walk downwards. Document
> http://www.gdal.org/gdal_tutorial.html supports my thoughts.
>
> -Jukka Rahkonen-
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
http://www.keittlab.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131209/2c1e7f37/attachment.html>


More information about the gdal-dev mailing list