Skip to main content

Questions tagged [clip]

To limit or reduce the extent of one dataset by the extents or boundary of another.

Filter by
Sorted by
Tagged with
1 vote
1 answer
127 views

Cropping vector by raster in QGIS

I have a vector shapefile consisting of polygons and I want to crop it in QGIS by a raster layer of a smaller spatial extent, where the polygons do not extend beyond the raster edge. I have tried the ...
MapDeath's user avatar
  • 335
0 votes
0 answers
26 views

QGIS v.3.34.8 Prisren: ERROR 1: Did not get any cutline features. Process returned error code 1

Like others, I am having a problem clipping a raster with a polygon. I downloaded a georeferenced JPEG from NearMap at the highest resolution (0.149 m/pixel). I started a new project and added the ...
Tom Bell's user avatar
2 votes
1 answer
82 views

Selecting and cropping certain area in QGIS

In QGIS I don't know how to crop an area of geologie within the boundaries of my studied area, which is UAT_Iasi. Can you please give me some suggestions?
Alexandra's user avatar
1 vote
0 answers
22 views

Error in QGIS when translate rasters and using the clip raster by a mask layer tool

I have been working on 2 separate projects with raster data. For one I have been trying to clip the raster by a masking layer and the other one I have been trying to convert/translate the data. For ...
Amelia's user avatar
  • 11
1 vote
0 answers
39 views

QGIS map properties clip

Does anyone know how to do a properties clip QGIS that will clip all features to a certain feature boundary without actually creating a new feature? It just masks everything outside of of the target ...
Jerry's user avatar
  • 11
0 votes
1 answer
40 views

Using name of attribute table in clipping raster to mask layer

I'm trying to clip a .tif file to a shapefile. This shapefile contains 800 different polygons with all different names stated in the attribute table (BasinIDs). When I clip the .tif to the polygon I ...
Lisa's user avatar
  • 1
0 votes
1 answer
38 views

Measure area of polygon inside your area of interest AND update Attributes Table in QGIS

I've hit a wall trying to truncate WBD polygon areas inside my area of interest for the determination of that area, and having that measurement amended in the Attributes Table. I cannot use the manual ...
Jesse Albertice Ballenger's user avatar
0 votes
1 answer
55 views

Systematically clip a large point cloud file into smaller ones for further processing

I have a large .las point cloud file that I want to process using the lidR package in R. Since the file is too large to process at once, and R eventually crashes, I have to clip/subset my file into ...
leoleo's user avatar
  • 3
0 votes
1 answer
48 views

Split shapefile according to DEM file boundaries

As you can see in the image, the shapefile extends outside the DEM file. How can I split the shapefile to fit the DEM file boundaries exactly? I will use this DEM file as a water mark. So the ...
William24's user avatar
1 vote
1 answer
28 views

Strange extent making it impossible to clip to national boundary

I am using R to prepare different projections of gridded population data for a specific country. The dataset is global and can be found here: https://figshare.com/articles/dataset/Projecting_1_km-...
Aimen Sattar's user avatar
0 votes
0 answers
38 views

Vector Overlay-Clip tool error

When I try to clip two layers in QGIS, it generates an error. I made sure the layers are in the same EPSG, but it hasn't worked. Also, I have changed the layer to a shapefile or just left it as a TAB, ...
Karen's user avatar
  • 1
0 votes
0 answers
40 views

Getting rectangular crop from GeoTIFF using GDAL

