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
11 views

Clip point layer as image [closed]

I tried to clip the point layer based on polygon layer and rendered as an image by creating Map layout. But the image is empty. I have used the same CRS for both point and polygon layer. Can you ...
0
votes
1answer
14 views

R - Stack rasters with different dimensions and extent

I am trying to stack multiple rasters together in one RasterStack object but am having problems with aligning the extents and dimensions/resolution so that it can work. All rasters have the same CRS ...
1
vote
1answer
19 views

GeoPandas clip returns empty

I'm trying to clip a set of polylines to a polygon with geopandas but it's returning an empty set. Here's my code: >>> import geopandas as gpd >>> import matplotlib.pyplot as plt &...
0
votes
1answer
27 views

ArcGIS Pro - Clip (Modify Features) aggregates nearby geometry

I have a large polygon that contains several several other (smaller) polygons. Some of these smaller polygons also intersect with each other but they all at least 'touch' the larger polygon. I want to ...
0
votes
0answers
19 views

An issue with the ee.clip of Google Earth Engine Python API

I'm new to Google Earth Engine analysis so I can't solve a simple task with the python API. What I want to do is to clip an image with a specified boundary that corresponds to a reference image then ...
0
votes
0answers
42 views

Clipping from another layer using QGIS

I am a Land Surveyor. I would like to "cut/clip" the tax parcels of a Section. The amount of data in the file is to great, so I need to "cut/clip" pieces of the file and save them ...
1
vote
0answers
20 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 ...
-1
votes
1answer
41 views

Creating bounding box from line using GDAL's ogr2ogr

I am trying to cut a line (.shp, EPSG: 32631) based into a reference line (.shp, EPSG: 32631) enter link description here using QGIS/GDAL following those comments but I do not know how to solve it. ...
-1
votes
0answers
20 views

How is it possible that after clipping a raster the maximum and minimum values change? [closed]

I'm a new user to QGIS and it's being extremely difficult to get the things properly done. The last thing is that I have a DEM and after clipping it with a mask, the maximum value change like it ...
0
votes
1answer
23 views

Clipping Basemap using shapefile as clip feature in ArcGIS Pro

I am trying to isolate the United States from the rest of the world using a provided basemap in ArcGIS Pro. I am trying to use a shapefile of the United States I obtained from the living atlas as the ...
1
vote
0answers
12 views

While clipping a Raster generated from SCP plugin (classification) all the colors are vanished in the end output and the raster generated is in B/W

I have done all the LULC classification using SCP plugin. after completing my classification, I wanted to clip the raster using a Shape File. But when I do it, the colors are vanished in the output ...
2
votes
2answers
62 views

Joining (merge, union) non-overlapping vector polygons with QGIS

I look for a solution how I can join several polygons that do not overlap with each other and have no common sides, by creating a new polygon. That is, it should be an output polygon covering the &...
0
votes
0answers
24 views

Clipping rasters

If I have mosaic raster which I have run a Swiss hillshade model for and I want to clip to multiple different polygons on my map, will this affect the drawing of the raster? The reason I want to clip ...
1
vote
1answer
36 views

No data found in bounds using rioxarray to clip GeoTiff to shapefile

