Hot answers tagged

2

The tutorial in the answer posted by Venug uses the Raster > Miscellaneous > Merge functionality. What I don't like about that method is that it requires you to find the files you want to merge in your file system. This can be tedious in a directory with hundreds of files. I prefer to use the Processing tools, which use the layers as inputs. Here I have an ...


2

I hope below link will help you to complete the task as you want.. http://www.qgistutorials.com/en/docs/raster_mosaicing_and_clipping.html


1

Your raster and your polygon do not overlap. If they do: > r1 = raster(extent(c(107,110,38,40))) > polygon_mus <- extent(c(107, 111, 37, 40)) > cell <- extract(r1, polygon_mus) Then that works. If they don't: > r1 = raster(extent(c(112,114,38,40))) > cell <- extract(r1, polygon_mus) Error in (function (classes, fdef, mtable) : ...


1

You can either leave the -s_srs empty or use +proj=sinu +R=6371007.181 +nadgrids=@null +wktext gdalwarp -of GTIFF -s_srs '+proj=sinu +R=6371007.181 +nadgrids=@null +wktext' -r cubic -t_srs '+proj=longlat +datum=WGS84 +no_defs' {inputfile} {outputfile} Note that inputfile must be the full subdataset (SDS) name, which you can get from gdalinfo. For example, ...


1

If you use the latest version of QGIS, it has no problem reading and displaying the tif files. You need to extract the .tif.gz files to .tif in advance using your operating systems tools. Then add the .tif to the canvas: You can extract a subregion with Raster -> Clipper by dragging a rectangle on the screen, or specifying a bounding box in the map ...


1

I don't know if this is a mistake (NED = geotiff('nedwashtenaw.tif') Align NED data with LS8 data) but from pyGTiff import geotiff import numpy as np LS8 = geotiff('LC80200312014149LGN00/LC80200312014149LGN00_B5_subset.TIF') NED = geotiff('nedwashtenaw.tif') # Align NED data with LS8 data NEDn = LS8.intersect(NED,nodata=[0],resampleType=2) New I ...



Only top voted, non community-wiki answers of a minimum length are eligible