Questions tagged [clip]
To limit or reduce the extent of one dataset by the extents or boundary of another.
1,372
questions
0
votes
0
answers
13
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 and hoping to get some help.
I'm using ee.ImageCollection("GOOGLE/DYNAMICWORLD/V1") to look at land use types (specifically tree cover - band 1) within a ...
0
votes
1
answer
33
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 ...
0
votes
1
answer
19
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 ...
0
votes
0
answers
50
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 ...
3
votes
2
answers
135
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 ...
0
votes
2
answers
24
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....
0
votes
0
answers
23
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 ...
1
vote
1
answer
44
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 ...
0
votes
0
answers
17
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, ...
0
votes
0
answers
26
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?
3
votes
1
answer
75
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 ...
0
votes
1
answer
35
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 ...
1
vote
0
answers
24
views
QGIS 3.34 has problems clipping USGS SGMC data
I recently downloaded the entirety of the SGMC dataset from the USGS site. The website for this data is at https://www.sciencebase.gov/catalog/item/5888bf4fe4b05ccb964bab9d. I selected the shapefile ...
0
votes
0
answers
41
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 ...
0
votes
0
answers
46
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 ...
0
votes
0
answers
22
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 ...
-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'...
1
vote
1
answer
64
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 ...
1
vote
0
answers
55
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%...
-1
votes
1
answer
15
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 ...
0
votes
0
answers
26
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 ...
0
votes
1
answer
44
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 ...
0
votes
1
answer
62
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 ...
2
votes
1
answer
62
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?
0
votes
0
answers
42
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 ...
0
votes
0
answers
33
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 ...
0
votes
0
answers
40
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 ...
2
votes
1
answer
42
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 ...
3
votes
1
answer
154
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 ...
0
votes
2
answers
49
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 ...