Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geotransform comment in NB 1 #4

Open
janetrbarclay opened this issue Jun 28, 2021 · 0 comments
Open

geotransform comment in NB 1 #4

janetrbarclay opened this issue Jun 28, 2021 · 0 comments

Comments

@janetrbarclay
Copy link

Currently the description of the geotransform list (under def make_raster and def make_grid in NB 1) reads as noted below. Are E and D in opposite positions in the list? (i.e. should it be [C, A, B, F, D, E]?) In the current gdal documentation (https://gdal.org/tutorials/geotransforms_tut.html) the 5th element is indicative of rotation and the 6th element is the vertical distance from upper left to lower left, but in the description below it is the reverse.

gt : 6-element geotransform list [C, A, B, F, E, D]. Gives the coordinates of one pixel (the upper left pixel). 
If there is no rotation, B=D=0. If cells are square, A=-E.  Letter designations come from the original documentation.
        
        C = x coordinate in map units of the upper left corner of the upper left pixel
        A = distance from C along x axis to upper right pixel corner of the upper left pixel
        B = distance from C along x axis to lower left pixel corner of the upper left pixel,
        F = y coordinate in map units of the upper left corner of the upper left pixel
        E = distance from C along y axis to lower left pixel corner of the upper left pixel
        D = distance from C along y axis to upper right pixel corner of the upper left pixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant