7 | | The situation is much complicated by the fact that coordinate systems defined for the surface of the earth can be set up in many ways. It is common to have the first axis to point east but it is possible to have it pointing north. Also the data can organized internally for computer in many ways. GDAL traditionally calls the organization sequences of pixels that form lines, which form sequences of lines. In GDAL the first data point is assumed to be at the location of (0,0) in the pixel,line coordinates, and that the pixel,line coordinates increase linearly. GDAL also traditionally associates pixels with X axis of the coordinate system and lines with Y axis of the coordinate system. GDAL uses the concept of a GeoTransform to tie the data points to the coordinate system. The GDAL GeoTransform defines the minimum X, maximum Y coordinates associated with the first data point (it assumes the data point represents a rectangular area with the point in the center), and the coefficients (above offset vectors) for computing X,Y coordinates for any data point (again, the min X, max Y coordinates associated with it). Finally, GDAL assumes X to increase eastward and Y to increase northward. |
| 7 | The situation is much complicated by the fact that coordinate systems defined for the surface of the earth can be set up in many ways. It is common to have the first axis to point east but it is possible to have it pointing north. Also the data can organized internally for computer in many ways. GDAL traditionally calls the organization sequences of pixels that form lines, which form sequences of lines. In GDAL the first data point is assumed to be at the location of (0,0) in the pixel,line coordinates, and that the pixel,line coordinates increase linearly. GDAL also traditionally associates pixels with X axis of the coordinate system and lines with Y axis of the coordinate system. GDAL uses the concept of a !GeoTransform to tie the data points to the coordinate system. The GDAL !GeoTransform defines the minimum X, maximum Y coordinates associated with the first data point (it assumes the data point represents a rectangular area with the point in the center), and the coefficients (above offset vectors) for computing X,Y coordinates for any data point (again, the min X, max Y coordinates associated with it). Finally, GDAL assumes X to increase eastward and Y to increase northward. |