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 ...