New answers tagged

0 votes

Georeferencing Google Map image with GDAL, display coordinates in Lat/Long

Python and pyproj are an easy way to convert between coordinates. from pyproj import Transformer TRAN_900913_TO_3857 = Transformer.from_crs( "EPSG:900913", "EPSG:4326") ...
user avatar
  • 7,137
0 votes

Converting a NetCDF with multiple variables to GeoTIFF calling GDAL_TRANSLATE function from Python

Using vrt is one solution for sure. Apparently it worked like that for the votemper layer only: #old_name = file name with path etc. , var_name = subdataset prefix name #the prints are just for quick ...
user avatar
1 vote
Accepted

gdal_translate TIFF to PNG with added alpha

By the driver documentation https://gdal.org/drivers/raster/png.html grayscale with alpha is not supported even the PNG format does support it http://libpng.org/pub/png/spec/1.2/PNG-DataRep.html I ...
user avatar
  • 51.5k
0 votes

Scaling problem when projected map is overlaid on basemap in QGIS

The answer seems to be that QGIS is picking up on the bounding box rather than the axes of the map. If I remove the map colorbar, axis labels, and title, the overlay aligns perfectly.
user avatar
0 votes

Doubling of filesize with GDAL after transformation despite similar compression

Thanks to all your feedbacks. The culprit was simply precision and number of digits. gdal_translate doesn't seem to change decimals (i.e.: 2 digits stay as 2 digits) gdalwarp does bring more digits ...
user avatar
  • 641

Top 50 recent answers are included