MapInfo Pro

Expand all | Collapse all

MapInfo Monday: Transparent Clip Limits

  • 1.  MapInfo Monday: Transparent Clip Limits

    Posted 03-15-2021 09:17

    Happy #MapInfoMonday,

    Today we will look at how you can use the Clip Limits to hide grid cells within a certain interval of values in your raster grid.

    This can be useful if you are looking for areas with certain value​s or if you want to get a closer look at the changes in values in a smaller area without clipping out that area into a new raster grid file.

    The Clip Limits option is available in the Color panel.

    The Advanced Color Panel

    You can access the Color panel from a number of places in MapInfo Pro. You can find it on the Style tab for at selected layer and on the Raster tab. Below you can see where to find it on the Raster tab. Click on Advanced Color to open the panel.

    When you activate it, the Color panel will typically appear docked on the right side. Before changing any of the settings in the panel, make sure that the correct raster file is selected at the top of the panel.

    Transparent Clip Limits

    To use transparent clip limits, you first need to check the two options: Apply Clip Limits and Transparent Clip Limits.

    Once you have activated this, you can set the clip limits in the Histogram below in two ways.

    You can drag the purple vertical lines into the Histogram and in this way set the lower and upper clip limits that you want to apply to the raster grid.

    Alternatively, you can specify the exact limits using the fields Min. Limit and Max. Limit under the Histogram.
    As you change the clip limits, the map will get updated to reflect these and only show the grid cells that are within the specified interval.

    One thing to note is that this of course also works as you zoom into the map. Another important thing is that the colors in the Color Table will get spread through this smaller value interval. This can make it possible to see smaller changes in the values.

    I hope you found this useful. Let me know if you have any specific requests around working with raster grids that I can cover in the #MapInfoMonday articles.​

    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data

  • 2.  RE: MapInfo Monday: Transparent Clip Limits

    Posted 03-18-2021 08:20
    Hi Peter
    Can you introduce a second range?
    For example the higher elevations as well as the lower elevations - in your example.

    John Ievers
    CDR Group
    Hope Valley, United Kingdom

  • 3.  RE: MapInfo Monday: Transparent Clip Limits

    Posted 03-19-2021 02:21
    Hi John

    I can't see how you could do this with the Color panel. It only allows one interval, unfortunately.

    But you could use the Raster Calculator to create a new raster where all the values below the lower and above the higher values are kept. The values in between are set to NULL.

    In the resulting raster, the values between will be transparent by default.

    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data