I get the following error when trying to clip a GeoTiff to a shapefile: "No data found in bounds." Steps to reproduce: import rioxarray as riox rain = riox.open_rasterio( "https://...
0
votes
1answer
64 views

Handle Curvilinear/rotated grid NetCDF file in R

I have a NetCDF file with a curvilinear (rotated) grid that contains meteorological data. I am trying to crop the NetCDF based on a mask shapefile in R, but the rotated grid does project the data in ...
0
votes
0answers
22 views

Raster Clip interface

I have been using QGIS 1.8 Lisboa for some time now and would like to be using OSM for my base maps. I am aware this a very old version now and doesn't seem to support OSM anymore. I have upgraded to ...
0
votes
0answers
18 views

QGIS. Clipping raster layer(asc) with vector layer results in missed color information

I have an imported asc file, then I generate a vector layer in order to clip part of the raster with that polygon shape. The result is the correct clip but has lost the gray scale representing the ...
1
vote
0answers
34 views

Why does raster still have pixels around edge when clipped?

I am trying to clip a raster in ArcMap 10.6 (derived from 'make nedcdf raster') to the shape of the Ireland polygon and I keep getting back pixels around the edge: I have tried 'Clip' in 'Data ...
0
votes
1answer
21 views

How to clip symmetric difference shapefiles in Google Earth Engine?

I need to clip symmetric difference two shapefiles in Google Earth Engine. How can I do this? I tried this code, but error: var a2 = ee.FeatureCollection(table2) var a1 = ee.FeatureCollection(...
1
vote
1answer
71 views

CRS mismatch - Geopandas.clip

I am working on a script that will iterate through a grid and clip out polygons that lay within their respective grid cell. I am running into a CRS mismatch error exclaiming that my left and right CRS'...
1
vote
1answer
26 views

Clipping/ Zooming in on shapefile using R

I'm working on a shapefile of all the villages of Portugal from this link. I've uploaded it to R: #read in shapefile of portugal portugal = readOGR(dsn = "./communities", layer = "...
0
votes
1answer
49 views

Clipping Shapefile to Raster Extent using GDAL with Python

I am trying to clip a shapefile (containing multiple polygons) to a raster's extent. A similar question was asked as Clipping polygon precisely to raster (extent) using GDAL?, with an answer that I ...
2
votes
0answers
40 views

Clipping multiple raster with multiple shapefiles in Python

I am trying to adopt existing code for clipping multiple rasters with multiple polygons based on this link: Subsetting multiple rasters with multiple shapefiles using Python I added the following ...
1
vote
1answer
23 views

Splitting a BigTIFF using tifffile

I am having trouble splitting a BigTIFF. I am orginally using @Ivan code from this question. I had to modify it a bit since I am using a .tif that was larger than 4GB. Pillow does not support BigTIFFs....
0
votes
0answers
20 views

Clipping raster error 4

I'm on QGIS 3 and have used the 'AusMap' plugin to upload google maps raster images and a 5m LiDAR DEM. I have created a shapefile (polygon) and now I want to clip the raster files to the extent of ...
0
votes
0answers
43 views

Making clip raster work faster in ArcPy

I am using ArcPy to clip from a huge raster (about 100.000km²) a smaller part (about 20.000m²) based on the extent of a input polygon. Running the analysis takes forever and although I let it run for ...
6
votes
2answers
152 views

Cropping a map into multiple pieces with QGIS

I have an .ecw map of north Portugal that has been made by joining 132 little maps at scale 1:25000 (I got the map from here: https://www.elrincondelmapa.com/Mapas_Nacionales.php). I want to crop it ...
1
vote
0answers
11 views

Batch clip returning a single raster only [closed]

I am trying to use a batch clip over a few of my raster layers in ArcGIS. After inputting the multiple layers, I receive only a single output image corresponding to one of the input files. I checked ...
0
votes
0answers
14 views

Maintaining Clip Layer Attributes When Using Clip Tool in ArcGIS Desktop

I am looking to clip master map polygons to land owner boundaries. However, the normal clip tool does not allow me to identify which land owner the master map parcel belongs to once it has been ...
0
votes
1answer
36 views

Is there a way to clip a jpg layer in QGIS?

I have a jpg image as a layer in QGIS but want to clip it to get rid of the white background is this possible? As it is not a raster file, when I convert it to a raster it losses its image quality!
0
votes
1answer
17 views

Bounding Areas using Feature Collection values (RESOLVE Ecoregions 2017)

I'm pretty new to the Earth Engine and have been working through some of the tutorials to familiarize myself with it. I have very little code experience. What I am trying to accomplish is creating a ...
0
votes
0answers
40 views

Clipping raster mosaic changes range of cell values to -3.4E+38 — +3.4E+38

I'm trying to clip a DSM mosaic I've made with a shapefile on ArcMap 10.7 but when I use extract by mask tool, the output is just empty and when I change the no data colour to red, all I get is a red ...
0
votes
0answers
8 views

Retaining input information with raster overlay

I'm working in ArcGIS (version 10.7) on an unweighted overlay analysis of 15 green space functions that I would like to tally but also still retain the information for which functions are represented ...
0
votes
0answers
41 views

Clipping raster to selected feature using ArcPy

I have a fishnet and I want to make a script that sequentially uses each square of the fishnet as the output extent to clip a raster. If I select a single square of the fishnet I can then clip the ...
0
votes
0answers
32 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
43 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
19 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
67 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 ...
3
votes
0answers
25 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
54 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
125 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
43 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
202 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
69 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
36 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
31 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
271 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
19 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
2 3 4 5
23