Obtain Latitude and Longitude from a GeoTIFF File

后端 未结 2 1249
后悔当初
后悔当初 2020-12-04 07:36

Using GDAL in Python, how do you get the latitude and longitude of a GeoTIFF file?

GeoTIFF\'s do not appear to store any coordinate information. Instead, they store

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 08:04

    I don't know if this is a full answer, but this site says:

    The x/y map dimensions are called easting and northing. For datasets in a geographic coordinate system these would hold the longitude and latitude. For projected coordinate systems they would normally be the easting and northing in the projected coordinate system. For ungeoreferenced images the easting and northing would just be the pixel/line offsets of each pixel (as implied by a unity geotransform).

    so they may actually be longitude and latitude.

提交回复
热议问题