Opened 12 years ago

Closed 11 years ago

#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@…
CPU: Unspecified Platform: 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.

Attachments (1)

Computational_Region.png (42.7 KB) - added by epatton 12 years ago.
The computational regiion extents do not crop to the data limits

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by epatton

Attachment: Computational_Region.png added

The computational regiion extents do not crop to the data limits

comment:1 Changed 11 years ago by martinl

Component: PythonwxGUI

comment:2 Changed 11 years ago by martinl

Cc: grass-dev@… added
CPU: Unspecified
Owner: changed from grass-dev@… to martinl
Platform: Unspecified
Status: newassigned

I have added new items to the popup menu (for raster layers):

  • Zoom to selected map (ignore NULLs)
  • Set computational region from selected map (ignore NULLs)

r31984 and r31985

Martin

comment:3 Changed 11 years ago by martinl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.