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

Aggregate&Clip OR Clip&Aggregate?

I have a raster data with resolution of 0.00833333 deg and want to aggregate it to 0.25 deg resolution. I used two approach: I first clipped my raster with my study area (polygon feature) and then ...
1
vote
3answers
49 views

Clipping polygons and lines at exact borders within PostGIS

I have OSM data of the whole world in a PostGIS db. For some reasons, I want to work with tables which have only data from a given bounding box inside. I create this tables with following command: ...
0
votes
0answers
10 views

GDAL C# Bindings ogr2ogr's clipsrc

I am trying to call ogr2ogr's clipsrc command from C#, but I can't find any reference other than implementing what the command does from scratch. I can imagine Using gdalwarp with c# bindings? is ...
3
votes
0answers
39 views

Error using 'Clip raster by mask' in QGIS v3.8.2

I am attempting to clip a raster to a shapefile boundary (country boundary, 1 polygon) using the 'clip raster by mask' tool in QGIS v3.8.2. Both layers are in WGS84, so projection mismatch shouldn't ...
-1
votes
0answers
19 views

Eliminating difference in area? [duplicate]

I have downloaded shapefile of ecoregions. I selected Arctic desert ecoregion to measure area using fields calculator. Area of this ecoregion is 162787,71 km2. Arctic desert ecoregion is lying over ...
1
vote
0answers
18 views

Extracting or masking of very large raster to reduce file size on disk?

I have a very large 8-band raster (339806 x 61704) that I cannot load to memory to manipulate (R, raster:canProcessInMemory indicates I need 4999.16 GB of ram to load this file). However, I only need ...
2
votes
1answer
57 views

How to clip raster inside of circle (python gdal)

I have a source raster and an ERSI shape file, want to crop the raster into the circle. raster = gdal.Open("raster.tif", gdal.GA_ReadOnly) #read raster projection=raster.GetProjectionRef() ...
1
vote
0answers
31 views

Clip Raster by Mask Layer - Nodata output

I am trying to clip a raster around a polygon shapefile. I have managed to do it for a series of polygons with the same raster, however one polygon is returning a blank clipping with 'nodata' in each ...
0
votes
2answers
68 views

Clipping raster by value of overlapping raster in QGIS?

I have two overlapping raster dataset with the same resolution. First one is classified into 1 and 0 values. I would like to clip the second raster based on the pixels of the fist raster with value ...
2
votes
1answer
22 views

Can't cut raster with a polygon shapefile

I'm trying to cut a CLC raster (several, actually) with a shapefile (polygon) boundary from a country (Portugal, continent only), bu i keep getting this error: QGIS version: 3.8.2-Zanzibar QGIS code ...
2
votes
1answer
43 views

Clip overlap from polygons

I am trying to script the clipping of overlapping areas from a set of polygons. After having fetched features (outerFeature) a loop (innerFeature) is to check if other features intersect with area > 0....
2
votes
0answers
21 views

Clipping interpolation layer to a coastal boundary in QGIS 3.6?

I have created an interpolation layer and want to clip it so I don't see the area outside the coastal boundary. map showing area to be clipped:
1
vote
1answer
35 views

QGIS: Clip Raster by Mask Layer-permanently remove black edges

