<HTML>
<HEAD>
<TITLE>Need to update g.setproj</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>G.setproj is a critical GRASS module because it is the primary way to create new locations that GRASS must have to run. <BR>
<BR>
However, because it requires an interactive x-terminal, g.setproj will not work with the native winGRASS. It will not work with a non-x11 aqua Mac GRASS. Nor will it work with the wxPython interface under development. <BR>
<BR>
This was brought home in a recent GRASS workshop for graduate students here when no one using Windows could create a new location in the normal way. Using EPSG codes also currently bombs under winGRASS, presumably because somewhere it needs an xterm. <BR>
<BR>
So we REALLY need a non-interactive version of g.setproj. You should be able to put in the same parameters that you do in the interactive version: datum, datum transform option (if any), extents, and resolution. This should be pretty easy to do (I say as a someone who doesn&#8217;t know C). Because the datum and datum transform come from text files in $GISBASE/etc, it should be pretty easy to make a GUI scrollable list from these files. The extents and resolution are typed in by the user.<BR>
<BR>
Is there anyone who can make g.setproj accessible as a command-line module without needing an interactive xterm? I can make up a quick TclTk GUI to go with it.<BR>
<BR>
Thanks<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>