<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=windows-1255"
      http-equiv="Content-Type">
  </head>
  <body bidimailui-charset-is-forced="true"
    bidimailui-detected-decoding-type="preferred-charset" text="#000000"
    bgcolor="#ffffff">
    <p style="margin-bottom: 0cm; margin-top: 0pt;">Hello Brad:</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">From your
      description I gather that you have QGIS installed with the OSGeo4W
      installer. And on the same machine you also have a separate GRASS
      installation. And you're saying that you can start GRASS on its
      own with the GISDBASE, LOCATION and MAPSET all setup. Is that
      correct?? But when you try to run GRASS modules from within QGIS
      you're getting an error that the GISDBASE is not set?<br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">Now, when you start
      QIS, is the GRASS plugin loading? If so, can you click the "New
      Mapset" button and then, where it says "Database:" click "Browse"
      and choose the directory of your GRASS database to be identical to
      the above directory you setup from GRASS. Then select the LOCATION
      and MAPSET as above.</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">If the GRASS
      database has not been set at all, then use the same procedure from
      within QGIS to choose a directory, then continue with the QGIS
      wizard, set up a LOCATION and MAPSET. Note that you must be the
      *owner* of the directory for the GRASS database.</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">HTH,</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">Micha</p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">   </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;">On 01/28/2011 09:30
      PM, Brad Nesom wrote:</p>
    <blockquote
      cite="mid:AANLkTinNYjpyGWS=3srGKt6=MjV_+ppN3mHjZjz2MiRd@mail.gmail.com"
      type="cite">
      <div>I have had this problem for all time on xp, osgeo4w. updating
        and new dev, nothing has fixed it. Now I find a page that says
        this env is not supposed to be used anymore. </div>
      <div>1. Is this just my problem? </div>
      <div>2. Does anyone know how to fix it?</div>
      <div> </div>
      <div>G_getenv(): Variable GISDBASE not set</div>
      <div> </div>
      <div>Grassbook chapter 11 says: "Programming: <br>
         
        <ul>
          <li>Since the variable $LOCATION no longer exists, every GRASS
            shell script must have at beginning:
            <p>  <br>
                </p>
            <p><tt>eval `g.gisenv`</tt> <br>
              <tt>: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?}
                ${MAPSET?}</tt> <br>
              <tt>LOCATION=$GISDBASE/$LOCATION_NAME/$MAPSET</tt> </p>
            <p>to work properly.  <br>
                </p>
          </li>
          <li>Gmakefiles contain a DEP line now (needed to support
            optional GRASS shared libraries) <br>
              </li>
          <li>GISDBASE isn't meant to be an "environment variable", it's
            a setting in $GISRC. Although most of the GRASS
            documentation is totally confused on this issue, as was some
            of the code as well (mostly, code written in Bourne shell,
            Tcl or PERL; code written in C used G_getenv(), which got it
            right). </li>
        </ul>
      </div>
      <div>If I can start grass from any of the interfaces. And I can
        see my configuration is set in each of those interfaces. Why
        does grass plugin (qgis) not detect that same getenv?</div>
      <br>
      This mail was received via Mail-SeCure System.<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

This mail was received via Mail-SeCure System.


</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
 
</pre>
  </body>
</html>