<div dir="ltr"><div>Thanks, Its almost working for me. I am not able to get rid of the "extra border space " around the image. (rawlines is the lines vector). I tried setting the region to that of the vector by g.region, but it does not seem to have any effect.</div><div><br></div><div>g.region vector=rawlines@PERMANENT    </div><div><br></div><div><br></div><div>--- The script I am using to draw the map.</div><div>vlines rawlines<br></div><div>  width 0.25</div><div>  end</div><div>border n</div><div><br></div><div><span style="white-space:pre">  </span>end</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 10:13 AM, jon <span dir="ltr"><<a href="mailto:jeir@hi.is" target="_blank">jeir@hi.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried ps.map?<br>
<br>
Jon<br>
<div><div class="h5"><br>
<br>
<br>
On 22 Sep 2017, at 16:04, Hemant Bist wrote:<br>
<br>
> Hi,<br>
><br>
> I have some vector data. they are line shapefiles without any projection<br>
> information.<br>
> I want to convert them to images of certain size : (The lines should appear<br>
> black with white background).  : This is almost how they are displayed on<br>
> the Display console of grass UI.<br>
><br>
> May be there is some way to programatically control console size and dump<br>
> its contents.<br>
><br>
> I looked at v.to.rast but could not figure out the right parameters/<br>
> alternate commands.  Any pointers/examples would be useful to me.<br>
> (I have used various GIS software before, but I have just started scripting<br>
> the Grass GIS)<br>
><br>
><br>
> Thanks,<br>
> HB<br>
</div></div>> ______________________________<wbr>_________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div>