[GRASS-user] maximum zoom-in reached

Maris Nartiss maris.gis at gmail.com
Sat Nov 29 11:21:48 EST 2008


In such case gis.m will emit just an warning and not change region.
Feel free to change message:
https://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/gui/tcltk/gis.m/mapcanvas.tcl#L526

Maris.


2008/11/29, Markus Neteler <neteler at osgeo.org>:
> On Sat, Nov 29, 2008 at 4:04 PM, Maris Nartiss <maris.gis at gmail.com> wrote:
>> gis.m gives "Maximum zoom-in reached" error when display width/height
>> is smaller than one column/row. If You have data with higher
>> resolution, You have to adjust Your region settings (increase
>> resolution). See g.region how to set resolution.
>
> in d.zoom is some related magic:
> display/d.zoom/set.c
>
> ...
>             fprintf(stderr, "\nResolution is too low for selected
> region.\n");
>             fprintf(stderr, "Buttons:\n");
>             fprintf(stderr,
>                     "Left:   Increase resolution to n-s = %g e-w = %g\n",
> nsr,
>                     ewr);
>             fprintf(stderr, "Middle: Cancel (keep previous region)\n");
>             fprintf(stderr, "Right:  Cancel (keep previous region)\n");
> ...
>
> Maybe something similar is missing in gis.m?
>
> Markus
>


More information about the grass-user mailing list