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
0
votes
0answers
15 views

Clipping feature collection by another feature collection using Google Earth Engine

I have a feature collection of lines and I want to cut out any part of the line that is contained within any polygon in a separate feature collection. I know I will have to map a function over the ...
1
vote
0answers
22 views

Issue with clipped raster location [closed]

I tried to clip a USGS GMTED2010 elevation data raster in order to match it with a raster I clipped from the Google Earth satellite. However, when I run the command, the output raster appears in ...
0
votes
1answer
30 views

Exporting and clipping soil layer downloaded from ISRIC

How do I export and clip a soil layer downloaded from ISRIC? I just downloaded a soil PH to ArcGIS, but I only need the 0-5cm mean layer, I found no place to export this layer to a raster/vector. And ...
1
vote
1answer
18 views

Creating polyline output from overlapping polylines in ArcGIS

I am trying to create a polyline shapefile from two overlapping polylines that contains only the different line segments between the two original polyline files. The two files are nearly identical ...
3
votes
1answer
57 views

Clipping shapefile – QGIS vs Python

Which algorithm does QGIS use for clipping shapefiles? When I use ogr2ogr to clip a large shapefile (approx. 3gb) it takes 77sec. When using QGIS it takes approx 5 sec, clipping the same dataset (and ...
2
votes
0answers
21 views

Retaining Bounding Box after Fishnet Clip

I have a large image that contains around 7000 trees. I created a bounding box around each one of them and then saved it as a .xml file. I would now like to create different fishnet sizes and clip ...
1
vote
1answer
30 views

From several polygons of one layer to several layers/files

I'm new in QGIS and I have a question. I am sampling an onion crop from a geottif: I need to export each single rectangle/polygon into a single tiff file. Is there a plug-in for doing so?
3
votes
0answers
51 views

Clipping is not including all parts of the input layer

I'm having trouble with clipping a certain layer in QGIS 3.10.13. As you can see in the 4th picture, not all of the layer is being included when clipped - only one part of the layer which is ...
6
votes
2answers
115 views

Why do clipped polygon features (clipped with adjacent polygon tiles) still overlap with each other?

I have two layers in QGIS with intersecting polygons (blue "P1" and green "P2"). I want to clip them with adjacent polygons tiles (dotted line - blue "cut1" and green &...
0
votes
0answers
37 views

ERROR Cutline feature without a geometry

I am using QGIS 2.18.24. I'm trying to clip raster (asc) by mask (shp). I'm working in EPSG:4326. I'm checking the geometry of the polygon file, no errors were found. Geometry is valid. Edit mode is ...
0
votes
0answers
78 views

QGIS 3.16.1: Clip by mask layer not working in macOS Big SUR

I am having an issue with clipping my raster as per the vector mask layer. I did try to counter the issue with projecting both files in same CRS, however, still getting the same error (ERROR 1: ...
0
votes
2answers
60 views

Clipping using ArcPy gives ERROR 000732

I have 30 shapefiles, each of which I want to be clipped with another 3850 shapefiles (contain only one polygon). I know I need a loop in Python and use ArcPy. But I'm very new to Python. Here's my ...
0
votes
0answers
28 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 ...
0
votes
0answers
22 views

FME - Get parts of lines within polygons and transfer polygon ID to lines in result

I've got a set of polygons (my investigation areas - identified by IDs) and a set of lines that intersect these polygons. My task is to only get the lines within the polygons and give them the ...
3
votes
1answer
85 views

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

My question is similar to what others have already asked but the posted solutions haven't worked for me. The similar posts are masking a netcdf file using a shapefile of points with rioxarray and how ...
0
votes
0answers
18 views

Clipping 5 km area of watershed upstream from outlet using ArcMap

I am using ArcMap. I have the delineated watersheds for more than 200 sites. What I need is to clip the 5-km area upstream of the sites. https://i.stack.imgur.com/S19Me.jpg. I cannot do this manually ...
1
vote
1answer
43 views

Clipping OSM Standard Basemap using QGIS

I am trying to clip the state of MN out of the OSM Standard Basemap, omitting everything outside of the state boundaries. Everything I've read about clipping talks about clipping between two ...
0
votes
0answers
21 views

Clipping ROI in TerraClimate - Google Earth Engine

I am trying to analyze a polygon that I imported from Google Earth and get images for that polygon only. How can I do that? I tried clipping the area but it doesn't seem to work. Any ideas? // Load ...
0
votes
0answers
14 views

Converting GDAL Raster to a Boost Python Array (C++)

My Python project has a C++ extension that accepts detection coordinates to crop a GDAL raster, and then return the crop to the Python side. On the C++ side, I create a uint8_t buffer to hold the crop....
2
votes
1answer
48 views

Lost Polygons after clipping Shapefile using QGIS clip fuction

I'm trying to clip the CORINE Land Cover 10 ha Shapefile (https://gdz.bkg.bund.de/index.php/default/open-data/corine-land-cover-10-ha-clc10.html) with a district shapefile to get my investigation area....
2
votes
0answers
14 views

Why don't the Clip Raster by Mask show proper band values/interpolated values in QGIS?

I'm trying to clip a raster interpolated data (using IDW) with a polygon in QGIS 3.10. It worked with the first file (as shown in the linked here [desired Clipped (masked) layer] and this would be the ...
1
vote
1answer
38 views

Manually updating the attribute table of a clipped shapefile

I need to do calculations of surfaces of polygons in vector layers. The clip tool does just what I want - I can clip the polygons of the input layer to the clipping layer. When I project the new layer ...
2
votes
1answer
55 views

Removing a polygon-defined area from a multiband raster: A landscape classification inquiry

I am trying to exclude multiple lakes and reservoirs from a Supervised landscape classification but at the moment I have not found a way to do this. So far I have used the following workflows: 1.Draw ...
3
votes
1answer
38 views

Using Set Z-Values in QGIS Processing Modeler

I have a set of contours that I am trying to automate a process on. This process clips the contours by a boundary, sets z-values based on the elevation field, and then exports those contours as a dxf ...
2
votes
1answer
43 views

Invalid geometry - lines

In QGIS I'm attempting to create a buffer zone around a number of connected lines, then use the buffer layer to clip another layer. The lines features were provided as a shape file, and buffering ...
0
votes
0answers
23 views

Error using GDAL to clip raster to KML (CRS is same for both): Cutline not of polygon type

I have a high-resolution, 4-band (RGBA) geo-tiff (22.26 Gb) with an image of an airport. I have a KML file that has a polygon for a runway. I used Google Earth to construct the KML. Both files use the ...
1
vote
0answers
42 views

Cropping background map by shapefile in QGIS

I would like to crop OpenStreetMap by shapefile of the country in QGIS v3.12.1. I knew some Plugin for that in the older version of QGIS however, it is not available anymore. So what are the options? ...
1
vote
1answer
48 views

Clipping using R and ArcMap do not match

I am carrying out a Raster clipping from a shapefile, using its exact shape. I have done a clip using the Clip (Data Management) in ArcMap. The "Using Input Features for Clipping Geometry (...
1
vote
0answers
19 views

ArcGIS Pro 2.5.0 - Is there any way to snap a polygon / feature class to pixels within a Raster?

I need to clip a raster to a specific area of interest, and a specific number of pixels. Whilst I can manually draw my AOI feature class and get the right number of pixels, it generally contains a ...
0
votes
1answer
132 views

Unable to find inherited method for function ‘crop’ for signature ‘“numeric” using R

I'm trying to iterate a crop and then a resampling process by using a for loop but I've faced some problems because I'd obtain an error message. Below is my code, then the error message #find all tifs ...
0
votes
1answer
57 views

Clip function in the sf package in R

I try to clip shape "a" with shape "b". The result should be a polygon with the attributes and borders of "a" but cliped on the extent of "b". Basically a ...
0
votes
0answers
19 views

EarthEngine - Create a Clipped Global Surface Water Occurrence Layer

I am looking to create an inland surface water layer using Earth Engine. The JRC Global Surface Water Mapping Layers, v1.2 - Occurrence band is exactly what I want, but as you can see in the attached ...
0
votes
0answers
24 views

Sentinel-2 remove images from image set with B10 above a value (remove cirrus)?

I've noted in Sentinel-2, some of my images in a collection appear hazy (and have B10 values > 50) yet the cloud coverage assessment shows no cloud/cirrus. I understand I can see the ...
0
votes
0answers
7 views

How to choose cell size for grid points to fill polygons in R?

I have a shapefile consisting of hundreds of polygons depicting building footprints in a city. I want to fill these polygons with grid points. I am doing this by making a grid of points and then ...
0
votes
0answers
39 views

Clipping raster is taking too long in 3.16.0-Hannover

Okay so I wanted to clip [this][1] raster with this [JPN_adm0.shp][2] file. It's been more than 6 hours and it's still on "Processing algorithm part." I have a decent PC that has 12GB of RAM ...
0
votes
0answers
35 views

Projection issue causing clipping issue in R, different proj4 strings

I am trying to clip a grid of points to a vector polygon layer in R, but am encountering an odd error I can't figure out. The goal is to get a new layer that has the grid points, but only as clusters ...
2
votes
0answers
28 views

QGIS Model Designer - Use name of selected Polygon in Output layer

I am building a simple model using QGIS Model Designer. Coming from ESRI, I am having a little trouble. I am clipping buildings of a city by overlaying and iterating over the districts. The name of ...
0
votes
0answers
32 views

Clipping Raster with shapefile boundary using QGIS

I have quastion about Clip Raster with shapefile boundary in QGIS 3. I would like to receive 'No data' value in places out of the polygon, but as a result of cliping is 0,0,0. I can't defines a value ...
0
votes
0answers
21 views

Clip overlapping polygon [duplicate]

I do have an overlapping polygon shapefile of different radius. I want to clip a polyline for each fid individually. How is that possible in ArcGIS?
0
votes
0answers
40 views

Using Clip on data from a GPKG results in empty result set - WARNING 000117

I'm trying to Clip the contents of a GPKG file (geodata.nationaalgeoregister.nl/brpgewaspercelen/extract/2020-concept/brpgewaspercelen.zip). I select the feature from a different layer as to reduce ...
1
vote
0answers
32 views

Clipping line with overlaying line in QGIS

I have two layers of line which overlap as seen in the picture. I would like to cut out the first picture with the other as an overlap and then merge them together to get one single layer. Or is there ...
0
votes
1answer
48 views

Clip using Discard and Preserve option in QGIS

I am currently using QGIS, but it seems like there is no option like in ArcMap for Cliping polygons where I can choose if I want to Discard or Preserve selected area. Can you help me with that?
1
vote
0answers
49 views

Clipping multipatch with 2D polygons using ArcGIS Pro

I am using ArcGIS Pro. I have a multipatch dataset and 2D polygon dataset. Is there an automated way how I can clip one multipatch into separate features? Using clip and split tools gives a ...
4
votes
1answer
57 views

st_crop() follow latitudinal circle on polar projection

I am generating a polar projection with the rnaturalearth::ne_countries() dataset. Because I'm only interested in high-latitude regions, I want to crop the shape above a particular latitude. However, ...
1
vote
0answers
41 views

Different raster shapes even though I used the same clipping polygon (Python)

I have a bathymetry raster image that I would like to use for masking regions where elevation > -1. I have started by clipping the bathymetry image and another target image using the same ...
1
vote
1answer
44 views

Clip on ArcMap not clipping out the correct layer [duplicate]

In ArcMap 10.8 I have two shapefiles, the yellow area and the green square. I am trying to create a shapefile that is the yellow area without the green square. I want to clip the small square out of ...
9
votes
1answer
131 views

Determine roundness of polygon in QGIS

Suppose a polygon layer in QGIS with differently shaped polygons (no multi-geometries, let's keep it simple). Is there a way to calculate some kind of roundness characteristic of the individual ...
0
votes
0answers
52 views

Clip raster not working: no target filename specified QGIS

I know this topic has been covered before but I didn't find an answer to my problem so far... I've been trying to clip a raster unsuccessfully with canvas extent or with mask layer. It ever works and ...
6
votes
0answers
89 views

How to create mutually clipping polygons

Is it possible to create buffers (in my case, but polygons in general also) that would create a boundary at their point of contact ? (so that they don't overlap on each other). Like this (from left to ...
1
vote
1answer
55 views

Clipping by looping through list using ArcPy

I'm having trouble creating a looping function that looks through a geodatabase, clips each feature class to a "study_area" polygon, and puts the clipped files in a separate geodatabase. I ...

1
2 3 4 5
22