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 <<a href="mailto:bnagesh@nio.org">bnagesh@nio.org</a>>:</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 can be edited to create location<br>and mapset, automatically everytime u start a GRASS session for the
<br>first 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>>On Tue, 4 Apr 2006 11:32:31 +0100<br>>"Ana Soares" <<a href="mailto:tiobrothercamarada@gmail.com">tiobrothercamarada@gmail.com</a>
> wrote:<br>><br>><br>><br>>>Hello :)<br>>><br>>>Is there any way to set up a new grass location (with all those<br>>>fields : coordinate system, etc) without using the terminal ?<br>>>
<br>>><br>><br>>For 6.x, using EPSG codes if Grass is started GUI mode.<br>><br>>Another option is to setup a quick'n'dirty XY location and use g.proj<br>>to modify the projection, eg. by PROJ.4 syntax or a file with WKT
<br>>projection definition (RTM for details).<br>><br>><br>><br>>>I mean, is there (and if there is, what is it) any structure where<br>>>grass keeps this info so that I can enter it ? I know it uses
<br>>>environment variables, but I don't know<br>>>what to do for the fields like coordinate system, datum, etc<br>>><br>>><br>><br>>Grass depends on PROJ.4 for projections handling.<br>><br>
>Read cs2cs man to learn how to get the names it uses.<br>><br>>Check epsg and esri files in the directory where your PROJ.4 is<br>>installed for some complete cordinate systems strings.<br>><br>>Proj.4 naming is 90% compatible with Grass, but:
<br>><br>>PROJ.4 Grass<br>>latlong ll<br>>krass krassovsky<br>><br>><br>>Propably more like these, but only these I know.<br>><br>><br>>Also,
PROJ.4 needs uppercase ellipsoids names, while Grass tolerates<br>>both lower and uppercase.<br>><br>>Then check projections, ellipse.table and datum.table in the<br>>dir where_your_grass_lives/etc/. Seems they are not complete, but will
<br>>give you some further insight.<br>><br>>It's all a bit mess but that's the way it is for now, due to legacy<br>>reasons.<br>><br>>Maciek<br>><br>>--------------------<br>>W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
<br>><a href="http://katalog.panoramainternetu.pl/">http://katalog.panoramainternetu.pl/</a><br>><br>><br>><br>><br>><br><br></blockquote></div><br>