I want to introduce geotiff images generated in QGIS by clipping ortho imagery to a shapefile into matlab. However, the clipped raster images come with black borders. I managed to remove them in QGIS (...
2
votes
1answer
70 views

Clipping polygon with points

I have a slight issue I just cannot solve. I use QGIS 3.6 I have multiple layers: layer with multiple points with milage numbers; a layer containing one or more polygons (let's call them "...
2
votes
0answers
33 views

Removing ONLY black background in QGIS (without removing black dots within the image)

Related to question: Removing black background and black font from raster in QGIS I have also a black backround and when doing as it is suggested in the answer the black backround goes away but also ...
1
vote
0answers
18 views

Mask out areas inside a feature collection on Google Earth Engine

I am quite new to javascript and I am trying to apply a mask on an image to exclude areas inside a feature collection, I have seen that for the case of image collections the "mask" and "mask.not" ...
1
vote
1answer
36 views

Mosaicing non-overlapping rasters in QGIS

I have a set of georeferenced rasters that I want to combine in a seamless layer in QGIS. I believe what I have to do is clip them by mask layer and then build a virtual raster. There is an issue ...
1
vote
0answers
19 views

QGIS Error : Could not load source layer for INPUT

When I try to clip a layer in QGIS 3.8.1 by using the toolbox clip function, it always returns the error Could not load source layer for INPUT XXX.tif layer not found. When I manually drag and drop ...
1
vote
1answer
43 views

Clipping raster layer supplied from web (e.g. OSM)

When I try (in QGIS 3.8 "Zanzibar") to clip a "web layer", i.e. a raster layer provided from the web (e.g. an OSM map loaded via the QuickMapServices plugin) by the usual method Raster > Extraction > ...
1
vote
2answers
40 views

Clipping raster exactly to outline of shapefile using QGIS?

I have clipped the shape I want but it looks messy with ragged edges. I want to remove these and have clean edges. I have tried doing this on QGIS but have come to the conclusion that it is not ...
1
vote
1answer
29 views

Clipping images in QGIS

So I created square buffer points on a satellite image and I am trying to cut the images under these buffer points as like a JPEG or PNG file. Is there any way to do this in QGIS?
0
votes
1answer
13 views

Clipping using multiple polygons from same layer in ArcGIS

I have a polygone shapefile and now I want to select a couple of polygons which are islands in one big polygon and clip that big polygon with these selected islands. I know that I can use ERASE tool ...
2
votes
1answer
57 views

QGIS processing.run() standalone script does not write .prj and .cpg output files of shapefile?

I've created a python standalone script to clip two shapefiles with qgis. I've installed qgis3 with OSgeo4W. The logic is as follows: import qgis from qgis.core import * from qgis.core import ...
2
votes
2answers
57 views

Clipping Lines Using Expression in QGIS?

I have a set of roads that I wish to clip. How ever I only need a segment of each road based on the state its located in. I can do this independently but seems like there should be a better way. Ill ...
0
votes
0answers
28 views

Clipping Terrain Data using QGIS?

I'm trying to follow a tuturial by Ujaval Gandhi -Spatialthoughts- and every time I try to clip the everest map by extent by selected on canvas I get the following error message. Can someone tell me ...
0
votes
1answer
43 views

clipping a vector layer with another vector layer using python

Sorry if this there is a really obvious solution to this question. I did not have any luck googling and looking at different books. I have an OSM vector layer that I want to clip with another vector ...
1
vote
1answer
51 views

Crop multiple rasters using map or mapply?

I have a folder of rasters with slightly different extents. I would like to apply crop to the whole list of rasters. I'm trying to teach myself how to use the purrr map family, but I can't get that or ...
4
votes
2answers
257 views

QGIS Zanzibar how to crop?

I have georeferenced an old OS map and I have now imported the OS data shapefile for boundaries for England. How can I get rid of the extra data that extends beyond my map and just leave my scanned ...
1
vote
0answers
27 views

Accounting for intersecting features with spatial join?

I am looking to analyse the effects of the designation Marine Conservation Zones (MCZs) on fishing effort. I have a shapefile for fishing effort which is gridded, each pixel has information about ...
3
votes
0answers
78 views

“Clip Raster by Mask Layer” produces zero values (and not Nodata) outside mask boundaries

This is my first question here. I have a big raster of the world's nighttime lights and want to clip it down to the Adm0 of a country: In order to do so, in QGIS 2.18 what I do is using the Clipper ...
0
votes
0answers
35 views

Clip/Intersect tool stopped working

I am using ArcMap 10.5.1 I have been using the Clip tool to cut out the amount of a given habitat type found within individual buffers around individual samples. After successfully executing this ...
1
vote
2answers
43 views

Clipping raster by mask layer with rule that it only clips raster if shapefile overlaps by 10% using QGIS?

I am using QGIS. Is it possible to clip a raster when the shapefile overlaps with it by 10%? Clip raster by mask layer tool is fine for Ontario (left) but makes me lose a lot of data from smaller ...
1
vote
1answer
40 views

How to crop raster in R without losing the colors?

I have a 2x3 raster in R, with values 1 to 6. library(raster) r <- raster(nrows=3,ncols=2,xmn=0,xmx=2,ymn=0,ymx=3,vals=1:6) colors <- c('red','orange','yellow','green','blue','purple') plot(r,...
0
votes
1answer
40 views

Clipping by mask results in blank output

After clipping by mask in QGIS 3.6 the output file has been blank (empty). Raster file and vector mask file have the same projected CRS: USER:100029 - * Generated CRS (+proj=igh +a=6370997 +b=...
0
votes
0answers
18 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
31 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
21 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
54 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
15 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
60 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
59 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
32 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
56 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
210 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
107 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
37 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
26 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
37 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
33 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
37 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/...