Tagged Questions

Clipping is the restriction of a spatial feature to a polygonal region, often a rectangle.

learn more… | top users | synonyms

0
votes
1answer
14 views

Why does clipping polygons result in no features?

I'm using QGIS 2.6. I'm trying to clip the polygons in one layer by another but cannot get the results I expect. I have a layer with wetland areas, and another layer with the boundary of my client's ...
2
votes
2answers
73 views

Why is Clip_analysis giving ERROR 999999 using SHAPE@ geometry token as clip_features in arcpy.da.SearchCursor?

In my file geodatabase (C:\polygeo\test.gdb) I have two feature classes: PointsFC which has 400 points arranged in a 20x20 grid FishnetFC which has four polygons arranged in a 2x2 grid - this has a ...
1
vote
0answers
21 views

How to create polygon made from outside points of points shp? [duplicate]

I have DEM Data which is in SHP Format. After interpolating to raster, I need to clip the raster image. To do this, I need to transform the Point SHP into a Polygon SHP using only the outer-most ...
2
votes
1answer
34 views

GDAL Warp to clip a .tif: Works fine standalone, won't work in Python

I am trying to use the subprocess module to call gdal warp and clip a .tif using a shapefile. When I try the command in GDAL it works fine, but when I attempt to call it into a Python script it will ...
0
votes
0answers
23 views

Clipping MrSID raster image, without decompressing clipped raster, in ArcGIS Desktop? [duplicate]

I am using ArcView ArcMap10 and when I clip a raster using tools/data management tools/raster/clip. The Clipped file ends up much larger than the original file. Specifically I am trying to clip a ...
10
votes
3answers
226 views

How can I parallelise embarrassingly parallel GIS operations in QGIS python?

A common requirement in GIS is to apply a processing tool to a number of files or apply a process for a number of features in one file to another file. Much of these operations are embarrassingly ...
1
vote
1answer
24 views

TIN gets distorted when I use hard clip to edit it

I have two cross sections from which I have created a TIN as can be seen in the following image. For removing the extra outer portion of the TIN, I created a polygon from the cross-sections and edited ...
2
votes
1answer
29 views

How to clip buffer polygon from its source line?

I'm trying to clip a 30 meter buffer polygon built around a highway line feature using a smaller 6 meter buffer that represents the actual width of the road, so that the original 30 meter buffer is ...
0
votes
0answers
20 views

Error: Cutline feature without a geometry. > Raster Type

I've got an "Error: Cutline feature without a geometry" on QGIS 2.4.0 Chugiak. I have 2 samples (A raster type and a vector type), they have the same coordinates (EPSG:4253 - Luzon 1911) Then I tried ...
2
votes
1answer
34 views

Clip_Management seems to delete shapefile?

We have some python code that clips a very large shapefile for further processing. We can see the process create all the output files, but then just as the process is finishing, they get deleted. ...
0
votes
1answer
45 views

clipping two SpatialPolygons : Error in RGEOSBinTopoFunc

I want to clip two SpatialPolygons on R without success, I followed the article in the disscution How to perform a true GIS clip of polygons layer using a polygon layer in R? Polygone 01 : > ...
1
vote
0answers
52 views

How to clear areas outside map in R

I succeeded thanks to the eblonde in the disscution (problem with polygon smoothing in R) to smoothing polygons in R. Code: inter1= read.table("c:/inter2.csv", header=TRUE) #add a category ...
2
votes
1answer
57 views

Clip raster by shapefile in parts

Please help write .sh script command to clip raster by polygonal shapefile. Shapefile have name field with unique name of polygon feature. On the output must be rasters with name of polygons in ...
2
votes
2answers
44 views

How to Clip a DEM and retain DEM format?

I have a DEM file that I downloaded from the internet. I am trying to clip it to reduce the file size. So far I have tried two different methods, but neither of them produces a clipped file in DEM ...
2
votes
0answers
38 views

What are my options to handle Raster Clipper ERROR 6: ADRG driver doesn't support 4 bands?

I have a tif file which contains 4 bands (RGB + alpha). The clipper does not work and gave me the message below; ERROR 6: ADRG driver doesn't support 4 bands. Must be 3 (rgb) bands. Any patch file ...
1
vote
0answers
41 views

QGIS 2.4 Clip function in Raster layer Style Single band pseudocolour not working?