I cannot get my head around this problem: I have a georeferenced image in EPSG:25832. If I open it in QGIS, it aligns perfectly. I now need a cutout from it. this cutout is a polygon (GeoJSON in EPSG:...
pcace's user avatar
  • 236
0 votes
0 answers
45 views

Clip raster with mask layer, but retain the unclipped areas

I want to clip a raster with a mask layer that consist out of several polygons to remove unwanted areas. The resulting rater that I am getting retains the areas within the polygons. I want to obtain ...
Jordaan Fouche's user avatar
0 votes
1 answer
29 views

How to clip one point layer from two different polygon layers

I am trying to clip one point layer from two different polygon layers (highway buffer layer and census tract layer). I can't do this individually because I don't want to double count the point ...
jlapsl's user avatar
  • 1
1 vote
1 answer
104 views

Google Earth Engine script for cropping land use Image collection to shp and producing csv aggregate output

I'm new to Google Earth Engine. I'm using ee.ImageCollection("GOOGLE/DYNAMICWORLD/V1") to look at land use types (specifically tree cover - band 1) within a specific shp file area. I want to ...
Amber's user avatar
  • 11
0 votes
1 answer
61 views

Clip polygon with vector points freehand

I am trying to crop/clip a polygon with overlapping vector data points in QGIS, so that I can extract all points from a certain area. However, I want to clip not based on the polygon but on a freehand ...
Nat's user avatar
  • 63
0 votes
1 answer
49 views

How to Output Singlepart features When Clipping in ArcGIS Pro

I'm trying to clip two different layers together in ArcGIS Pro but I just discovered it seems like all the clip tools I've tried (clip, pairwise clip, clip layer, intersect) will condense the ...
Nahotnoj's user avatar
0 votes
0 answers
60 views

How to keep attributes after a clipping operation in PyQGIS?

I'm trying to do a spatial clipping operation between 2 point layers, representing buildings and earthquakes, and a buffer area created by the user. The problem is that after operation, all attributes ...
Salvatore Diolosà's user avatar
3 votes
2 answers
269 views

Clip data in GeoPandas to keep everything not in polygons

I have two shapefiles. One is Point Data (Call it Adj). The other is a polygon(s) shape file. I want to clip the data to keep only the points that are not in the polygons. Is there an easy way to do ...
Ekkehardt Rosasee's user avatar
0 votes
2 answers
33 views

How to use ogr2ogr -clipdstsql?

This works (A), $ ogrinfo -dialect SQLITE -sql "SELECT ST_Buffer(ST_GeomFromText('POLYGON ((120.81313 24.18337 ... Layer name: SELECT OGRFeature(SELECT):0 POLYGON ((120.702569638856 24....
Dan Jacobson's user avatar
0 votes
0 answers
28 views

3d lines cut below and above a surface (ground)

I have dgn and dxf formatted CAD 3D lines which are "cables" below the ground. These cables are sometimes 1m below ground and sometimes 50cm and 10cm etc., below the ground. I have ...
Malla's user avatar
  • 1
1 vote
1 answer
55 views

Check to make sure layers overlap before clipping - Python script

I'm trying to clip the above raster dataset to each of the ecoregions (outlined in black) in this state with a Python script. I have a function in my script that does this without a problem when the ...
Luis's user avatar
  • 13
0 votes
0 answers
26 views

Clipping MODIS HDF file in Python

I am trying to clip MODIS Land Surface Temperature in Python for a defined extent. Even though the files have been clipped, the size (X x Y) of the new file is changed. So when I plot the new data, ...
Ashish Ganesh's user avatar
0 votes
0 answers
28 views

How to clip a hole with ogr2ogr? [duplicate]

ogr2ogr has a rich set of clip options, e.g., -clipsrc [<xmin> <ymin> <xmax> <ymax>]| WKT|<datasource>|spat_extent But how can I clip the same sized hole instead?
Dan Jacobson's user avatar
3 votes
1 answer
83 views

Clipping buffers by Unique ID

I am doing my thesis on worldwide river discharge data availability. I need to know how to cut buffers with their corresponding vector/polygon that have an unique ID. I have stations worldwide with ...
Sebastian's user avatar
0 votes
1 answer
78 views

Map exported from Google Earth Engine does not get clipped in QGIS

This is the GEE script I used to show a cassification product. https://code.earthengine.google.com/21603a6e19f76d8c121a4dd9000ebee4 The resulting map in GEE is clipped correctly to the border that I ...
Paris's user avatar
  • 645
0 votes
0 answers
64 views

How to clip a raster file using a GeoJSON?

I am trying to clip or crop out the area of interest from a multi-spectral tiff file downloaded from Sentinel-2, using Rasterio and GeoPandas. For reference here are the code snippets - import ...
Anurag-Sharma's user avatar
0 votes
0 answers
93 views

Clip raster to specified extent

I want a clip a raster to a specified extent of a shapefile (polygon), I usually use clip raster tool in ArcGIS Pro, my raster cell size is 10 m and when I clip it using the tool the generated raster ...
Omab's user avatar
  • 1
0 votes
0 answers
42 views

Compressing clipped rasters (batch process) in QGIS

I am brand new to QGIS. I need to clip and compress 30 drone rasters. I do not know how to enter the command into the batch process window to compress the images. Right now, the only settings I have ...
Molly's user avatar
  • 1
-1 votes
0 answers
38 views

Seeking cookie cutting instructions [duplicate]

I'm used to MapInfo so are there basic QGIS instructions on how to use one shape to cut a shape out of another shape in a vector layer? I realise it's not referred to as cookie-cutting in QGIS. I don'...
Mbh's user avatar
  • 15
1 vote
1 answer
97 views

Croping a layer to match another one in QGIS [closed]

I am running an experiment to compare several layer of the same AOI however some layers are larger than the others. In order for my experiment to work, the layers should show the exact same AOI ...
David Smith's user avatar
1 vote
0 answers
70 views

Symbology changes when clipping raster QGIS

I'm using land cover/land use .tif imagery available at the Esri living atlas (https://livingatlas.arcgis.com/landcoverexplorer/#mapCenter=-73.64341%2C10.81044%2C11&mode=step&timeExtent=2017%...
Camila Valdés Cardona's user avatar
-1 votes
1 answer
22 views

Clip a imagecollection with a feature of the AOI shape

I calculated the NDWI with values greater than 0. On the other hand, I loaded a shape, like AOI, which contain diferents ponds if one with an id. I would like to clip the NDWI imagecollection with the ...
Lua Vita's user avatar
0 votes
0 answers
58 views

Raster Clipping not following the output extent

I'm having trouble with clipping raster in ArcGIS. I have a raster file that I want to clip in my study area (shapefile). I use the Clip Raster tool under the Data Management Tools, however the result ...
zxz_341's user avatar
  • 21
0 votes
1 answer
50 views

Save images of raster layer based on polygon - QGIS

i have a background raster layer and a vector layer with different polygons. Is it possible to save "images" from the raster layer that are within each polygon? I have 100 polygons and would ...
Magnus_Garl's user avatar
0 votes
1 answer
172 views

Clipping hosted features using ArcGIS Pro

I added two input layers. I did Add Data, then in the file folder I went to the Portal. From there I added one layer from "My Groups", and another layer from "ArcGIS Online". I ...
Henry 's user avatar
  • 11
2 votes
1 answer
171 views

Specify layer when using a geopackage in ogr2ogr

I want to clip a vector-layer by another layer with ogr2ogr as explained here. I always struggle to find out how to refer to a layer in ogr2ogr for input and output. Does anyone have a quick tip?
Lenn's user avatar
  • 1,379
0 votes
0 answers
43 views

How to clip satellite base map into polygons [duplicate]

I'm trying to create a model to detect trees within the boundary of a country in QGIS 3.34. So far, I'm using the Google Maps Satellite base map from QuickMapServices. I created a vector layer where I ...
Bartek's user avatar
  • 9
0 votes
0 answers
41 views

Deleting all adjacent small road lines perpendicular to buffer using ArcGIS Pro

I am using ArcGIS Pro 3.1.2. I clipped all road lines inside a buffer. However, some small adjacent road segments are within the network. Is there a tool or option that can get rid of this small part ...
GIS Noh's user avatar
  • 360
0 votes
0 answers
57 views

Clip function for QGIS plugin is not accurate

I am trying to build a QGIS plugin using QGIS 3.28.14, python 3.9 and in VS code environment. The problem is that when I use Native: Clip function, the resulted file has smaller area than the area I ...
Sudipta Roy's user avatar
2 votes
1 answer
48 views

Rectangular Clipped Segments

I am trying to create four separate clipped quadrants to my full .laz file (See Figure 01). I was able to clip one quadrant of (number 03 in figure 01), but am struggling to identify points to clip ...
Hmoore's user avatar
  • 23
3 votes
1 answer
171 views

QGIS changes column headers and date time data after export

I have a csv that looks like this: After I convert the csv to a shape file in QGIS, edit it in QGIS (clip), then export it as a csv, the output looks like this: What do I need to do to reduce the ...
Angela Russell's user avatar
0 votes
2 answers
59 views

Extracting polygon features touched by a line feature

I have polygon features (like streets or fields) and a line feature over them. I want to have all the polygon features touched by the line in a separate layer. If I run clip or intersect it only ...
QGuy's user avatar
  • 3
1 vote
1 answer
80 views

Error Clip Raster by Mask layer

I just want to clip the raster by vector layer for the specific area, however I get this error after running. How to fix this? QGIS version: 3.28.15-Firenze QGIS code revision: 252ad49ddc Qt version: ...
Kirkwk's user avatar
  • 11
2 votes
0 answers
69 views

Clipping a WebGLTileLayer in OpenLayers

I want to clip a tile layer against a vector geometry (polygon). When using a canvas renderer, there are somewhat well documented solutions to this using prerender and postrender event handlers and ...
Liedman's user avatar
  • 1,093
0 votes
0 answers
50 views

Issues with Clipping Shape of Sentinel-2 NDVI Image in Google Earth Engine Python API

I'm working on an agricultural analytics application where I need to generate NDVI images from Sentinel-2 data for user-defined polygon areas. The backend is implemented in Python using Flask and the ...
Maha Khan's user avatar
0 votes
0 answers
38 views

Raster Clip by Polygon Log Error

When running the "clip raster by mask layer" tool, I come across this error and I am unsure on what to do with it. I have tried researching this problem and found a few solutions that worked ...
CaptainFishboy's user avatar
0 votes
1 answer
27 views

Calculating area percentages of another vector file based on vector grid using ArcGIS Pro

I have a grid (vector file) in ArcGIS Pro, and I want to calculate the percentages of the area of different anthrome types in the other vector file (Anthromes 12K DGG Dataverse) for each grid cell. I ...
cloudberry's user avatar
0 votes
0 answers
60 views

Cutting a raster based on a grid (vector file) in ArcGIS Pro, do I first have to convert them to the same coordinate system?

I have a raster file (TIFF) in WGS 1984 and a vector grid file (North America Lambert Conformal Conic). I want to average the value of the raster for each grid cell. I supposed I would first have to ...
cloudberry's user avatar
0 votes
0 answers
116 views

Clip a GeoJSON layer based on polygon drawing

I want to know if is possible clip a GeoJSON layer based on a feature drawn with drawing tools in OpenLayers. I followed this steps (https://openlayers.org/en/latest/examples/layer-clipping-vector....
Juan Pablo Rosset's user avatar

1
2 3 4 5
28