Hi!<br>
<br>
Thanks very much for the suggestion!<br>
I ended up doing that yesterday!<br>
But thank you so much!<br><br><div><span class="gmail_quote">2006/4/6, Nagesh Bhatkar &lt;<a href="mailto:bnagesh@nio.org">bnagesh@nio.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>I just thought of sharing this with you.<br><br>In the ~/grass-6.0.1/lib/init directory(prior to compilation of GRASS),<br>the programs mke_loc.c , set_data.c&nbsp;&nbsp;can be edited&nbsp;&nbsp;to create location<br>and mapset, automatically everytime u start a GRASS session&nbsp;&nbsp;for the
<br>first&nbsp;&nbsp;time and to avoid inputting the values at the command prompt<br>to set the geographic region. One can set the all the values internally.<br>Also the PROJ_INFO and PROJ_UNITS files can be<br>created within the programs. Later using 
g.setproj the proj info could<br>be changed.<br>I did the above procedure because i wanted GRASS to start with the<br>geographic region being set since we all use the same coordinate<br>system(lat/lon) and ellipsoid WGS84.
<br><br><br><br><br>Nagesh<br><br><br><br>Maciek Sieczka wrote:<br><br>&gt;On Tue, 4 Apr 2006 11:32:31 +0100<br>&gt;&quot;Ana Soares&quot; &lt;<a href="mailto:tiobrothercamarada@gmail.com">tiobrothercamarada@gmail.com</a>
&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt;Hello :)<br>&gt;&gt;<br>&gt;&gt;Is there any way to set up a new grass location (with all those<br>&gt;&gt;fields : coordinate system, etc) without using the terminal ?<br>&gt;&gt;
<br>&gt;&gt;<br>&gt;<br>&gt;For 6.x, using EPSG codes if Grass is started GUI mode.<br>&gt;<br>&gt;Another option is to setup a quick'n'dirty XY location and use g.proj<br>&gt;to modify the projection, eg. by PROJ.4 syntax or a file with WKT
<br>&gt;projection definition (RTM for details).<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt;I mean, is there (and if there is, what is it) any structure where<br>&gt;&gt;grass keeps this info so that I can enter it ? I know it uses
<br>&gt;&gt;environment variables, but I don't know<br>&gt;&gt;what to do for the fields like coordinate system, datum, etc<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;Grass depends on PROJ.4 for projections handling.<br>&gt;<br>
&gt;Read cs2cs man to learn how to get the names it uses.<br>&gt;<br>&gt;Check epsg and esri files in the directory where your PROJ.4 is<br>&gt;installed for some complete cordinate systems strings.<br>&gt;<br>&gt;Proj.4 naming is 90% compatible with Grass, but:
<br>&gt;<br>&gt;PROJ.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grass<br>&gt;latlong&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ll<br>&gt;krass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;krassovsky<br>&gt;<br>&gt;<br>&gt;Propably more like these, but only these I know.<br>&gt;<br>&gt;<br>&gt;Also, 
PROJ.4 needs uppercase ellipsoids names, while Grass tolerates<br>&gt;both lower and uppercase.<br>&gt;<br>&gt;Then check projections, ellipse.table and datum.table in the<br>&gt;dir where_your_grass_lives/etc/. Seems they are not complete, but will
<br>&gt;give you some further insight.<br>&gt;<br>&gt;It's all a bit mess but that's the way it is for now, due to legacy<br>&gt;reasons.<br>&gt;<br>&gt;Maciek<br>&gt;<br>&gt;--------------------<br>&gt;W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
<br>&gt;<a href="http://katalog.panoramainternetu.pl/">http://katalog.panoramainternetu.pl/</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br></blockquote></div><br>