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
0 answers
30 views

Clipping raster using vector layer in GeoServer

I am trying to clip a raster layer using boundaries from a vector layer. I have tried using WPS chaining to do it. I have used gs:cropcoverage as input process for the raster and gs:collectgeometries ...
Nilesh chauhan's user avatar
0 votes
1 answer
14 views

Raster clip using REST API with shapefile polygon

I am using GeoServer for my project along with React and Leaflet (react-leaflet plugin ). Is there a way to clip a raster stored in the GeoServer on the fly? I want to display the clipped raster in ...
Nilesh chauhan's user avatar
0 votes
0 answers
40 views

Cannot manage to clip DEM raster using vector for calculating flood depth on QGIS

I have a huge DEM that I want to clip on QGIS based on a flood vector layer so that I can easily calculate the flood depth based on the highest DEM value in the flooded area. I am trying to use the &...
qgisusser's user avatar
0 votes
0 answers
30 views

QGIS 3.22.16 Split road lines at polygon border

I am using the QGIS 3.22.16. I tried to get the length of the roads in each county. I used the clip tool however the road length of the ones crossing the boundary still the same length. By any chance ...
GIS Noh's user avatar
  • 171
0 votes
0 answers
31 views

Getting imagery in Google Earth Engine

Is it OK to flatten several features into a single one before obtaining the raster data? I have several AOIs in the form of GeoJSON files. I open them using AOI01 = geemap.geojson_to_ee('path/to/AOI01....
terauser's user avatar
0 votes
1 answer
12 views

GEE - Is there a way to divide an image to a set number of rows and columns, then export those smaller images?

I have a square over the area of interest. What I want to do is split the image that I've clipped from the square into 64 smaller squares, or maybe less like 16 smaller squares. After which I will ...
Ace Orolfo's user avatar
0 votes
1 answer
49 views

What Does It Mean To "Clip" A Polygon?

I have the following dataset in R - this dataset contains a list of geocoded addresses (Canada) with their Postal Codes, Longitudes and Latitudes: https://www.dropbox.com/scl/fi/9kjoqsppb85ip0tdc5wmr/...
stats_noob's user avatar
0 votes
0 answers
25 views

Python OGR error when intesecting line by polygon

When I try to find the intersection of a line gdb layer with a polygon layer I get the following error: Can only insert a LineString/MultiLineString/CircularString/CompoundCurve/MultiCurve in a ...
Robert Thomas Almodovar's user avatar
0 votes
1 answer
37 views

Passing geometry dataset type to gdal.Warp() for a clip operation - order of operations and file type confusion

Trying to wrap my head around the correct order of operations and file type(s) required by gdal.Warp(). I have a valid geometry object created from the shapely object.unary_union.convex_hull method. ...
bashity's user avatar
  • 109
0 votes
1 answer
17 views

Clipping a raster via mask on runtime before uploading into GeoServer

I have point data which is being interpolated and a raster is generated. The raster is a rectangular grid and I need the raster of Pakistan only. I'm using shapefile of Pakistan to specify the bounds ...
Hayat Ullah Abid's user avatar
0 votes
0 answers
40 views

How to clip raster image and convert to XML file?

I've tried to clip raster images with different software such as ENVI to keep metadata files and it was done successfully. After this step, I want to convert the clipped image to XML file. in order to ...
shabnam's user avatar
0 votes
1 answer
27 views

Raster band values affecting analysis in ArcMap

I've been trying to clip a raster data but the output each time has different band values resulting in different symbology. I checked online and it seems there is no applicable solution, and I even ...
Yfunfur's user avatar
2 votes
1 answer
32 views

Clip raster to certain pixel size in multiple mannualy selected locations in QGIS

I want to manually select and clip several areas in a raster layer and get the outcome of a certain size in pixels (e.g. 500x500px). I would approach it with first creating polygon shapefiles over the ...
Meleta's user avatar
  • 21
2 votes
1 answer
87 views

Clipping lines from intersecting polygons with sf in R

I am attempting to clip sf lines where they overlap with polygons in R - the opposite of the clip in the image below: I've created a reprex below, where the blue lines outside of the circle should be ...
geoscience123's user avatar
0 votes
0 answers
26 views

Clip a SpatialGrid using a SpatialPolygon

In order to perform kriging methods using automap::autoKrige I need to provide a SpatialGrid for which values can be predicted. I would like to reduce the rectangular grid to the actual area (in this ...
M.Teich's user avatar
  • 115
-2 votes
1 answer
35 views

Google Earth Engine [closed]

I tried to visualize the imagery but it told me there were no bands to visualize, what might be the problem?
Levice's user avatar
  • 1
0 votes
0 answers
57 views

Clip raster by mask layer attempt gives ERROR 1: netCDF chunk fetch failed

When trying to clip raster by Mask layer I get the following error: My input layer is a TIFF file, the mask layer a shapefile. ERROR 1: netcdf error #-62 : NetCDF: One or more variable sizes violate ...
tina's user avatar
  • 9
1 vote
0 answers
57 views

How to clip USGS LiDAR data and polygon files

Am kind of new to the whole Geo Info systems, I am trying to clip USGS lidar data which is (.laz) format using polygons in a (.shp) file. I am using Python 3.10: with packages laspy, geopandas. I use ...
Tarun Srinivasan's user avatar
1 vote
1 answer
116 views

Clipping raster layer created by Georaster plugin in Leaflet?

I want to clip a raster layer inside Leaflet. I want it to clip by a GeoJSON. I couldn't find an effective method to do it. The below code is what I have done so far. Can anyone suggest a method? var ...
Hasitha Bandara's user avatar
3 votes
1 answer
174 views

ogr2ogr: -clipsrc or -clipdst?

I am trying to replace a naïve bounding box clip when I download data for a study area using ogr2ogr, to one that uses a study area layer with an actual geometry. ogr2ogr supports both -clipdst and -...
alphabetasoup's user avatar
3 votes
1 answer
65 views

Clip grid to extent of map in QGIS in Layout View

In the layout view (QGIS), I selected the rectangle in the add shape to clip my image (map). However, when overlaying the grid, the edges of the grid extend beyond the clipped image. (appears to cover ...
Conrad Bitno Kumul's user avatar
0 votes
0 answers
65 views

Trouble with clipping a GeoJSON polygon from a PNG raster tile in a Django Python app with rasterio

I am currently working with a Django Python app that is associated with a PostgreSQL database where PostGIS is installed. There's a specific table in the database with a column of the polygon type, ...
ybz's user avatar
  • 1
1 vote
0 answers
42 views

Clip a DSM by raster extent in QGIS

I am trying to clip a DSM by raster extent in QGIS. Both rasters have the same PCS (EPSG: 26911). My results appear a bit off axis from raster extent. Attached a picture; clipped DSM underneath ...
Shalen's user avatar
  • 11
1 vote
1 answer
27 views

Inserting Modify Features Clip (Discard area that intersects) into ModelBuilder in ArcGIS Pro

Does anyone know how to insert the Modify Features Clip tool into a ModelBuilder in ArcGIS Pro 3.03? I'm wanting to cut a hole in a polygon based on another feature class, and do this for ten ...
LuisVazquez's user avatar
1 vote
2 answers
42 views

Naming clipped files from layer mask?

I have to clip a quite large raster (corn crops) into individuals rows. It's working fine with the "Clip raster by mask layer" tool with a grid I created. However, I need the clipped images ...
basile's user avatar
  • 69
0 votes
1 answer
46 views

Cut out parts of raster using polygons

I am looking to cut out some areas of a large raster using polygons. The existing clipping tools only cut the raster to the size of the polygon, but I just want to cut the areas of the polygons out of ...
Phoebe's user avatar
  • 197
1 vote
0 answers
40 views

Error clipping raster by extent QGIS

While trying to clip raster using X,Y values this kind of error occurs: GDAL command output: ERROR 3: Free disk space available is 73209118720 bytes, whereas 1781328410624 are at least necessary. You ...
Julia's user avatar
  • 11
1 vote
1 answer
416 views

Clipping a raster with a multipolygon using rasterio in Python

I'm trying to write a function to clip rasters by a multi-polygon shapefile or GeoJSON in Python using rasterio. So far, I found a good article that I've implemented, but it doesn't seem to work on ...
user2031's user avatar
  • 221
2 votes
0 answers
23 views

Assessing two rasters to identify areas where one species exists but not other using ArcGIS Pro

I'm re-learning ArcGIS Pro having not been in the GIS world for quite a few years (not since ArcMap). I have two vegetation species raster data sets and what I'd like to do is to find the areas where ...
Emily's user avatar
  • 21
0 votes
0 answers
45 views

Download clipped Sentinel1-GRD data using bounding box or an AOI

I am using this code to download Sentinel-1 data. I am able to download a whole tile. I want to crop a specfic area and download that region using my AOI. This is my code of Jupyter notebook- pip ...
sensing's user avatar
1 vote
0 answers
31 views

Clipping line features to polygon in SQL Server

I am trying to figure out how to clip a rivers layer to a polygon layer in a view. Below is the code that I tried but I receive an error (i.e. SQL Error [4145] [S0001]: An expression of non-boolean ...
Nicole's user avatar
  • 19
0 votes
1 answer
53 views

Calculate statistics from croppped WMS in OpenLayers [closed]

I have a GeoServer WMS layer that I cropped using the ol-ext filter.crop in OpenLayers. This is a layer that has only one band and pixel values between 0 and 100. I want to calculate the statistics of ...
Elen's user avatar
  • 3
1 vote
1 answer
81 views

ArcGIS Pro and Map Clipping

I am trying to create a map with an extent that followings the lines of latitude and longitude in a Canada Lambert Conformal Conic projection, similar to the one below: However, if I set the clip ...
Matthew's user avatar
  • 138
0 votes
0 answers
54 views

Partial image extent after clipping an image collection to a geometry in Google Earth Engine

When clipping an image collection to a geometry in Google Earth Engine, the resulting clipped images only show a partial extent of the original image. What could be causing this issue, and how can I ...
JHONNY_2178's user avatar
0 votes
1 answer
41 views

Can't use Polygon to Clip Raster

I created a polygon to use to clip a DTM raster (DEMTiff), but the Clip by Mask tool gives an error: GDAL command: gdalwarp -overwrite -of GTiff -cutline temp.shp -cl temp -crop_to_cutline "D:\\...
Jeff C's user avatar
  • 1
0 votes
0 answers
74 views

Clipping a ggmap object by an sf object

Is there a way to clip a ggmap object by an sf object? I have a Google Earth satellite image that I have pulled using ggmaps: gmap<- get_map(location=c(lat = mylat, lon = mylon ), zoom=15, ...
Andrew C.'s user avatar
1 vote
0 answers
47 views

Small parts of a pixel not showing WITHIN the boundaries of the shapefile, when a clip function is applied to an image collection in GEE

I am trying to clip a sea-surface temperature (SST) dataset to the coastal waters surrounding the Australian coastline. I have done this fairly successfully, but in a few small areas the SST pixel is ...
Jcd's user avatar
  • 21
2 votes
1 answer
186 views

Clipping in/with Sentinel Hub API

Is it possible clipping a Sentinel-2 image from Sentinel Hub with circular boundaries? In Sentinel Hub documentation, I only found support to Bound Box (BBox) AOI that close an image in a retangular ...
Caio Diaz's user avatar
1 vote
0 answers
57 views

Raster data are shown but can't be clipped or changed

I'm struggling with a new problem on QGIS 3.30. Here's what I want to do: I downloaded raster data from my country in .img and can easily import them from my local driver into QGIS. The problem: After ...
Daniel Nußbaumer's user avatar
0 votes
0 answers
92 views

Clipping a TPK File based on geometry

Is there a way TPK file can be clipped in ArcGIS Pro in specific shape ?. I have tried following tools and they don't seems to work: Extract Data Tool under Data Extraction Clip Tool failed to show ...
raghav's user avatar
  • 69
0 votes
0 answers
21 views

Batch processing clip tools

I am using QGIS 3.30 I have a Layer of 14 farms, digitised as polygons. I have digitised polygons of 6 different land use types across these farms, with each land use in its own layer. Some of the ...
Norman's user avatar
  • 41
0 votes
0 answers
22 views

Clip and return numerical amount of population density

I have 2 layer data. 1st is the choropleth data of population density per sub-district (in gradient color of red to white). And the 2nd is the service area of ambulance service (in the color of green)....
Jack Zaki Zakiul Fahmi Jailani's user avatar
0 votes
1 answer
140 views

Unable to transform edge error when clipping ImageCollection in Google Earth Engine

I am attempting to clip an ImageCollection in GEE, but I keep getting the error "Unable to transform edge (43200.000000, 1.476288 to 43200.000000, 1.477361) from SR-ORG:6974 PLANAR [926....
KAR's user avatar
  • 3
1 vote
1 answer
63 views

Defining national borders in TIF file and cutting away excess map in QGIS

In QGIS I am trying to create a shaded relief map of Denmark. I have managed to fetch the data from https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/elevation/copernicus-dem/elevation, ...
Aleksandar's user avatar
5 votes
1 answer
43 views

Clipping buffers to joined polygons in QGIS

I have two vector layers in QGIS: a layer containing building outlines for houses a layer containing parcel outlines for properties I used a spatial join (join attributes by location) to connect the ...
Patrick Johnson's user avatar
0 votes
2 answers
98 views

Add a polygon as a clip parameter for WMS and WCS layer in Datacube OWS

I am trying to add a clip as a parameter for a WMS and WCS URL end point, but couldn't clip based on a polygon. Adding bbox for WCS endpoint returns the bounding box, not the exact polygon as the name ...
Praj's user avatar
  • 1
0 votes
1 answer
68 views

Output of Point Cloud Cropping using PDAL displaying as straight line

I am cropping my point cloud (.las) using PDAL, when i display my original point cloud it looks like this, But after i crop it, the output looks like this, i.e. a straight line in viewer mode. Here ...
Ahsan Mukhtar's user avatar
1 vote
1 answer
361 views

Clip Living Atlas layer

Using ArcGIS Pro I want to clip this SSURGO soil hydrologic group layer https://www.arcgis.com/home/item.html?id=be2124509b064754875b8f0d6176cc4c to a smaller layer in California for which I have a ...
BHope's user avatar
  • 63
-1 votes
1 answer
328 views

Resolving error of arguments imply differing number of rows

I downloaded climatic data layers at 5m resolution from worldclim database. I am planning to clip it using Sri Lanka polygon sourced from GDAL library. I made a raster stack of 15 layers using the ...
Rahul Raveendran's user avatar
1 vote
0 answers
20 views

Clip all polygons inside the boundary of provinces to separate and calculate every inside polygons area

I need to calculate area of polygons inside every province but some of polygons are not exactly inside of one province and part of it is in one province and the other part is in another province. How ...
coral's user avatar
  • 79

1
2 3 4 5
27