[GRASS-user] How to generate a vector graphics file from GRASS CLI?

Ken Mankoff mankoff at gmail.com
Tue Jan 29 02:20:12 PST 2019


I will look into ps.map. I was hoping for something simpler.

Please excuse brevity. Sent from tiny pocket computer with non-haptic
feedback keyboard.

On Tue, Jan 29, 2019, 09:28 <st_kiefer at web.de wrote:

> Hi Ken,
> have you considered using ps.map?
>
> https://grass.osgeo.org/grass76/manuals/ps.map.html
>
> regards
>
> Stefan
>
> > Ken Mankoff <mankoff at gmail.com> hat am 29. Januar 2019 um 08:43
> geschrieben:
> >
> >
> > Hi,
> >
> > I'm trying to generate a vector graphics file (PDF, but EPS or PS is
> fine) from the GRASS CLI. I'd like to have both raster and vector output.
> When I follow the simple examples from PSDRIVER or CAIRO the result is
> always the same - only the last graphic appears. It is as though there is a
> "d.erase" between every command.
> >
> > From https://grass.osgeo.org/grass76/manuals/psdriver.html
> >
> > export GRASS_RENDER_IMMEDIATE=ps
> > export GRASS_RENDER_TRUECOLOR=TRUE
> > g.region raster=elevation
> > d.rast elevation
> > d.vect roadsmajor color=red
> >
> > Only shows roads, no elevation.
> >
> > I can get what I want with the PNG driver, but those graphics are not
> publication quality.
> >
> > Thanks,
> >
> >   -k.
> > _______________________________________________
> > 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/20190129/9866efde/attachment.html>


More information about the grass-user mailing list