Improved r.mask in GRASS GIS 7.0

I am mostly using GRASS GIS 7.0, which is the development version. Main reason I started to use this version was the better (faster) vector handling. But there are many other new features and improvements.

And the developers keep on adding small and big improvements all the time. Sometimes planned, sometimes as response to an user-request. See here for an example of the latter. Another example where an user request leads to a very welcome enhancement of an existing function is to r.mask.

The function r.mask creates a MASK for limiting raster operation. In the old version, it only accepted raster layers as input, but now it also accepts vector layers as input. See the example below.

A map of the annual mean temperature in eastern Africa
Figure 1. A map of the annual mean temperature in eastern Africa
r.mask [raster, mask]_003
Figure 2. The new r.mask interface, with the new option to use vector layers as input. In this example, I use a vector layer of the countries of eastern Africa as input, using the query function to limit the mask to Kenya.
GRASS GIS Map Display: 1  - Location: AEA_004
Figure 3. The same map as in figure 1, but after applying the mask as shown in figure 2.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s