I've been using QGIS for a while and recently upgraded to 2.4, but now find that displaying raster layers is difficult. In particular, the clip function (tick box bottom left of "Style">"Singleband ...
3
votes
1answer
42 views

How to clip vector data from raster data?

I have two files: National land cover data (raster) HUC 8 (vector files of watersheds) Both are national scale but the HUC 8 takes up a larger geographic region than the raster set so I want ...
1
vote
0answers
52 views

Clipping and reprojecting in one process for modelbuilder // “Save raster layer as” … in modelbuilder

I want to build a model in the QGIS Modelbuilder. First it should do a clip. Afterwards it should be reprojected (from Geographic WGS84 Coordinates to Gauss-Krüger). I only see one way to do this: ...
0
votes
0answers
24 views

Adding a Property (attribute) to a geometry in Shapely/Fiona

Once you have line and polygon geometries, intersection using Shapely is very straight forward. What I did after that is to integrate all the looped 'intersected' geometries into a MultiLineString. ...
1
vote
1answer
37 views

Combine drainage streams and watersheds [duplicate]

I have a question regarding ArcMap. Lets say I have a .shp with watersheds and a .shp with drainage lines. How can I combine both, so that I can display single watersheds and the length of their inner ...
2
votes
1answer
107 views

Clipping Line shapefiles within extent of Polygon shape?

My question is an extension of Vertical lines in a polygon shapefile. Kindly refer to that question first. What you shall see there is a method of generating vertical lines with respect to the ...
0
votes
1answer
20 views

Is there a way to clip areas that are intersecting in Cartodb?

I am new to cartodb and wish to know how can one clip only the areas that are intersecting?
2
votes
1answer
93 views

How to query one shape file using another shape file?

How to query a shapefile using another shapefile in ArcGIS? For example: I had one shapefile with states, another shapefile with towns. Now I want to query towns using the states file like towns of ...
2
votes
0answers
23 views

QGIS is locking the clipboard from other application? (SitesPlus)

We are starting to use QGIS along with Sales Forecasting software Sites Plus by Gravitec. An ugly problem just popped up: Whenever QGIS is open, any attempts to calculate a data table in SitesPlus ...
1
vote
1answer
34 views

Preserve polygon boundaries when vectorizing a raster according to a polygon vector

I have a raster which I clip by some polygons and then convert to polygon. I would like to obtain the same number of polygons in both my vector files. The problem is that some areas in the vector ...
2
votes
0answers
43 views

Why does my clipped raster seem to be slightly moved?

I'm having some problems with clipping rasters. I started clipping my raster using extents, but I saw that the clipped raster is different from the original raster. I created a virtual raster to use ...
1
vote
0answers
40 views

Clipping between features within a single vector?

Is it possible (via the Qgis API and friends), to clip polygonal features within a single vector layer? The hope is to accomplish this without having to duplicate the feature into a new layer. ...
1
vote
4answers
59 views

How to split polygons at intersections in ArcGIS 9.3?

I have two polygon layers. I'd like to split the features in one based on where they intersect the other layer. I've tried using the Clip tool, but there is no option to simply split the features -- ...
2
votes
3answers
160 views

Clipping faster (i.e. in bulk/batch) in ArcGIS for Desktop?

I have 100 different input vector layers and one clip feature vector layer. I have to clip them 100 times but its a large amount of work. Is there any Python script (ArcPy) in ArcGIS for Desktop ...
1
vote
1answer
43 views

Clip layers in a dataframe with a polygon in python?

I'm trying to clip layers in a dataframe with a polygon using python and I've done this python script but it's giving this error:"ERROR 000840: The value is not a Feature Layer" Thanks for any help. ...
0
votes
1answer
36 views

Clip polygon features with country boundary ArcGIS Desktop

I am trying to trim the edges of some polygons based on a country boundary. I have tried both clip and intersect, but neither seem to be doing what I want. Below is the image I am working with. When I ...
0
votes
0answers
57 views

How to clip Spot Image using shapefile in ENVi 4.7 or 5.0?

I have a Spot image that I would like to clip using the bounds of a town in shapefile format using ENVI 4.7 or ENVI 5.0. How do I do this?
1
vote
1answer
34 views

Deleting vector lines beyond image extents using QGIS?

