Hi!!<br>
I have set the Enviroment Variable by eval 'g.gisenv'<br>
<br>
when i make <span style="font-weight: bold;">echo $LOCATION_NAME it gives Map1<br>
<span style="font-weight: bold;"> </span>echo $MAPSET GIVES kunal</span><br>
<span style="font-weight: bold;"><span style="font-weight: bold;">
echo $GISDBASE =/usr/local/grassdata<br>
</span></span>i have following queries<br>
<br>
1.<br>
i have copied the r.example dir into the
/usr/local/grass-6.2.3/raster/ and add the r.example in the Make file
present in this directory...when i make the directory it still giving
the message <br>
ERROR: MAPSET PERMANENT - permission denied<br>
why is it so when i am using kunal as a mapset.<br>
<br>
2.<br>
i want to see the output of r.example which i added ..<br>
i will run make install after make..my grass is also running ..where to go to check the output.<br>
<br>
Please suggest the way to handle the two problems.<br>
Thank<br><br><div><span class="gmail_quote">On 2/27/08, <b class="gmail_sendername">Kunal Malik</b> <<a href="mailto:kunal.malik81@gmail.com">kunal.malik81@gmail.com</a>> wrote:</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 have set the Enviroment Variable by eval 'g.gisenv'<br>
<br>
when i make <span style="font-weight: bold;">echo $LOCATION_NAME it gives Map1<br>
<span style="font-weight: bold;"> </span>echo $MAPSET GIVES kunal</span><br>
<span style="font-weight: bold;"><span style="font-weight: bold;">
echo $GISDBASE =/usr/local/grassdata<br>
</span></span>i have following queries<br>
<br>
1.<br>
i have copied the r.example dir into the
/usr/local/grass-6.2.3/raster/ and add the r.example in the Make file
present in this directory...when i make the directory it still giving
the message <br>
ERROR: MAPSET PERMANENT - permission denied<br>
why is it so when i am using kunal as a mapset.<br>
<br>
2.<br>
i want to see the output of r.example which i added ..<br>
i will run make install after make..my grass is also running ..where to go to check the output.<br>
<br>
Please suggest the way to handle the two problems.<br>
Thanks<div><span class="e" id="q_11859569c5fdf44d_1"><br>
<br>
<br>
<br>
<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br><div><span class="gmail_quote">On 2/27/08, <b class="gmail_sendername">Kunal Malik</b> <<a href="mailto:kunal.malik81@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">kunal.malik81@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Glynn for your support.<div><span><br>
<br><br><div><span class="gmail_quote">On 2/26/08, <b class="gmail_sendername">Glynn Clements</b> <<a href="mailto:glynn@gclements.plus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">glynn@gclements.plus.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Jachym Cepicky wrote:<br> <br> > sorry,<br> > $GRASSDATA should be the directory, where your GRASS data are located<br> > $LOCATION_NAME should be name of the location, you are using for<br> > current GRASS session<br>
<br> <br>FWIW, the name of the GRASS variable for the database directory is<br> GISDBASE.<br> <br> You can make the GRASS variables appear as shell variable with the<br> command:<br> <br> eval `g.gisenv`<br> <br>
After which, you can use the variables like e.g.:<br>
<br> ls -l $GISDBASE/$LOCATION_NAME<br> or:<br> ls -l $GISDBASE/$LOCATION_NAME/$MAPSET<br> etc.<br> <br> As for the error message in the subject: you must own the mapset<br> directory in order to select it as the current mapset. The PERMANENT<br>
mapset will normally be owned by whoever originally created the<br> location.<br> <br> You shouldn't use the PERMANENT mapset as the current mapset for daily<br> use; create a new mapset instead. PERMANENT should be reserved for<br>
important data which should be readily available regardless of the<br> current mapset.<br> <br> Until you get to the point of needing several mapsets in one location,<br> you probably shouldn't have anything in the PERMANENT mapset except<br>
for the standard files (DEFAULT_WIND, PROJ_INFO, PROJ_UNITS).<br> <br><br> --<br> Glynn Clements <<a href="mailto:glynn@gclements.plus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">glynn@gclements.plus.com</a>><br>
</blockquote></div><br><br clear="all"><br></span></div>
-- <br><div><span>Thanks & Regards<br><br>Kunal Malik<br>09871147561
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Kunal Malik<br>09871147561
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Kunal Malik<br>09871147561