Skip to main content

All Questions

Tagged with
1 vote
2 answers
68 views

Naming clipped files from layer mask?

I have to clip a quite large raster (corn crops) into individuals rows. It's working fine with the "Clip raster by mask layer" tool with a grid I created. However, I need the clipped images ...
basile's user avatar
  • 69
1 vote
0 answers
23 views

Clip all polygons inside the boundary of provinces to separate and calculate every inside polygons area

I need to calculate area of polygons inside every province but some of polygons are not exactly inside of one province and part of it is in one province and the other part is in another province. How ...
coral's user avatar
  • 81
0 votes
0 answers
61 views

Raster masking keep old extent

I want to clip a raster file using for mask other raster file and in SAGA GIS provider tool QGIS QGIS Processing | Raster Tools | raster masking . I realized the new masking file keeps in the ...
hellas's user avatar
  • 393
3 votes
1 answer
58 views

Delimit the loading "zone" in a shapefile

I have to make several atlases of a large region in France. My study area is relatively small compared to the entire region. However, most of my layers are related to the entire region. As I intend to ...
caslumali's user avatar
1 vote
1 answer
537 views

Clipping raster by raster (0-1 range) using QGIS

I am supposed to clip 6 raster files of Europe by a raster of agricultural land in Europe (mask layer). Initially, to do that I vectorised my mask layer and then clipped the rasters by that. It seemed ...
geogalog's user avatar
1 vote
0 answers
15 views

Remove inner side of mask layer from raster (equivalent of clip raster by mask for the inner side, instead of outside) [duplicate]

Objective: Clip raster by a mask but remove area interior to the mask (instead of the default exterior area, when using clip raster by mask) Details of Attempts: Clipping raster using the outer ...
Ashish AJ's user avatar
0 votes
1 answer
493 views

Clip data while reading file into Python with GeoPandas

Geopandas is able to read in only part of a file using: roi= geopandas.GeoDataFrame(geometry) indexed_data = geopandas.read_file("path-to-file", mask=roi) or geopandas.read_file("path-...
sir_olf's user avatar
  • 71
2 votes
1 answer
4k views

Rasterio mask doesn't work with shapely polygon

I have raster which I want to mask with shapely polygon.According the rasterio documentation, rasterio.mask can work with shapely geometry.However, in this case, it doesn't work. whenever I use my ...
ReutKeller's user avatar
  • 2,169
4 votes
2 answers
193 views

Removing overlapping margins on multiple rasters by clipping to polygon grid

I am using ArcMap 10.8 I have multiple digitized historic General Land Office (GLO) maps (JP2 rasters) that I am georeferencing. Each one aligns with a single rectangular feature within an existing ...
Emily R.'s user avatar
  • 101
1 vote
0 answers
216 views

How to clip polygon by line feature QGIS?

The clip tool will only allow for clipping by another polygon, I would like to clip polygon features by a line feature. Had tried installing the digitizing feature however the cut by lines button is ...
zcfaejl's user avatar
  • 169
0 votes
0 answers
503 views

Clipping OpenStreetMap basemap using QGIS

I'm using QGIS, and I am trying to clip my metro region data to only show the OSM basemap in the the metro region, using this thread: Clipping OSM Standard Basemap using QGIS I created an inverted ...
DanG's user avatar
  • 617
3 votes
1 answer
791 views

Cropping raster file with GDAL warp C++ API

I need to crop a DEM raster file with a shapefile. This shapefile has many polygons. I need to calculate several variables after the crop operation. The algorithm is written in C++ so I want to call ...
Chang's user avatar
  • 310
1 vote
0 answers
762 views

Rasterio mask removes alpha band

I have a geotiff image that I am clipping to a geojson polygon using rasterio. When I load input the image in QGIS, it has an alpha band (4 bands total). rasterio says it only has 3 bands, which ...
Brian's user avatar
  • 4,229
4 votes
0 answers
822 views

Offset after clipping an image using rasterio.mask (illustrated with figures) [closed]

I want to clip an image named img_A of dimensions 14000x10000 using a polygon shape in order to get the same dimensions than another image named img_B of dimensions 1925x1372 (see figure 1 below). The ...
rdmato33's user avatar
  • 159
7 votes
1 answer
9k views

How to clip raster inside of circle (python gdal)

I have a source raster and an ERSI shape file, want to crop the raster into the circle. raster = gdal.Open("raster.tif", gdal.GA_ReadOnly) #read raster projection=raster.GetProjectionRef() ...
Cz Gong's user avatar
  • 81

15 30 50 per page