I have a process which needs to read in an Image's GeoTransform Array, and convert it to the Bounding Box
i.e. If the Input is:
<GeoTransform>
7.8087700868360430e+05, 9.9974951285737870e+00, 0.0000000000000000e+00,
2.0276558410121971e+06, 0.0000000000000000e+00, -1.0000024189695811e+01
</GeoTransform>
I need the Output as
Upper Left:780877.009, 2027655.841
Lower Left:780877.009, 2010425.799
Upper Right:799692.295, 2027655.841
Lower Right:799692.295, 2010425.799
I see that you can do this using GDAL's Python bindings, but I need to do this without any dependencies.
Is there a formula that could be applied to get the expected Bounding Box?
Replace "Xpixel" and "Yline" with either 0, the image width, or the image height, depending on which corner you're trying to find the coordinates of.
– mikewatt Aug 03 '18 at 19:50