<div dir="ltr">Although I am not the author of that module, I can confirm that the input raster files are specified in the .map file as explained in the example.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 17, 2013 at 9:41 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Jun 4, 2013 at 11:09 AM, RichardC <<a href="mailto:richtcooper@hotmail.com">richtcooper@hotmail.com</a>> wrote:<br>
</div><div class="im">> Hi,<br>
><br>
> I'm trying to run the r.fuzzy.system module - have created the map and rules<br>
> files, but can't seem to find where to specify the input raster file in the<br>
> r.fuzzy.system gui window. I can select the .map, and .rul file,<br>
<br>
<br>
</div>... these you find in the "Required" tab.<br>
<div class="im"><br>
> but there<br>
> doesn't seem to be a field for the input raster file.<br>
<br>
</div>While I am not familiar with the module, I understand from the manual that<br>
the input map(s) are specified in the ASCII input file<br>
...<br>
<div class="im">> I guess that that the input raster file needs to be specified in the .map file,<br>
<br>
</div>Yes,  I also think so.<br>
<div class="im"><br>
> but I'd be grateful for any advice on the syntax needed to specify. My<br>
> flood.map file contains the following:<br>
><br>
> %mti<br>
> $ low {right; -1,3; sshaped; 0; 1}<br>
> $ moderate-low {both; -1,3,4,5; sshaped; 0; 1}<br>
> $ moderate-high {both; 4,5,11,14; sshaped; 0; 1}<br>
> $ high {left; 11,14; sshaped; 0; 1}<br>
><br>
> My rules file:<br>
> $ low {mti = low}<br>
> $ moderate-low {mti = moderate-low}<br>
> $ moderate-high {mti = moderate-high}<br>
> $ high {mti = high}<br>
><br>
> Refs:<br>
> <a href="https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.fuzzy.system/description.html" target="_blank">https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.fuzzy.system/description.html</a><br>
> <a href="http://gama.fsv.cvut.cz/data/geoinformatics/2011/05-20/10-dileo.pdf" target="_blank">gama.fsv.cvut.cz/data/geoinformatics/2011/05-20/10-dileo.pdf</a><br>
<br>
</div>The related source code snippet is (I think):<br>
<br>
map_parser.c:<br>
        if (*buf == '%') {<br>
<br>
            fgetpos(fd, &position);<br>
<br>
            sscanf(buf, "%[^\n]", map);<br>
            char_strip(map, '%');<br>
            G_strip(map);<br>
            mapset = (STRING) G_find_raster2(map, "");<br>
<br>
<br>
So the word after % might be taken as map name as seen for example in<br>
<a href="http://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.fuzzy/r.fuzzy.system/flood.map" target="_blank">http://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.fuzzy/r.fuzzy.system/flood.map</a><br>

<br>
Perhaps the author can help to explain/confirm?<br>
<span class="HOEnZb"><font color="#888888"><br>
Markus<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</div></div></blockquote></div><br></div>