I'm new to QGIS and stuck. I have a shapefile of 1 ft contours for an area. I want to load it into mapbox so I can turn it into a layer for Gaia GPS, but the shapefile is too big for mapbox and it gives an error. I was told I could use QGIS to cut out a smaller piece from the contour map but I can't figure out how to do that. I can load the contour map and see all the contours, but can't figure out how to select a portion of it and save to a new shapefile.
Asked
Active
Viewed 50 times
0
Run QGIS Desktop.
I then found Vector->GeoprocessingTools->Clip, but first I needed to create a new layer
– Toby Stensland Feb 16 '19 at 02:11Run QGIS Desktop.
Find the source shp file in the Browser pane and double-click. It will open as the 1st layer in new project.
Layer->CreateNewLayer->NewShapefileLayer. File name needs to include full path. GeometryType=Polygon. CRS set to same as source shapefile which is EPSG:6428 in my case. Click "OK".
In Layers pane, right-click on new layer and click "Toggle Editing".
With new layer selected do Edit->AddPolygonFeature. Left-click on map to create corners of your rectangle. Right-click when done. Click "OK" in the little window that pops up and you should see your rectangle.
Go to Vector->GeoprocessingTools->Clip. Pick your source shapefile as InputLayer. Pick the new rectangle layer as OverlayLayer. Click "Run" and close the Clip window when it is done.
In Layers pane, select the new Clipped layer and then do Layer->SaveAs. Format=ESRI Shapefile. Choose a file name and it needs full path. Click "OK".