Hot answers tagged geotiff
Once your geotiff is loaded into QGIS, right click on the image in the layers list, select properties. In 'Render type' select 'Singleband pseudocolor', then in the box on the right, choose a colour map you like the look of, and click on 'Classify'. You can tweak other settings here to get the desired affect e.g. manually changing the range of each colour ...
To cut an image (tif file) by using GDAL python library, and without gdalwarp utility, you need to find row and column raster indexes of top point [p1=(minX, maxY)] and bottom point [p2=(maxX, minY)]. The formulas, based in your code, are: i1 = int((p1 - xOrigin) / pixelWidth) j1 = int((yOrigin - p1 ) / pixelHeight) i2 = int((p2 - xOrigin) / ...
I think I may have figured it out. If one resets the Nodata value in the original files to -9999 with: gdalwarp -dstnodata -9999 tmean1_16.tif tmean1_16_error999.tif and then uses gdalmerge specifying both the input nodata value and the output nodatavalue: gdal_merge.py -v -n -9999 -a_nodata -9999 -o tmean1_06_16.tif tmean1_06_error999.tif ...
And like all ArcGIS problems, fully restarting my computer and connections has fixed everything. Thanks again for those who looked into this.
From memory, the RAT/colour table for a tif is either stored in a .dbf or .aux.xml file. You could try deleting those if they exist.
My solution was to run a /usr/bin/gdal_calc.py -A input.tif --outfile=output.tif --calc="A*1" --NoDataValue=0 --co="compress=lzw"
This sounds like a perfectly reasonable thing to do with mapnik. You have (at least) two options to do that. The first and simplest option is to do something along the lines of (pseudo code): create a mapnik map create a style (potentially based on user input) # you can also create a style per layer append the style to the map for each file create a ...
Use BricsCAD, which is in fact an affordable copy of AutoCAD. This software is able to read the geocoded information of a geotiff.
Only top voted, non community-wiki answers of a minimum length are eligible