Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
britainie's user avatar
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 ...
Ege Akkaya's user avatar
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 ...
Ansh's user avatar
  • 11
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,...
culebrón's user avatar
  • 2,344
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: ...
Buruiană Cătălin's user avatar
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 ...
Kerry O'Neill's user avatar
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- ...
mlateb's user avatar
  • 139
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?
Vitalii Kinakh's user avatar
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 ...
JEquihua's user avatar
  • 1,087