Grass 6.3.0 on Ubuntu, give me "maximum zoom-in reached", when I tried
to zoom in to city level of data of shapefile of Indian highways
(taken from openstreetmap).
Is there any limit to zoom-in for vector files. If yes, how to reset it?
On Sat, Nov 29, 2008 at 3:42 PM, H. S. Rai <hardeep.rai@gmail.com> wrote:
Grass 6.3.0 on Ubuntu, give me "maximum zoom-in reached", when I tried
to zoom in to city level of data of shapefile of Indian highways
(taken from openstreetmap).
Is there any limit to zoom-in for vector files. If yes, how to reset it?
Please check the region's raster resolution settings, it could be
related in terms of zooming.
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.
Maris.
2008/11/29, H. S. Rai <hardeep.rai@gmail.com>:
Grass 6.3.0 on Ubuntu, give me "maximum zoom-in reached", when I tried
to zoom in to city level of data of shapefile of Indian highways
(taken from openstreetmap).
Is there any limit to zoom-in for vector files. If yes, how to reset it?
On Sat, Nov 29, 2008 at 4:04 PM, Maris Nartiss <maris.gis@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");
...
On Sat, Nov 29, 2008 at 4:04 PM, Maris Nartiss <maris.gis@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");
...
On Sat, Nov 29, 2008 at 8:34 PM, Maris Nartiss <maris.gis@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.
Thanks to all for prompt and appropriate responses. Default region was
with resolution 1. I anticipated this and changed to .0001, but may be
I was not able to do it properly, and was not able to get zoom in.
Then I existing GRASS, restarted, and it worked fine.
It is not advisable to stay in a region of that size for very long, and
definitely don't try any raster ops. Note that most vector modules don't
care about the region settings, but d.zoom and friends must consider it.
While there is no set max (depends on how huge your hardware is) for me
25000x25000 is near the upper usable limit for raster maps on my P4.