New answers tagged


In my opinion, a much easier way to use an "in house" plugin is to place a copy in the following directory: C:\OSGeo4W\apps\qgis\python\plugins Also within this directory you will see other plugins that are installed as core plugins that come with the OSGEO4W download of QGIS. After placing a copy of your custom plugin into this directory, be sure to go ...


You can use an adaptation of the next code (by using the path of your particular raster): from osgeo import gdal import numpy as np raster = "/home/zeito/pyqgis_data/utah_demUTM2.tif" dataset = gdal.Open(raster) band = dataset.GetRasterBand(1) print "rows = %d columns = %d" % (band.YSize, band.XSize) BandType = gdal.GetDataTypeName(band.DataType) print ...


Yes, there is a plugin for that.

Top 50 recent answers are included