Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [clip]

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

0
votes
0answers
15 views

Clip OR Overlay in ArcGIS output feature empty

I use the Clip and Overlay to deal with download data. But they do not work and result in failure. Maybe the data is too large for ArcGIS Desktop to calculate. I do not know where I can check whether ...
0
votes
0answers
22 views

delete pixels intersecting vector border

I have a two files : vector file : polygon (red) raster file : got by clipping a raster file using this vector file (Green) I want to delete pixels that intersect with the vector border (I want to ...
0
votes
0answers
13 views

Clipping a raster by latitude and longitude extent in ArcMap

How do you clip a raster by latitude and longitude in ArcMap? I have a planetary DEM of Mars: The datum is D_Mars and the xy coordinate system is Equirectangular_Mars. I want to clip this raster ...
0
votes
2answers
47 views

Removing overlapping polygon parts in sequential order using ArcMap

I have 500 polygons in a feature class. There are a lot of overlapping polygons and I need to remove these overlapping areas according to three criteria. What we do now: we have a column with the ...
0
votes
0answers
12 views

Iterating clip in ModelBuilder based on different province/county names using ArcGIS Pro?

I have a featureclass with all counties/provinces from the Netherlands and I would like to do clips for roughly 8/9 counties based on their names in the feature class. I have a feeling that I have ...
0
votes
1answer
47 views

Using Editor tab Clip function in ArcPy?

I am using ArcGIS Desktop 10.6, basic license, Spatial Analyst, python 2.6, 2019 AD. I have a polygon feature class with representing a lake, with multiple features overlapping (all in the same ...
1
vote
1answer
37 views

Invalid geometry error after polygonizing a GeoTIFF file

I wanted to clip an OSM vector layer with the boundaries of a raster image--a GeoTIFF file. I was able to polygonize the raster and obtain its boundary in a vector format. But I am getting a error ...
1
vote
0answers
24 views

Clipping polygon to parcel without affecting polygons in neighboring parcels using ArcMap? [closed]

In one of my weekly QA tasks using ArcMap 10.3, I receive a table of parcel changes that have occurred. I need to review the parcels for polygons that overlap the parcel line. I use a tedious ...
0
votes
0answers
41 views

Is there a bug in the Build Virtual Raster tool (QGIS 3.4.7) when using nodata value = -9999?

When I configure the Nodata Value argument in the Build Virtual Raster tool (QGIS 3.4.7) equal to -9999 I have obtained an unexpected result, as shown in the figure below: On the other hand, if I ...
2
votes
1answer
195 views

Splitting polygons and dividing attribute value proportionally using ArcGIS Pro?

I am using ArcGIS Pro 2.3.0. I have two feature classes (pictured below), RED polygons and BLUE polygons. The RED polygons have a numeric attribute, Value1. How can I split the RED polygons with ...
1
vote
2answers
87 views

Spatial query with clip (PostGIS)

I'm making the transition from GIS to PostGIS and am stuck on this spatial query. I have background geometry (purple, outlined red) which has an overlay of islands (blue, below); I need the area of ...
1
vote
0answers
36 views

Way to get an adjusted attribute table after clipping raster with polygon?

I'm relatively new to ArcGIS in general, so please excuse any incorrect terminology. Currently, I am trying to clip raster data using polygons. I have clipped six of these, but the attribute table ...
1
vote
0answers
25 views

How to clip an incomplete coastline?

I have the park boundary for Point Reyes National Seashore (https://irma.nps.gov/DataStore/Reference/Profile/2224545?lnv=True) and the NHD data for that park boundary. I want to do a drainage density ...
0
votes
0answers
30 views

Batch polygon clip doesn't work [ArcGIS]

I have an OSM layers of a region, but want to extract data only for city that I am interested in for further export in Illustrator: AYCS, I've created a polygon which includes the territory that I am ...
2
votes
0answers
25 views

Clipping vector by iterating through input clippers using PyQGIS?

I have a python script that I want to work in QGIS 3.0. #importing all necessary modules import processing, os, glob result_path =("/home/brent/Documents/Hansen_new_data/Regions_Min/Province/TI/CADT/...
0
votes
1answer
29 views

Cannot clip because “unable to open database file”. Do I need to create a geopackage from shapefiles, and if so, how?

I am working with some shapefiles in QGIS 3.2.1, and I would like to clip one shape file to another, and I am having the following error message. Input parameters: { 'INPUT' : '.../Data/landcover/...
1
vote
1answer
64 views

Extracting raw data from WCS raster using QGIS python console?

I am trying to replicate the following manual workflow in the Python console of QGIS 3.4.7 Manual workflow: 1) Connect to WCS service. Name: USGS National Map Elevation OGC-WCS URL: https://...
0
votes
1answer
20 views

Raster does not clip according to polygon feature

I'm trying to cut my raster to fit a polygon, but it keeps doing this weird thing pictured below. I've tried the following things: Merging and dissolving the polygon into 1 polygon Converting the ...
3
votes
1answer
60 views

How to use gdal warp with modified crop_to_cutline?

I know that this question might be confusing, so I'll try my best to explain it. I have a shapefile that I will be using to clip my raster: This is my shapefile (whole island of Palawan, Philippines)...
0
votes
1answer
29 views

Is crop() Limited to 16 Bit Pixel Values?

I am working with Landsat 8 satellite data. In the scene data that I am analyzing, the band 10 pixel values are: low: 0 high: 39087 After I crop the raster, the pixel values are now: low: 0 ...
0
votes
0answers
13 views

Clipping multiple rasters to single polygon using ArcGIS ModelBuilder?

I have 44 individual polygons and 50 raster datasets. I would like to clip the single polygon to the 50 rasters and get 50 individual rasters in the extent of the polygon. I have been using the ...
1
vote
1answer
39 views

Clipping Vector by Custom Raster Extent in QGIS?

I have a raster image (elevation map from DEM) where I have limited the rendered elevation to only 3,500' and higher. I would like to convert the boundary/extent of this rendered image into a vector ...
1
vote
0answers
11 views

QGIS quit unexpectedly

Running QGIS 2.18 on Mac OS 10.14. Python 2.7 and GDAL 2.1 installed. Trying to clip raster by polygon. (raster--> extraction --> clipper) Get error message. ("qgis 2.18 clipper The process failed ...
0
votes
0answers
7 views

VeloxRaster_crop returns numeric

Curious as to why the following only returns a numeric vector with row and column information rather than a cropped raster: ras <- velox("dir.tif") cty <- st_read("cty.shp") ras <- ras$crop(...
3
votes
1answer
33 views

Isolating and exporting specific sections of a shapefile in QGIS?

If I have a shapefile layer in QGIS showing the spatial boundaries of subsections of a larger area (e.g. counties within a state, or countries within a continent), how would I selectively crop out one ...
0
votes
0answers
31 views

Clipping features with the attributes of another feature

I have a vector polygon for a catchment which contains numerous subbasins. In addition, I also, possess another vector polygon showing the impervious areas of the catchment. What I want to do is ...
0
votes
0answers
22 views

Raster layer not clipping to polygon boundary and yielding block extent in ArcMap?

I am using ArcMap. I want to graphically display my NDVI distribution, but I had to convert my NDVI raster layer from continuous values to integer in order to view the attribute table (I used the ...
0
votes
0answers
18 views

Clipping raster to fit smaller one using QGIS? [duplicate]

I have a classificaton map of the France vegetation and i want to clip it to fit with my Sentinel-2 tile. How can I do that with QGIS?
0
votes
1answer
23 views

Batch processing of GDAL clip function

When I am trying to batch process GDAL clipping in QGIS 2.18 with 30 raster files I get the following Error: GDAL command output: ERROR 1: Cannot compute bounding box of cutline. My ...
0
votes
0answers
18 views

Clipping shapefiles using point grid references

I imagine this is a simple answer but I'm struggling to find information on clipping a shapefile using grid references. I'm using ArcMap 10.3.1. My shapefile is a line feature of mean low water and I'...
0
votes
0answers
25 views

For ArcGIS Pro - What if you need two iterators in one model? Looking to batch clip multiple shapefiles with a Feature Selection iterator?

I am working on a series of maps in ArcGIS Pro, matching wind speed and direction with a modeled migratory path of 19 sparrows for the month of April. The wind speed and direction shapefiles are from ...
-1
votes
1answer
51 views

Clip a raster based on the extent of another raster in ArcMap

I need to clip a raster to extract only the surface in common with another raster. How can I do that in ArcMap?
2
votes
2answers
127 views

Is there a way to clip a layer with a shape from another layer in `sf`?

I would like to get the greens polygons that intersects (or overlapsed) the red outlined polygon (see image below). I tried sf::st_intersection() but the polygon in yellow (yes that just one polygon) ...
0
votes
1answer
28 views

Batch clipping rasters using ArcPy?

Am trying to clip multiple rasters but getting a runtime error, what could be the problem with my code import arcpy, os arcpy.env.workspace = r"E:\Geos4s\GeoS4S Module Geospatial Support for Arid ...
2
votes
1answer
33 views

Determining if raster can be clipped with polygon using ArcObjects?

Using ArcGIS 10.4.1 ArcObjects with geoprocessing. I have an input feature class with 100s of polygons and also one raster. I iterate through each polygon and clip the raster and then do additional ...
0
votes
0answers
19 views

Error when clipping a raster and saving it to a gdb other than the Default.gdb

I have several large Raster-Datasets stored in a Geodatabase (Example.gdb). I created polygon-shapefiles to clip the Rasters to the extend which I actually need. This works fine, as long as I save the ...
0
votes
0answers
13 views

Layers not overlapping and not clipping the layer [duplicate]

Does anyone have an idea about two layers are not overlapping on one another? I have one raster and one vector layer, I wanted to clip or extract by the mask of my raster by using shapefile but it's ...
0
votes
1answer
24 views

GRASS GIS - Keep raster below/above surface

I would like to clip raster where the surface intersect another surface and keep elevations that are below only. I am interpolating a vector into a 2D raster (v.surf.rst) for properties at a given ...
0
votes
0answers
53 views

Different values between original raster and cropped raster with rasterio.mask

I have a large sentinel-2 image and I want to clip it according polygons which are stored in a geojson file. My code is: df = gpd.read_file(os.path.join(geojson_folder,geojson_file)) df.head() ...
5
votes
0answers
155 views

Clipping rasters to mask layer QGIS 2.18, 3.4, 3.6 not working [closed]

Having a problem clipping a singleband GEOTIFF of Canadian land uses to a vector Quebec provincial boundary. When I do Raster -> Extraction -> Clip by mask layer, the program processes endlessly. I ...
0
votes
2answers
124 views

QGIS Data Frame Clipping for Basemaps

In ARCGis its possible to Clip your Data Frame so you just see the Data within the defined area. Like shown here: https://www.cdc.gov/dhdsp/maps/pdfs/GIS-Tips-Data-Frame-Clip-Function.pdf With this ...
1
vote
1answer
146 views

Extracting qualified image patches in Google Earth Engine?

I want to extract qualified (e.g., cloud-free) image patches (e.g. size of 128x128) in a large image (e.g. 10000x10000) in Google Earth Engine. These image patches can overlap with other qualified ...
1
vote
0answers
55 views

Clipping ocean water shapefile in QGIS [closed]

My requirement is to find a reliable source of Ocean water shapefiles, this is because OSM or Geofabrik does not provide this information. I eventually landed on this page: https://www....
0
votes
0answers
25 views

Errors Clipping a Vector: Invalid Geometry

I have a vector that was polygonized from a raster. I'm hoping to clip it within the boundaries of a certain shapefile "noFertZone" (the turquoise box). In the end I want a "noPKS" shapefile that only ...
1
vote
1answer
66 views

Clipping in PyQGIS2 working but error in PyQGIS3 (argument 1 has unexpected type 'str')

I am trying to clip streets by a layer with municipalities in them. I was trying to run this script in QGIS3 but obtain the error hereunder. Traceback (most recent call last): File "C:\OSGEO4~1\...
0
votes
1answer
33 views

Clipping Raster Mosiac Simultaneously Within Separate ArcPy Scripts?

I have a large raster mosaic dataset that I would like to clip within several scripts simultaneously, but whenever I run two instances of a script simultaneously one always fails with the error: ...
3
votes
1answer
78 views

Clipping a catalog with lasclipCircle returns “no point found within region of interest”

I'm trying to clip a catalog using lidR (v2.0.1) package. I've tried with lasclipCircle and lasclip. It gives me the error: no point in ROI, but when I'm viewing the shapefile using mapview (I've ...
0
votes
1answer
33 views

Shapefile, clip or project first when both are necessary

This is a question mostly out of curiosity, but I do it enough if there were a better choice I would stick with that. Using ArcMap 10.6, when a shapefile needs both clipped and projected is there an ...
1
vote
1answer
85 views

Clipping images using GDAL

I would like to clip some tiff files using cutline from kml file. .\gdalwarp.exe -of GTiff -co COMPRESS=LZW -cutline boundingbox.kml source.tif result.tif It works quite well but as a result I have ...
0
votes
1answer
43 views

Clip Data Layer to only include continental United States

I'm very much a beginner to ArcMap. Is there an easy way I can clip the Continental United States from this data layer and get rid of Alaska, Hawaii, and the other islands. I saw some tutorials ...