Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. The border lines form many mosaic pieces (tiles).

How can I cut a part out of the map shapefile with the border shapefile as one mosaic piece?

Where is the answer described in the Manual (en or dt) or in the answer to another question?

share|improve this question

closed as too broad by PolyGeo, Paul, Curlew, Fezter, Simbamangu Nov 17 '13 at 12:58

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

in what software and version? – Stev_k Sep 11 '12 at 13:00
I Don't think I really understood your question. But I believe you need or a Clip or an intersection. – Alexandre Neto Sep 11 '12 at 13:23

you can use ogr2ogr if you want:

ogr2ogr -clipsrc polygonforclipping.shp out.shp in.shp

* * *

-clipsrc [xmin ymin xmax ymax]|WKT|datasource|spat_extent: (starting with GDAL 1.7.0) clip geometries to the specified bounding box (expressed in source SRS), WKT geometry (POLYGON or MULTIPOLYGON), from a datasource or to the spatial extent of the -spat option if you use the spat_extent keyword. When specifying a datasource, you will generally want to use it in combination of the -clipsrclayer, -clipsrcwhere or -clipsrcsql options

i hope it helps you...

share|improve this answer

Assuming you're using ArcMap, I think what you want is the Clip tool. With it, you can use the border shape files to "cut" through and divide the other shape file.

share|improve this answer

Assuming that you are using ArcGIS 10 then you can use the Clip Analysis.

QGIS has the same tool as well.

share|improve this answer

Using ArcGIS 10.1

Intersect (Analysis) Desktop » Geoprocessing » Tool reference » Analysis toolbox License Level:Advanced

"Computes a geometric intersection of the input features. Features or portions of features which overlap in all layers and/or feature classes will be written to the output feature class."

enter image description here


share|improve this answer

If you are using ArcInfo 9.0 then you can use the erase function, which is not available in ArcView

share|improve this answer
Welcome to GIS SE! When Answer-ing Question always try to write at least a few sentences to explain why you think your Answer directly answers the Question. – PolyGeo Nov 17 '13 at 2:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.