New answers tagged

0 votes

Speeding up the vector clip in QGIS

Came here with the same question. In my case, I'm comparing a vectorized CORINE raster (500,000 features) to the outline of Scotland (1 feature) The reason for this is how spatial indexes work. Even ...
user avatar
  • 19.8k
0 votes

QGIS clip tool error non-point (MULTIPOINT) geometry to point shapefile

I believe i got this error recently also, only noticed it since upgrading to 3.22 and i havent done anything different to what i normally would. Maybe just an annoying bug. I ran a Multipart to ...
user avatar
  • 33
0 votes

Clip NetCDF files by shapefile

I had a similar issue, I think you can do that by using the combination of "regionmask" and 'xarray' in python. I followed these steps: Store the geometry from geopandas to another variable ...
user avatar
1 vote

Clipping a raster converted to a polygon with a polygon

I guess with DMNV you mean a Digital Elevation Model (DEM) as a raster layer. To prepare, make sure all your layers are in the same CRS (projection). Use Menu raster > raster calculator to create ...
user avatar
  • 40.9k
0 votes

Clipping features in a polygon from another feature in the same layer

We had a similar problem with overlapping drainage areas for BMPs, where we wanted to retain the drainage area for one feature based on its attributes and remove the overlapping areas from the rest. ...
user avatar
  • 140
0 votes

python rioxarray.clip masking netcdf data with a polygon returns all nan

This example worked perfectly while it was straightforward and interestingly the output can be saved using .to_netcdf! For my problem, the only line I had to add was related to the dimension. So after ...
user avatar
1 vote

Clip NetCDF files by shapefile

You need to import rasterio.features explicitly as a module: >>> import rasterio >>> rasterio.features Traceback (most recent call last): File "<stdin>", line 1, in ...
user avatar
  • 52k
5 votes
Accepted

Clipping road network that within polygon using QGIS

For vector analysis is recommended to work with all layers in the same Coordinate Reference System. What is probably happening is that there is no output for the intersection so the resulting layer is ...
user avatar

Top 50 recent answers are included