<div>Thanks to all for the guidance.</div>
<div> </div>
<div>I have been able to import and view the data using r.in.gdal. The only problem is that it is in Black and White. I tried to use this command:</div>
<div> </div>
<div>r.colors map=Gujarat color=rules rast=Gujarat rules=terrain</div>
<div> </div>
<div>I hope this is what Moritz meant:</div>
<div> </div>
<div> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><br><font color="#000099">In brief, to do what Markus suggested:<br><br>set<br><br>map=YourMap<br>rules=terrain<br><br><br>To see the new colors applied, you have to push the "Redraw all layers"<br>button (2nd from the left) in the Map Display.
<br></font></div>
<div style="DIRECTION: ltr"><span class="sg"><br></span></div></blockquote>
<div>The map is now in shades of grey. </div>
<div> </div>
<div>The other Data I downloaded is : freegis_worlddata-0.1_simpl.tar</div>
<div> </div>
<div>It is also in Black and White with only the outlines and crosses in black. I have made a separate location for this data. I am unable to have a coloured map in it also. It's GRASS how to file (which comes along with the data mentions:
</div>
<div> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px"><font size="2">
<p><font color="#3333ff">1. Create location</font></p>
<p><font color="#3333ff">Location: <some name></font></p>
<p><font color="#3333ff">Mapset: <a name></font></p>
<p><font color="#3333ff">Database: <a path to a writable directory</font></p>
<p><font color="#3333ff">Coordinate system: B, Latitude-Longitude</font></p>
<p><font color="#3333ff">description: <some description></font></p>
<p><font color="#3333ff">geodatic datum: no</font></p>
<p><font color="#3333ff">ellipsoid: grs80</font></p>
<p><font color="#3333ff">region:</font></p>
<p><font color="#3333ff">north: 90</font></p>
<p><font color="#3333ff">south: -90</font></p>
<p><font color="#3333ff">west: -180</font></p>
<p><font color="#3333ff">east: 180</font></p>
<div><font color="#3333ff">grid resolution: not important</font></div>
<div><font color="#3333ff"></font> </div></font></blockquote>
<div dir="ltr"><font color="#000000">When I tried to do this, I am getting this error : 'clear' is not recognized as an internal or external command, operable program or batch file.</font></div>
<div dir="ltr"> </div>
<div dir="ltr">However I did try to import the data as is given in the second point:</div>
<div dir="ltr"> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p><font color="#3333ff">2. import data</font></p>
<div><font color="#3333ff">> v.in.ogr dsn=/usr/share/geo-data/country_geodata/countries_simpl.shp output=countries</font></div>
<div><font color="#3333ff"></font> </div></blockquote>
<div dir="ltr"><font color="#000000">This was comfortably done.</font></div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p><font color="#3333ff">3. you can now load /usr/share/geo-data/country_geodata/pop.gm with the GRASS</font></p>
<div><font color="#3333ff">data manager to have a first look on the data and to print them.</font></div>
<div><font color="#3333ff"></font> </div></blockquote>
<div dir="ltr"><font color="#000000">How can I undertake this step. I am a bit clueless.</font></div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p><font color="#3333ff">4. Print colorcoded maps</font></p>
<p><font color="#3333ff">#start monitor fo visualization</font></p>
<p><font color="#3333ff">d.mon x0</font></p>
<p><font color="#3333ff"># print china in red</font></p>
<p><font color="#3333ff">d.vect map=countries type=area where="fibs='CH'" fcolor=255:0:0</font></p>
<p><font color="#3333ff"># print countries with total population < 5000000 in green</font></p>
<p><font color="#3333ff">d.vect map=countries type=area where="total<5000000" fcolor=0:255:0</font></p>
<p><font color="#3333ff"># erase all objects from monitor</font></p>
<p><font color="#3333ff">d.erase</font></p>
<p><font color="#3333ff"># stop monitor</font></p>
<p><font color="#3333ff">d.mon stop=x0</font></p></blockquote>
<div dir="ltr"> </div>
<div dir="ltr">This last step mentioned in the How to... is again a bit confusing. I hope this is what is supposed to be written in the Output - GIS.m and run. Is it?</div>
<div dir="ltr"> </div>
<div dir="ltr">Thanks everyone for your patience and efforts towards helping me out. As for going back to Cygwin, I would only take it up as the last option available.</div>
<div dir="ltr"> </div>
<div dir="ltr">Thanks again for the help</div>
<div dir="ltr"> </div>
<div dir="ltr">regards</div>
<div dir="ltr"> </div>
<div dir="ltr">Abhinav</div>
<div dir="ltr"><br><br> </div>
<div><span class="gmail_quote">On 10/29/06, <b class="gmail_sendername">Hamish</b> <<a href="mailto:hamish_nospam@yahoo.com">hamish_nospam@yahoo.com</a>> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> I have been trying to import GLOBE DEM file from:<br>> <a href="http://www.ngdc.noaa.gov/cgi-bin/seg/ff/nph-newform.pl/seg/topo/customdatacd?disp=one&sid=peak.140.172.184.251.0610272224463912">
http://www.ngdc.noaa.gov/cgi-bin/seg/ff/nph-newform.pl/seg/topo/customdatacd?disp=one&sid=peak.140.172.184.251.0610272224463912</a><br>><br>> I don't know what to do next. I have downloaded the file and unzipped
<br>> it to get three files .bil, .hdr and one color file. How should I go<br>> about using it?<br><br>Import with r.in.gdal:<br><a href="http://gdal.org/frmt_various.html#EHdr">http://gdal.org/frmt_various.html#EHdr
</a><br><br><br>You should also be able to import it with r.in.bin, but you will<br>probably have to set some parameters by hand that way.<br><br><br>Hamish<br></blockquote><br>