New answers tagged

0

Gdal_translate can do that with -srcwin https://gdal.org/programs/gdal_translate.html. -srcwin Selects a subwindow from the source image for copying based on pixel/line location. The minimal command would be gdal_translate -srcwin 30 30 1220 900 input.tif output.tif Instead of using gdal_translate binary you can use it also as a library in Python ...


0

In documentation for gdalwarp command: https://gdal.org/programs/gdalwarp.html there is an example where is pointed out that options in your command are precisely used for un-georeferenced images and it is also necessary a cutline as csv file. So, for georeferenced images, you only need to add or to rest 30*(Pixel Size) to xmin ymin xmax ymax values. These ...


2

Your 1st step is wrong, as the initial raster is in EPSG:4326 it should be: gdal_translate -a_srs EPSG:4326 -a_ullr -104.7 30.8 -103.8 29.8 MRMS_RALA_LATEST.tiff projected.tiff Then your 2nd step will correctly reproject the raster to epsg:3857 for web mercator.


4

gdal_translate needs the coordinates of the corners - I don't know where your " 729000 528000" come from - I guess the width/height? No, it should be the coordinates: gdal_translate -a_srs "+proj=gnom +lat_0=50.008 +lon_0=14.447" -a_ullr -301500 +217500 427500 -310500 QQNDR.png located.tiff Another change I've made is to name the output .tiff since its a ...


1

Thank you very much for posting your workflow, this helped me with a similar issue I was having. In case this might be useful to somebody else, I used different python functions for my raster mosaic. In my case, the no data value for the VRT was 255 and because my data only goes from 0 to 100, I masked all the values in my VRTs greater than 100 before ...


0

There's a QGIS tutorial "Wildfire Monitoring Using The Semi-Automatic Classification Plugin" that seems to cover downloading as well as the necessary analysis steps. I haven't tried it myself but it should be a starting point.


0

The file does indeed contain raster subdatasets and GDAL can see them but there may so something special in the coordinates of that NetCDF file. Gdalinfo with GDAL 2.4 reports this gdalinfo NETCDF:"S2A_turbidez.nc":rhow_865 Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument". Warning 1: dimension #1 (x) is not a Longitude/X ...


1

Note the difference between band rendering done by QGIS and the actual raster extent and values. The values of your raster remain the same, regardless of the band rendering (Multicolor band, Singleband gray, Paletted unique/values) you select in Layer properties. If you take your original layer (i.e. HDF4_EOS:EOS_GRID:"MCD19A2.A2018312.h24v06.006....


Top 50 recent answers are included