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

learn more… | top users | synonyms

3
votes
1answer
657 views

How to Get the Three Nearest Points to an Object (different layer)?

I have two point shapefiles and I want for each point in the 1st shapefile to get the 3 closest (based on air distance) points from the 2nd shapefile. If possible, it would be great to have each of ...
0
votes
4answers
329 views

How can I clip a shapefile?

I have a SHP that includes the entire county and want to downsize it to a specific area...how??
3
votes
1answer
163 views

shapefile batch clip and merge combined

I have two shapefiles, one is polyline, the other polygon. For each polygon I would like to clip the polyline vectors inside. Using arcpy I already found part of a possible solution: ...
2
votes
1answer
565 views

Output of QGIS raster clipper not as expected?

My goal is to clip a raster with a polygon in QGIS 1.8. Based on an article I read, this should be a pretty straightforward task. However, the output appears to be empty. The raster produced is the ...
2
votes
1answer
291 views

ModelBuilder: Multiple Iterators and Clipping

I have two separate polygon layers. One layer consists of voronoi polygons. The second layer consists of buffers, many of which overlap. I need to do is iterate through each voronoi, clip only the ...
4
votes
3answers
378 views

How to subset X number of features from Shape file in QGIS

I'm looking for a means to take a rather large Shape file and split it out into separate, smaller shapefiles based on number of features. So for example, if I have a file with 1 million features, ...
6
votes
2answers
2k views

Clip Spatial object to bounding box in R

Given a Spatial object in R, how do I clip all of its elements to lie within a bounding box? There are two things I'd like to do (ideally I'd know how to do both, but either is an acceptable solution ...
3
votes
1answer
690 views

How Can I Clip a Basemap with an ascii file?

I'm new here but with many doubts.I work with ArcGIS 10 and I add a basemap layer from the ArcGIS online but I just want the continent coverage to my map,and the area that I wanted I have an ascii ...
3
votes
2answers
298 views

How to clip from a point layer using postgis?

I've loaded a LIDAR xyz file into a PostGIS2.0 database and created a 3D point geometry column ("tblCLOUD") from the data. I've also loaded into the database a shapefile that contains six ...
3
votes
2answers
278 views

Determine density or cover from a raster layer that has been clipped by a polygon

I am a very new GIS user using ArcMap 10. I have a raster layer of tree canopy that I have clipped so that the layer is in a polygon that is a circle with a 2km radius. I have done this for four ...
1
vote
0answers
226 views

Clipping .mdb in place and schema locks

I have an .mdb with a feature class that I want to clip in place - that is, I want to clip it with another polygon, and then store the results back in the original .mdb. I am doing this with arcpy. My ...
2
votes
1answer
2k views

Using clip tool in qgis - contours to exact map area

