<div>Thanks.</div>
<div> </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> </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> </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> </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> </div>
<div>I wish to achieve a level of competency in GRASS (or any other software which is freely available)which could help me produce such a work.</div>
<div> </div>
<div>regards</div>
<div>Abhinav<br><br> </div>
<div><span class="gmail_quote">On 10/29/06, <b class="gmail_sendername">Moritz Lennert</b> <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> 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>> Thanks to all for the guidance.<br>><br>> I have been able to import and view the data using
r.in.gdal. The only<br>> problem is that it is in Black and White. I tried to use this command:<br>><br>> r.colors map=Gujarat color=rules rast=Gujarat rules=terrain<br>><br>> 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>> 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>><br>> It is also in Black and White with only the outlines and crosses in
<br>> black. I have made a separate location for this data. I am unable to<br>> have a coloured map in it also. It's GRASS how to file (which comes<br>> along with the data mentions:<br>><br>><br>> 1. Create location
<br>><br>> Location: <some name><br>><br>> Mapset: <a name><br>><br>> Database: <a path to a writable directory<br>><br>> Coordinate system: B, Latitude-Longitude<br>
><br>> description: <some description><br>><br>> geodatic datum: no<br>><br>> ellipsoid: grs80<br>><br>> region:<br>><br>> north: 90<br>><br>> south: -90<br>
><br>> west: -180<br>><br>> east: 180<br>><br>> grid resolution: not important<br>><br>><br>> When I tried to do this, I am getting this error : 'clear' is not<br>> recognized as an internal or external command, operable program or batch
<br>> file.<br><br>Yes, as mentioned earlier on the list, creation of locations at startup<br>currently does not work.<br><br>><br>> 3. you can now load /usr/share/geo-data/country_geodata/pop.gm with<br>> the GRASS
<br>><br>> data manager to have a first look on the data and to print them.<br>><br>><br>> 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>><br>> 4. Print colorcoded maps<br>><br>> #start monitor fo visualization<br>><br>> d.mon x0<br>><br>> # print china in red<br>><br>> d.vect map=countries type=area where="fibs='CH'" fcolor=255:0:0
<br>><br>> # print countries with total population < 5000000 in green<br>><br>> d.vect map=countries type=area where="total<5000000" fcolor=0:255:0<br>><br>> # erase all objects from monitor
<br>><br>> d.erase<br>><br>> # stop monitor<br>><br>> d.mon stop=x0<br>><br>><br>> This last step mentioned in the How to... is again a bit confusing. I<br>> hope this is what is supposed to be written in the Output -
GIS.m and<br>> 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 "Add vector layer" 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. "Vector name", "SQL query", 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>