Using the Clip Tool - MapInfo_Pro_Advanced - 2023

MapInfo Pro Advanced Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro Advanced
Title
MapInfo Pro Advanced Help
First publish date
2016
Last updated
2023-09-20
Published on
2023-09-20T15:00:50.875000
There are four ways of clipping out a part of an image or raster grid in MapInfo Pro Advanced.
  • Clip using a rectangular shape according to the extents defined.
  • Clip the raster to the shape of a single or multiple input polygons.
  • Clip by specifying an extent depending on the viewable area on the map.
  • Clip a raster using another raster as the clip mask. The map extent of the overlapping raster defines the clip region.

You can either clip a raster within or outside the clip extent.

To clip a raster:

  1. On the RASTER tab, in the Operations group, click Raster Operations and then click Clip to open the Clip dialog box.
  2. Select a file from the Input File drop-down list or browse to a location in your computer to open the file. If the file you have opened has multifield-multiband, the Select Fields, Bands appears.
  3. Select a specific field from the Select Fields, Bands drop-down list, you can then choose the desired bands from that field.

    You can select multiple bands from any field, however, you can not select bands from different fields, because only one field can be selected at a time. Click the radio button against the field or check-box against the band that you want to select. By default All Fields All Bands option is selected for you.

  4. Select the clipping action from the Action drop-down list.
    • If you select Retain Inside Region, the imagery inside the extent will be retained.
    • If you select Retain Outside Region, the imagery outside the extent will be retained.
  5. Select the clip region.
    If you select Then
    Rectangle In the Clip Region section, type X and Y coordinates of the rectangle to be clipped in the following fields:
    • Min X
    • Min Y
    • Max X
    • Max Y
    You can also draw a rectangle on the raster in the map window. Then select the rectangle object on the map and click on any filed under Rectangular Region. The fields get populated with the bounds of the selected object on the map.
    Region(Polygon) If you want to clip a region by drawing other types of polygons such as an ellipse or circle on the map, use Region (Polygon). Select the TAB file containing the polygon objects from a location in your computer. If you already have a TAB file of regions opened in a map window, the file will get listed in the Polygon drop-down list.
    Map Extent The bounds of the map extent will be populated in the X and Y coordinate fields. In the Clip Region section, you can also modify the map extent coordinates of the raster to be clipped in the following fields:
    • Min X
    • Min Y
    • Max X
    • Max Y
    Raster to Raster In this clip method, you clip a raster using another raster as the clip mask. The map extent of the overlapping raster defines the clip region. You need to specify the second raster and its field/band as the clip mask.
  6. In the Output File box, enter a name for your output file. Click to browse and select the location in your computer to save the output file.
    1. Click Output Settings to specify the following. The output settings can be controlled by the values set in the Raster Preferences, however, you can overwrite those settings before executing the operation.
      • Display Output File - Select the check-box, if you want to open the output file in the Map window on completion of the operation. You can configure to make this the default behavior from the Raster Preferences dialog.
      • Compression Settings - If the file format to be saved is an MRR or TIFF, the compression settings options will appear. You can choose one from Data Balanced, Data Speed, Data Space or Advanced options as required.
      • Compression - Select a compression method and level. For more information, see Compression methods.
      • Encoding Type - Select a suitable Encoding Type for the data from the list. This drop-down list lets you select the default Encoding Type when saving a raster to MRR format. It enables you to compress the data when saving a raster to MRR format. Encoding Type is enabled only when the raster field type is Continuous and the compression method is lossless such as ZIP, LZMA or LZ4. The drop-down list contains the following:
        • None - No encoding.
        • Previous Column Linear - Linear estimation of the value from previous two columns.
        • Previous Column Value - Predicts the value from previous column.
  7. Select the Display check-box to display the clipped raster in the map window.
  8. Click Process to start clipping the input raster dataset based on your selected extent and clip shape.