grass-windows Digest, Vol 67, Issue 1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

grass-windows Digest, Vol 67, Issue 1

grass-windows-request
Send grass-windows mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/grass-windows
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-windows digest..."


Today's Topics:

   1. grass.run_command issue for display a vector and its labels
      (Liu, Huili)


----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Nov 2012 15:56:38 +0000
From: "Liu, Huili" <[hidden email]>
To: "[hidden email]" <[hidden email]>
Subject: [GRASS-windows] grass.run_command issue for display a vector
        and its labels
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="us-ascii"

Hello,

I am running an issue to display a vector and overlay its label on the top by using grass.run_command (WinGrass-6.4).
For example,
grass.run_command('d.vect', map='my_shape')
grass.run_command('d.labels', labels='my_shape_labels')

First one created a default.png but second command overwrote default.png with the labels only.
Can anyone point to me if one grass.run_command can handle multiple commands like
grass.run_command(('d.vect', map='my_shape';  'd.labels', labels='my_shape_labels') to generate one default.png with two layers information such as vector and its labels? Or is there any better way to do it? I was thinking about v.overlay but I look for the above possibility.

Thanks in advance.
Willie








The information contained in this communication is intended for the use
of the designated recipients named above. If the reader of this
communication is not the intended recipient, you are hereby notified
that you have received this communication in error, and that any review,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please
notify The Associated Press immediately by telephone at +1-212-621-1898
and delete this email. Thank you.
[IP_US_DISC]

msk dccc60c6d2c3a6438f0cf467d9a4938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-windows/attachments/20121105/d4b82faa/attachment-0001.html>

------------------------------

_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows


End of grass-windows Digest, Vol 67, Issue 1
********************************************