VERIFIED SOLUTION i
X

How to cut a hole in a grid/raster using the Vertical Mapper Trimmer tool.

UPDATED: September 21, 2017


A region object or polygon be used to remove a portion of a grid (raster) leaving a "hole" in the grid created by the shape of the polygon.

For this example, a Blue polygon will be used to represent a "Lake" that will be used to remove a portion of Grid/raster underneath the polygon.

User-added image
 
Make the Cosmetic Layer editable
User-added image

Now use the polygon tool to draw a polygon that will encompass or “capture” the entire bounds of the Grid/Raster file.  Notice, the example shows the polygon being drawn well outside the edges of the Grid file.

User-added image
User-added image

Now use Map>save cosmetic Objects.
Save it as a “New” layer and give it a name and save to a folder.
For this example, it is called:  PolygonCoveringWholeGrid
 
Next, Reorder the new polygon table so the Lake table is above this new, larger polygon table and make the new table editable as shown below.
User-added image

Here are the reordered files:
User-added image

Next, Select the Red “coverage” polygon in this example and make sure the layer is editable.
 
Go to Objects>set Target.
Then select the Blue “Lake” polygon.
 User-added image

Now go to objects>Erase to create a “hole” in the Red polygon that covers the whole extents of the Grid/raster.  Click OK at the next dialog.

User-added image
User-added image 

Now, you can uncheck the visibility for the “lake” layer.
User-added image

Notice, we can now see the original grid layer through the “hole”.
Now, select the Red “coverage” area polygon and use the Vertical Mapper tools in the Vertical Mapper Grid Manager and click on the tools button>trimmer
User-added image
 
When prompted, give the file a name and save to a folder of your choice.
 
Notice, we now have a new grid with the “lake” section cut out.
User-added image

Environment Details

Product affected: Vertical Mapper™

Downloads

  • No Downloads