<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
    text="#000000">
    <div class="moz-cite-prefix">Hello Sam:<br>
      <br>
      On 24/08/2012 14:14, Samantha Goodchild-Brown wrote:<br>
    </div>
    <blockquote cite="mid:50376230.8020300@geograph.co.za" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Mischa<br>
      <br>
      I am working on those commands but In Linux side I have got the
      training map to raster format with all visible.<br>
      More issues I overcame (for students benefit) is:<br>
      I imported a shape file made in Qgis with the RGB column and label
      column. To get this to work I had to select 'command dialog'
      button in 'import vector data' box and not just use' ivd' box gui.<br>
      In the' import vector data' gui I ticked 'override dataset
      projection (use locations projection)' and 'limit import to the
      currect region' and made no other changes in the </blockquote>
    <br>
    That's unusual that you had to specify "override dataset
    projection". Are you sure that the original is projected in the same
    coordinate system as the GRASS LOCATION??<br>
     <br>
    <blockquote cite="mid:50376230.8020300@geograph.co.za" type="cite">command
      dialog box except to repeat input and output dataset names!<br>
      Now v.to rast works but it doesn't allow out to specify the
      attribute columns - looks greyed out, so you just type them as you
      know them, it works!<br>
      <br>
      In windows grass I imported the same shp file, in the same way,
      successfully. (this using grass not grass plugin in QGIS)  In the
      v.to.rast I can specify / select the attribute columns but when I
      'run' it, I get the following:<br>
      <br>
      (Fri Aug 24 12:46:44
      2012)                                                      <br>
      v.to.rast input=qgis_lclu_trainingmap2@3420new
      output=trainingmap_raster column=cat_ rgbcolumn=RGB
      labelcolumn=label<br>
      Loading data...<br>
      Reading areas...<br>
      Reading features...<br>
      Writing raster map...<br>
      Converted areas: 6 of 6<br>
      Converted points/lines: 0 of 0<br>
      v.to.rast complete.<br>
      (Fri Aug 24 12:46:45 2012) Command finished (0 sec)<br>
      <br>
      Which one would think means everything is fine but now can see no
      data - the entire dataset created is the same colour (white).<br>
      <br>
      Is the data most likely still there and just not displaying
      correctly, or has some of the attribute info all been lost and it
      all does have the same value? <br>
    </blockquote>
    <br>
    Did you set the current region to match the vector or raster of
    training areas?  ("Settings->Region->Set Region" and choose
    the imported raster). Then in the map display use the zoom button to
    "Zoom to computational region".<br>
    <br>
    You can also try "Vector->Query vector map->Query attribute
    data" to see what you've got as far as attributes, and
    "Vector->Reports and statistics->Basic metadata" to make sure
    that you have as many polygons as you expect.<br>
    <br>
    <br>
    <blockquote cite="mid:50376230.8020300@geograph.co.za" type="cite">
      <br>
      On 2012/08/16 18:48, Micha Silver wrote:
      <blockquote cite="mid:502D2451.7060703@arava.co.il" type="cite">
        <meta content="text/html; charset=UTF-8"
          http-equiv="Content-Type">
        <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
        <div class="moz-cite-prefix">On 16/08/2012 18:11, Samantha
          Goodchild-Brown wrote:<br>
        </div>
        <blockquote cite="mid:502D0DBE.6020803@geograph.co.za"
          type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          Thank you<br>
          <br>
          In my frustration I have reverted to linux version which has
          proved useful - seeing more messages is helpful.<br>
          Mischa, your tip of g.region vect as well as finding reference
          to v.in.region has proved helpful. This is likely to be my
          critical mistake.<br>
          In using the 'grass interface' I have again hit the
          RRR:GGG:BBB field request (as I did with windows).<br>
          It is very frustrating to find this now again when I can find
          no other reference to it anywhere (not even in tuts cautioning
          to make label column).<br>
          Is it absolutely neccessary to go into this at this point (go
          all the way back and begin again) or is there a way to
          'bypass' it?<br>
          Or some quick shortcut?<br>
          <br>
        </blockquote>
        <br>
        Can you copy into an email the commands you are running, and the
        results (errors) you are getting?<br>
        If you're using the Linux terminal, then copy/paste the commands
        and output, and post here.<br>
         <br>
        <blockquote cite="mid:502D0DBE.6020803@geograph.co.za"
          type="cite"> <br>
          <br>
          Sam<br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          <br>
          On 2012/08/15 19:52, Paolo Cavallini wrote:
          <blockquote
            cite="mid:792a509f-e88b-4c74-901a-6f96bfb6797f@email.android.com"
            type="cite">Or use OTB, also through sextante.<br>
            --<br>
            <a moz-do-not-send="true" href="http://faunalia.eu/pc">http://faunalia.eu/pc</a>
            <br>
            Sent from mobile, sorry for being short<br>
            <br>
            <div class="gmail_quote">richard burcher <a
                moz-do-not-send="true" class="moz-txt-link-rfc2396E"
                href="mailto:drownedfrog@gmail.com"><drownedfrog@gmail.com></a>
              ha scritto:
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                <pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">Another option is to create training polygons & use [1] SAGA for the
supervised classification (either standalone or through the Sextante
plugin). I've recently gone this way for a maximum likelihood
classification.

[1] <a moz-do-not-send="true" href="http://www.saga-gis.org/en/index.html">http://www.saga-gis.org/en/index.html</a>

Cheers,

Richard



--
View this message in context: <a moz-do-not-send="true" href="http://osgeo-org.1560.n6.nabble.com/problems-making-grass-training-map-via-qgis-tp4995324p4995387.html">http://osgeo-org.1560.n6.nabble.com/problems-making-grass-training-map-via-qgis-tp4995324p4995387.html</a>
Sent from the Quantum GIS - User mailing list archive at <a moz-do-not-send="true" href="http://Nabble.com">Nabble.com</a>.
<hr>
Qgis-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
              </blockquote>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
          </blockquote>
          <br>
          <br>
          <br>
          This mail was received via Mail-SeCure System.<br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
      </blockquote>
      <br>
      <br>
      <br>
      This mail was received via Mail-SeCure System.<br>
    </blockquote>
    <br>
  </body>
</html>