I am using QGIS. I am trying to clip contours and water vector layers to the exact size of my map (polygon layer). Sometimes it works; sometimes the program crashes before completion (at the same ...
4
votes
2answers
1k views

How to get an extent for Raster using python

I have to get an extent of a given raster so that I can save it and use the same to clip another raster with that extracted extent. As of now I am stuck in the extent part. import arcpy from arcpy ...
2
votes
1answer
117 views

From Raster to Masked and Filtered Polygon Vector

I have a set of rasters (geologic risk) from which I want to extract zones with a specific color, clipping them with a polygon (administrative borders), outputting a shapefile. I'm using QGis (and ...
2
votes
1answer
314 views

How to clip data when using data driven pages in ArcMap 10?

I am working on a map book using data driven pages of the Silvies Valley in Northeastern Oregon. The basemap is a high resolution aerial image (raster) of Oregon with a shapefile overlay of USGS ...
2
votes
1answer
267 views

QGIS & GeoTIFF clipping Error “-srcwin 5897 137 0 0 falls outside raster size of 11083x4158 or is otherwise illegal.”

I'm trying to clip a GeoTIFF file and unfortunately I'm getting the following Error "-srcwin 5897 137 0 0 falls outside raster size of 11083x4158 or is otherwise illegal." From another post ...
1
vote
2answers
461 views

How to surround a clipped raster with transparency? (gdalwarp)

I am trying to perform the following task, but it does not seem to work: I have got a raster file (raster.tif) containing an aerial photo, which I want to clip using a Shape file (clip.shp) that ...
1
vote
1answer
189 views

Clipping Rasters with a mask layer error

I've got a NDVI layer that I'm trying to clip with a vector file but when I try and use GDAL Tools clipper I get an error. That shows up like this: What am I doing wrong? This is before I even pick ...
3
votes
2answers
1k views

How to clip polygons with a fishnet layer?

I have a layer with multiple polygons (input) and a fishnet layer in polygon (clip layer). I want to clip the multiple polygons with the fishnet to be able to calculate how big portion of the input ...
5
votes
1answer
2k views

How do I correctly use 'MultiValue' in Python script parameters?

My script works fine with a single feature class selected for clip_fc = arcpy.GetParameter(0) . However when I set clip_fc to MultiValue in the script properties and then select several feature ...
3
votes
2answers
1k views

Is there a way to get at C's OGRLayer.Intersection() or OGRLayer.Clip() in Python?

I am working with OGR in Python and noticed that the C libraries have useful Intersection() and Clip() functions as part of the Layer class. Is there any way to get at these functions in Python? I ...
5
votes
2answers
1k views

How to interpolate while providing clipping geometry? (ArcGIS 10)

Is there a way to interpolate (IDW) while providing clipping geometry? My objective is that I want to interpolate temperature data but I do not want it to interpolate the entire extent of the point ...
3
votes
5answers
10k views

How to cut one ESRI Shapefile with another ESRI Shapefile? [closed]

I have one ESRI Shapefile as a map with many objects in it. I have another ESRI Shapefile only with borders in it. This shapefile is bigger in size (covering a bigger area) with many border lines. ...
8
votes
6answers
5k views

Rasterfile clipping error: Cannot compute bounding box of cutline

I have a raster file and want to clip it, a vector file is supposed to be the mask layer. I use the most obvious method (Raster->Extraction->Clipper). No matter what I do, I get this error (see pic): ...
2
votes
1answer
181 views

How can I estimate kernel density, taking barriers (i.e. a priori zero-probability regions) into account?

How can I estimate kernel density, taking barriers (i.e. a priori zero-probability regions) into account? At the moment, regions where the population cannot occur are clipped out for display. ...
2
votes
0answers
507 views

Output raster extents when using the Spatial Analyst Extract By Mask tool to clip a raster

I am using ArcGIS 9.2 and I have a simple python script that does the following : Loop over a polygon feature class (shown in red in the image below) For each record, create a feature layer to ...
2
votes
1answer
90 views

Clipping from a given point

I am working with model-builder and I am trying to clip an area around a certain point. Is there a tool that I can use in which I can assign it a certain distance from the point. For instance, if I ...
3
votes
2answers
1k views

Image does not display after clipping raster

I am using ArcGIS 10. I am trying to clip an NLCD layer from a vector polygon. I have used the Clip Raster tool in Data Management and Extract by Mask tool in Spatial Analyst among other things. My ...
1
vote
1answer
355 views

How to clip by inidividual polygon shapes rather than by an aggregated shape consisting of all polygons in the shapefile.

I have a shapefile with overlapping polygons - network buffers around people's homes. I am trying to clip features such as tree canopy polygons and street polylines so that I can join the set of ...
3
votes
1answer
3k views

How do I clip/mask a satellite photo to a polygon?

Given a shapefile composed of contiguous polygons, I'd like to clip (or mask) regions of satellite photo to the polygon outlines, and export each resulting raster in medium resolution for further ...
3
votes
2answers
2k views

ArcGIS 10: How to clip point buffer to features in another layer?

I'm on a steep learnig curve here, so aplogies if my question is a one-banana problem. In ArcGIS 10 I have a contour layer that was generated from an ESR ASCII raster file (batyhmetry of the South ...
0
votes
1answer
632 views

Testing if shapefiles intersect from a list using intersect: ArcGIS

I am new to programming and scripting in general, so please bear with me. I have generated a list of the location of all the shapefiles for my workplace. The files are all placed in folders, no ...
2
votes
1answer
3k views

clip polygon with the extents of contour polylines

I have a polygon shape that represents the boundary of Fennoscandinavia and a polyline shapefile representing two contour intervals for a trait. I would like to create a new polygon representing the ...
5
votes
2answers
3k views

ArcGIS 10 Python script to search directories and subdirectories for intersects and clip them

I'm trying to develop a tool that queries our company's data stores for any data that intersects a feature. So when we acquire a new property we can run this tool and it will find all of the data we ...
4
votes
3answers
1k views

How to Clip a Vector File based on certain Raster Values?

I need to clip a vector file based on certain values of a raster (Slope > 2%). I can´t find a direct way to do it. Trying to vectorize the raster first didn´t work. Is there any tool (ArcGIS or ...
3
votes
1answer
325 views

ArcGIS Server 10 GP Service Cannot Download Result?

I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me ...
4
votes
5answers
8k views

Cutting features to do opposite of clipping in ArcGIS Desktop?

What´s the easiest/smartest way of getting the opposite output of the clipping tool? I just need the area of feature A1 which is not covered by feature A2 in a new Layer/File. Now, I get the result ...
1
vote
2answers
710 views

spatialFilter.SpatialRel = esriSpatialRelEnum.esriSpatialRelWithin; not working

I have a task of getting the total area of all the polygon features within a boundary. So I got the envelope of the boundary and did a spatial query to get the features inside that element but my ...
5
votes
2answers
5k views

How to clip a vector feature to the extent of an existing raster dataset using arcpy

I have a clipped raster dataset with polylines (from the contour tool) overlayed (see attached). I am trying to clip the polylines to the extent of the raster dataset, which seems simple enough, but ...
2
votes
1answer
555 views

How to switch to a GDB created in the middle of a script

EDIT: Here's my full script and hopefully a better way of explaining what I need done: #Import import arcpy, sys, os # Set environment settings arcpy.env.workspace = sys.argv[1] inFiles = ...
0
votes
1answer
178 views

Progress bar percentage is increasing and decreasing, never finishing

I am trying to clip a raster by shapefile perimeter using the Clip tool. The percentage has been jumping between 0% and 100% for over an hour, back and forth, climbing to 100% then dropping down to ...
8
votes
5answers
2k views

How to get an ocean shapefile from a very detailed land area shapefile?

I am looking for a possibility to "invert" a shapefile. What I want to do is to convert a shapefile with the continents and islands into a shapefile that has water polygons. The existing ocean ...
2
votes
2answers
892 views

GDAL Clipping (hack)

I am trying to use the python script from http://www.sparkgeo.com/labs/2010/07/07/gdal-clipping-hack/ to clip a raster based on many shapefiles. The script is using a mysql database an i would like to ...
4
votes
1answer
1k views

Why does QGIS's Clipper tell me “Computed -srcwin falls outside raster size” and how do I address it?

I'm trying to clip a heightmap to a small area that I'm interested in. When I attempt to use Raster > Extraction > Clipper I get an error dialog with the message ""Computed -srcwin falls outside ...
9
votes
4answers
4k views

How to Batch Clip in ArcGIS Desktop 10 using Python/ArcPy?

I've come across a few similar questions for older versions of ArcGIS, but haven't found a suitable answer for ArcGIS 10. I have two polygon shapefiles that cover a large area (e.g. an entire ...
3
votes
1answer
847 views

clip linestring by length

Is there a way to clip a linestring based on distance? For example, linestring from a to b is 150 meters. I would like to get the linestring from a to a point that is is 75 meters away from a ...
3
votes
2answers
1k views

How to fix for the GDAL clipper tool in QGIS?

I would like to clip a DEM with an admin boundary using qgis, in order to calculate a measure of variation. However, when I use the Raster clipper tools and select mask, I get the error message: "An ...
1
vote
0answers
122 views

ArcGIS, clip issue when using a PGDB

When I clip PolylineMZ feature class inside a Personal Geodatabase it gives odd results for vertices. Vertices are horizontally shifted and do not corespond with original. When I do this in .shp, ...