I am using QGIS 2.2 I have one vector line layer (roads) that stretches beyond my base image (see below). I wish to have the roads "clipped/trimmed or deleted" right at the edge of the image's ...
3
votes
2answers
357 views

Creating donut holes without losing existing polygons using ArcGIS for Desktop?

Using ArcGIS 10.1 for Desktop is there a way to do a similar operation to creating a donut hole or island in a polygon without losing the existing features? I have mapped small lakes as several ...
3
votes
1answer
217 views

Clip in QGIS 2.4.0 resulting in empty output files

I'm seeing the same problem to Clip or Intersection tool - QGIS giving empty files trying to use the Clip tool since upgrading to QGIS 2.4.0, but have not been able to fix the problem based on the ...
4
votes
1answer
211 views

How to 'reverse clip' (erase) in R

A reverse clip saves only the part of your spatial object that is outside the bounds of another object, as opposed to a regular clip which saves the parts that are inside the other object. Here's how ...
0
votes
0answers
70 views

ArcGIS ModelBuilder Clip Raster by Polygon Error

My task is to derive the hypsometric integral and hypsometric curve for a lot of drainage basins. Since it is very time consuming to do this manually, i have created a model (with help from this ...
1
vote
1answer
37 views

Clipping aerial image pairs by their overlapping area

I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing. Is there a command line based tool out there with an easy method ...
1
vote
0answers
39 views

Clip Aerial Image Pair by Overlapping Area?

I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing in Python with Python Imaging Library (PIL). Is there a command ...
0
votes
1answer
42 views

Having trouble with clipping tool giving incorrect shape

I am trying to clip a shapefile of the Midwest using a Great Lakes shapefile so that it matches my political areas boundary. Whenever I use the Clip tool, it outputs the lakes clipped to states, ...
4
votes
0answers
50 views

Is there a limit to the number of polygon points you can export to CSV in QGIS 2.4?

Using QGIS 2.4 I am currently importing a csv file with ~30,000 polygons (polygons in WKT format). I also have a United States shapefile. I have used the Clip function to get only the polygons that ...
0
votes
2answers
59 views

Is there a simple way to clip multiple layers and orthophotos?

(*disclaimer, I don't know any Python/scripting) Ok, so I have clipped several layers in the past using Arcmap 10.+, but I am having a hard time wrapping my head around how hard it can be at times. ...
0
votes
1answer
58 views

Clip a shapefile based on raster extent with high accuracy

I am trying to clip a shapefile based on the extents of a smaller raster. I find the extent of the raster using this code: Extents = arcpy.sa.Raster(MyRaster).extent` Then, I use these lines to ...
1
vote
0answers
171 views

Clip or Intersection tool - QGIS giving empty files

I am trying to clip an Ordnance Survey Master Map (OSMM) feature based on a polygon created for the sake of clipping which does not have any attributes, but the output is an empty file. Projection of ...
3
votes
1answer
398 views

Cut polygon shapefile by line shapefile

I have two shapefiles, a polygon shapefile (lake) and a line shapefile (boudary) I want to create a new shapefile "polygon to the north of the boundary" What tool can I use in QGIS or other free ...
2
votes
5answers
224 views

How to create a feature class from the area in one layer not covered by another layer using ArcGIS?

I am working on a project doing spatial analysis at a statewide level. I am looking at a form of transportation coverage in a state, and part of my analysis involves buffers and drive time polygons. I ...
0
votes
1answer
118 views

Why do I get an error when I try and clip a shapefile to a shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
0
votes
1answer
66 views

Calculate tree cover over certain area from raster data

Last year Hansen et al. published Global Forest Change map as set of raster data available in TIFF format. Basically those are 30-meters resolution satellite images with pixel values ranging from 0 ...
0
votes
0answers
41 views

Converting/clipping KML to shapefile in QGIS without truncating field information (data)?

While I am clipping KML file by using polygon shapefile in QGIS, filed information (data) are truncating .Anybody can suggest a solution for this one.The same data losing issue occurring, at the time ...
0
votes
1answer
74 views

Issue clipping vector file with QGIS (geoprocessing tools)

I am trying to clip wind speed data (.shp format) to Canada's provincial boundaries (also .shp format). I am using the clip feature in vector > geoprocessing tools. For some reason the function always ...