[GRASS-user] "Screenshots of vector data"

Veronica Andreo veroandreo at gmail.com
Sun Sep 24 02:28:52 PDT 2017


Hi Hermant,

Have you tried with the option paper in ps.map? [0] It allows to set a
custom paper size and change margins.

hth,
Vero

[0] https://grass.osgeo.org/grass72/manuals/ps.map.html#paper


2017-09-22 20:22 GMT+02:00 Hemant Bist <hemantbist at gmail.com>:

> 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.
>
> g.region vector=rawlines at PERMANENT
>
>
> --- The script I am using to draw the map.
> vlines rawlines
>   width 0.25
>   end
> border n
>
> end
>
>
>
>
>
> On Fri, Sep 22, 2017 at 10:13 AM, jon <jeir at hi.is> wrote:
>
>> Have you tried ps.map?
>>
>> Jon
>>
>>
>>
>> On 22 Sep 2017, at 16:04, Hemant Bist wrote:
>>
>> > Hi,
>> >
>> > I have some vector data. they are line shapefiles without any projection
>> > information.
>> > I want to convert them to images of certain size : (The lines should
>> appear
>> > black with white background).  : This is almost how they are displayed
>> on
>> > the Display console of grass UI.
>> >
>> > May be there is some way to programatically control console size and
>> dump
>> > its contents.
>> >
>> > I looked at v.to.rast but could not figure out the right parameters/
>> > alternate commands.  Any pointers/examples would be useful to me.
>> > (I have used various GIS software before, but I have just started
>> scripting
>> > the Grass GIS)
>> >
>> >
>> > Thanks,
>> > HB
>> > _______________________________________________
>> > grass-user mailing list
>> > grass-user at lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170924/51b663f1/attachment.html>


More information about the grass-user mailing list