<HTML>
<HEAD>
<TITLE>d.extend won't work with vectors</TITLE>
</HEAD>
<BODY>
<FONT FACE="Skia, Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>I was looking at adding a button to the GIS Manager that would use d.extend to let people zoom to the maximum extent of all displayed maps. I tested it to make sure it worked as described and discovered that it works fine with rasters. However, with the new GRASS 6 vector format, d.extend will either generate an error or produce a region with an extent of 0 in one dimension (E-W so far)<BR>
<BR>
Error example. I used the Spearfish data set. If I extract and display a subset of archsites (cat 2-6), then run d.extend, I get this error.<BR>
<BR>
GRASS 6.1.cvs (spearfish57):~ &gt; d.extend<BR>
ERROR: &lt;nsres=0.000000&gt; ** invalid input **<BR>
<BR>
The region either won&#8217;t change to match the map extents or it will go to 0 in one dimension. I can&#8217;t consistently reproduce the error of actually setting the region to 0, but it has happened several times.<BR>
<BR>
I guess I won&#8217;t add that button yet, but perhaps someone could look into this.<BR>
<BR>
Thanks<BR>
Michael<BR>
<BR>
____________________<BR>
C. Michael Barton, Professor of Anthropology<BR>
School of Human Evolution and Social Change<BR>
PO Box 872402<BR>
Arizona State University<BR>
Tempe, AZ &nbsp;85287-2402<BR>
USA<BR>
<BR>
Phone: 480-965-6262<BR>
Fax: 480-965-7671<BR>
www: &lt;www.public.asu.edu/~cmbarton&gt;<BR>
</SPAN></FONT>
</BODY>
</HTML>