Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
4  
in what software and version? – Stev_k Sep 11 '12 at 13:00
1  
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

4 Answers

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.

http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=Clip%20(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

Source:

http://resources.arcgis.com/en/help/main/10.1/index.html#//00080000000p000000

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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