Open WillieMaddox opened 7 years ago
I might suggest using the geoio library. It provides a GeoImage
class with methods for performing these transformations proj_to_raster
and raster_to_proj
. It automatically extracts the metadata from the GeoTIFF to figure out how to perform these transformations.
In geo_util.py, this line gives me the correct lat lon in web mercator.
But this last line (just before the return) seems to transform it back to lat lon in degrees:
which I believe is incorrect. Am I missing something here?