All Questions
Tagged with masking geotiff-tiff
9 questions
1
vote
0
answers
46
views
Get rid of GeoTIFFs that fall outside the boundary when adjacent GeoTIFFs overlap each other
I am currently working in ArcGIS Desktop 10.4 with data driven pages enabled. I have ten GeoTIFFs with some overlapping into other GeoTIFFs. I want to mask those that are overlapping so when I show a ...
1
vote
0
answers
303
views
Getting Rid of Black Boundaries from Tiff Image using Google Earth Engine
I'm getting a tiff image from earth engine using the code below, but the image I get is rectangular and surrounded by a black box.
How can I get rid of the black boundaries on the corners and get a ...
1
vote
0
answers
1k
views
Reading in GeoTIFF with different CRS and Transform with rasterio
I have multiple TIF files with different resolutions that I want to combine using rasterio. I am using a modification of the example given in the documentation here. However, on closer inspection ...
6
votes
1
answer
1k
views
Writing masked GeoTIFF in rasterio and visualizing in QGIS?
I have an interpolated raster, which is a masked array, that shows where the data is valid. I want to save it as masked TIFF with rasterio.
To test, here's the JSON file, and the code:
import rasterio,...
2
votes
1
answer
3k
views
Masking GeoTIFF file after GeoJSON through rasterio - "Input shapes do not overlap raster"
So my intention is quite simple:
I have a 4-Band TIFF file I want to crop after a polygon shape. However, I'm getting the following two exceptions
WindowError: windows do not intersect
ValueError: ...
1
vote
0
answers
458
views
Does anyone know why I'm getting a completely black geotiff as a result of this shapefile cut out of another geotiff in rasterio?
I am using rasterio to cut out the shape of a lake outlined in my shapefile from a geotiff. When using a shapefile of a singular lake with a geotiff, this works perfectly, but not when cutting out a ...
6
votes
1
answer
641
views
Stacking and masking Landsat at the same time with rasterio
Based on answers from previous questions 1,2 and the Masking a raster using a shapefile guide from rasterio cookbook, I wrote the code below.
The code runs correctly. I would like to improve it.
1- ...
1
vote
1
answer
173
views
Fill values beyond the mask
I have some .tif raster and .shp mask, and I need to fill values in the raster, which are beyond the mask, with -999. How can I do this using QGIS?
6
votes
1
answer
6k
views
Creating a mask with transparent pixels in Python
I have a GeoTIFF image with pixel intensities ranging between certain values. Let's say between -2 and 2 (the image is normalized). I have a certain threshold which interests me, let's sat 1. I would ...