<div>Thanks.</div>
<div>&nbsp;</div>
<div>By using the vector panel I could add colors to the map freegis_worlddata. But I couldn't do the same with my Gujarat map I downloaded from the NGDC.</div>
<div>&nbsp;</div>
<div>Now, I believe, I should ask one question which really forced me to work on GRASS in the first place. I want to have a display like:</div>
<div>&nbsp;</div>
<div><a href="http://www.eicinformation.org/data/sampledata.asp?id=2">http://www.eicinformation.org/data/sampledata.asp?id=2</a></div>
<div>&nbsp;</div>
<div>Is it possible on GRASS?? If at all it is not possible on a web page, can I reproduce a similar map on my desktop, linking the data with SQL or even by using the existing postgreSQL?</div>
<div>&nbsp;</div>
<div>I wish to achieve a level of competency in GRASS (or&nbsp;any other software which&nbsp;is freely available)which could help me produce such a work.</div>
<div>&nbsp;</div>
<div>regards</div>
<div>Abhinav<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/29/06, <b class="gmail_sendername">Moritz Lennert</b> &lt;<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">gotnidea! Business Development Centre wrote:<br>&gt; Thanks to all for the guidance.<br>&gt;<br>&gt; I have been able to import and view the data using 
r.in.gdal. The only<br>&gt; problem is that it is in Black and White. I tried to use this command:<br>&gt;<br>&gt; r.colors map=Gujarat color=rules rast=Gujarat rules=terrain<br>&gt;<br>&gt; I hope this is what Moritz meant:
<br><br>no:<br><br>r.colors map=Gujarat rules=terrain<br><br>the color= and rast= options are two different ways of setting color<br>tables, using all of them at the same time does not make sense (maybe<br>the module should actually complain about this ?).
<br><br><br>&gt; The other Data I downloaded is : freegis_worlddata-0.1_simpl.tar<br><br>In case you did not know: this is vector data.<br><br>&gt;<br>&gt; It is also in Black and White with only the outlines and crosses in
<br>&gt; black. I have made a separate location for this data. I am unable to<br>&gt; have a coloured map in it also. It's GRASS how to file (which comes<br>&gt; along with the data mentions:<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 1. Create location
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Location: &lt;some name&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Mapset: &lt;a name&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Database: &lt;a path to a writable directory<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Coordinate system: B, Latitude-Longitude<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; description: &lt;some description&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; geodatic datum: no<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ellipsoid: grs80<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; region:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; north: 90<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; south: -90<br>
&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; west: -180<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; east: 180<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; grid resolution: not important<br>&gt;<br>&gt;<br>&gt; When I tried to do this, I am getting this error : 'clear' is not<br>&gt; recognized as an internal or external command, operable program or batch
<br>&gt; file.<br><br>Yes, as mentioned earlier on the list, creation of locations at startup<br>currently does not work.<br><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 3. you can now load /usr/share/geo-data/country_geodata/pop.gm with<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; the GRASS
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; data manager to have a first look on the data and to print them.<br>&gt;<br>&gt;<br>&gt; How can I undertake this step. I am a bit clueless.<br><br><br>I don't think you can as it is probably for the old gui (
d.m).<br><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 4. Print colorcoded maps<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #start monitor fo visualization<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.mon x0<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # print china in red<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.vect map=countries type=area where=&quot;fibs='CH'&quot; fcolor=255:0:0
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # print countries with total population &lt; 5000000 in green<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.vect map=countries type=area where=&quot;total&lt;5000000&quot; fcolor=0:255:0<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # erase all objects from monitor
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.erase<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # stop monitor<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; d.mon stop=x0<br>&gt;<br>&gt;<br>&gt; This last step mentioned in the How to... is again a bit confusing. I<br>&gt; hope this is what is supposed to be written in the Output - 
GIS.m and<br>&gt; run. Is it?<br><br>No, these are commands for the command line. But you cannot use them in<br>wingrass as they depend on the old GRASS monitor display system which is<br>not available in the wingrass gui (
gis.m - GIS Manager).<br><br>Currently you cannot use any display commands from the command line if<br>you use the GIS Manager GUI (this is true for *nix as well).<br><br>All of these commands are now integrated into the gui.
<br><br>To reproduce this example:<br><br>- click on the &quot;Add vector layer&quot; button<br>- click on the vector1 label<br><br>Beneath the layer tree, you will see appear the vector panel.<br><br>Fill out the relevant fields (
e.g. &quot;Vector name&quot;, &quot;SQL query&quot;, etc)<br><br>If I have the time one of these days, I might make some detailed movies,<br>but not now.<br><br>Moritz<br></blockquote></div><br>