Ticket #157 (closed enhancement: fixed)
Wxgrass: Set computational region to the minimum necessary to enclose map data extent
| Reported by: | epatton | Owned by: | martinl |
|---|---|---|---|
| Priority: | minor | Milestone: | 6.4.0 |
| Component: | wxGUI | Version: | svn-trunk |
| Keywords: | map display, region, zoom | Cc: | grass-dev@… |
| Platform: | Unspecified | CPU: | Unspecified |
Description
As far as I'm aware, this functionality doesn't yet exist in wxgrass: Set the computational region to that of the smallest possible box which will completely enclose all non-null cells in the selected raster map.
The reason for this request is that sometimes setting the computational region to that of a selected raster doesn't crop the region bounds to the edges of raster cells; it seems to depend on the display window geometry. See the attached screenshot - the computational region has been set to the shown raster, but the region bounds seem to conform to the display window bounds rather than the edge to existing data.

