[GRASS-user] maximum zoom-in reached

Markus Neteler neteler at osgeo.org
Sat Nov 29 10:57:28 EST 2008


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