You are here: Image Manipulation > The Image Crop Tool > Cropping by Shapefile

Cropping by Shapefile

GeoExpress allows you to crop images using a shapefile with one or more polygons. If the shapefile contains more than one polygon, you must select the polygons that you want to use to crop the image.

  1. Select an image or mosaic in the Job List.
  2. Click the Image Crop button on the toolbar.
  3. In the Crop Method panel, select the Shapefile option.
  4. Click Browse to select the shapefile that you want to use.
  5. A list of the polygons in the shapefile appear in the table. By default, if the polygons have a name property, the names are displayed as the label in the table.

  6. Optionally, use the Label drop-down to select the shapefile property that you want to display in the table as the label.
  7. For example, you might select a property named Voting District to know which polygons you want to select.

  8. Select the polygons that you want to use for cropping in the table.
  9. Alternatively, use the Select Features button to select polygons in the preview pane. For both the table and the preview pane, you can press the Control key to select multiple polygons. Additionally, when you use the select feature tool, you can right-click on a polygon in the preview pane to display its properties in a table.

  10. If you selected multiple polygons, select whether you want to join the cropped regions for each polygon into a single output image, or you want to create a separate output image for each polygon crop region.
  11. Select Crop to exact bounds to output only the area within the selected polygon(s). Deselect this option to output everything within the rectangle that encloses the selected polygon(s).
  12. If you select Separate output for each polygon, this setting affects each output file separately.

  13. Optionally, click Show Image to preview the crop area or areas on the source image.

NOTE: Cropping by shapefile is not supported when the output format is JPEG 2000 and the input image has multiple bands.