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 <[EMAIL PROTECTED]>: > On Sat, Nov 29, 2008 at 4:04 PM, Maris Nartiss <[EMAIL PROTECTED]> 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 > _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
