Send grass-windows mailing list submissions to
        grass-windows@lists.osgeo.org

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
        grass-windows-requ...@lists.osgeo.org

You can reach the person managing the list at
        grass-windows-ow...@lists.osgeo.org

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


Today's Topics:

   1. Re: syntax for v.db.select run by grass.run_command
      (Markus Neteler)
   2. RE: syntax for v.db.select run by grass.run_command (Liu, Huili)


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

Message: 1
Date: Tue, 13 Mar 2012 20:51:06 +0100
From: Markus Neteler <nete...@osgeo.org>
Subject: Re: [GRASS-windows] syntax for v.db.select run by
        grass.run_command
To: "Liu, Huili" <h...@ap.org>
Cc: "grass-windows@lists.osgeo.org" <grass-windows@lists.osgeo.org>
Message-ID:
        <calfmhhvee_wbkh2zanfioxvogb44rxcba6_gnxweoyytvmz...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Willie,

On Tue, Mar 13, 2012 at 3:32 PM, Liu, Huili <h...@ap.org> wrote:
> Hi Markus,
>
> I am running GRASS GIS 6.4.1 (Windows).

would you mind to upgrade to 6.4.2?
http://grass.osgeo.org/announces/announce_grass642.html

This version has a new GRASS Python ctypes interface which
may be of interest since it is way more stable than previous
approaches.

Markus


> Thanks,
> Willie
>
>
>
> -----Original Message-----
> From: grass-windows-boun...@lists.osgeo.org 
> [mailto:grass-windows-boun...@lists.osgeo.org] On Behalf Of Markus Neteler
> Sent: Monday, March 12, 2012 7:27 PM
> To: Liu, Huili
> Cc: grass-windows@lists.osgeo.org
> Subject: Re: [GRASS-windows] syntax for v.db.select run by grass.run_command
>
> On Fri, Mar 9, 2012 at 3:46 PM, Liu, Huili <h...@ap.org> wrote:
>> Thanks Markus. That is a great example to generate a report.
>> DBF driver doesn't support for join tables
>
> No because DBF is really only a table format.
>
>> so I have to add a color column in the table to shade polygon. But
>> grass.run_command('v.db.addcol', map='from_shape', columns='WINNER_COLOR, 
>> VARCHAR()') requires awk. After I installed awk, it still show the same 
>> error. awk is in environment variable and ran fine by cmd. Not sure if it is 
>> a bug on Windows.
>
> It will be some path problem... Do you use GRASS 6 or 7?
> (maybe I forgot).
>
> Markus
> _______________________________________________
> grass-windows mailing list
> grass-windows@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
>
> 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
>


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

Message: 2
Date: Tue, 13 Mar 2012 20:38:40 +0000
From: "Liu, Huili" <h...@ap.org>
Subject: RE: [GRASS-windows] syntax for v.db.select run by
        grass.run_command
To: Markus Neteler <nete...@osgeo.org>
Cc: "grass-windows@lists.osgeo.org" <grass-windows@lists.osgeo.org>
Message-ID:
        <edbb02efb114934ea2fa741873e8a52523712...@ctcxmbx02.ap.org>
Content-Type: text/plain; charset="us-ascii"

Thanks Markus.
I uninstalled the old version and installed GRASS 6.4.2 from your link but I 
got two errors:
1. ERROR: G_getenv(): Variable LOCATION_NAME not set
2. The ordinal 63 could not be located in the dynamic link libexpat.dll.

I setup Environment Variable for LOCATION_NAME on Windows but the error 1 is 
still showed up. I checked libexpat.dll but I could not find it anywhere. It 
should come from the installation of GRASS 6.4.2, right?

-Willie




-----Original Message-----
From: neteler.os...@gmail.com [mailto:neteler.os...@gmail.com] On Behalf Of 
Markus Neteler
Sent: Tuesday, March 13, 2012 3:51 PM
To: Liu, Huili
Cc: grass-windows@lists.osgeo.org
Subject: Re: [GRASS-windows] syntax for v.db.select run by grass.run_command

Hi Willie,

On Tue, Mar 13, 2012 at 3:32 PM, Liu, Huili <h...@ap.org> wrote:
> Hi Markus,
>
> I am running GRASS GIS 6.4.1 (Windows).

would you mind to upgrade to 6.4.2?
http://grass.osgeo.org/announces/announce_grass642.html

This version has a new GRASS Python ctypes interface which may be of interest 
since it is way more stable than previous approaches.

Markus


> Thanks,
> Willie
>
>
>
> -----Original Message-----
> From: grass-windows-boun...@lists.osgeo.org 
> [mailto:grass-windows-boun...@lists.osgeo.org] On Behalf Of Markus 
> Neteler
> Sent: Monday, March 12, 2012 7:27 PM
> To: Liu, Huili
> Cc: grass-windows@lists.osgeo.org
> Subject: Re: [GRASS-windows] syntax for v.db.select run by 
> grass.run_command
>
> On Fri, Mar 9, 2012 at 3:46 PM, Liu, Huili <h...@ap.org> wrote:
>> Thanks Markus. That is a great example to generate a report.
>> DBF driver doesn't support for join tables
>
> No because DBF is really only a table format.
>
>> so I have to add a color column in the table to shade polygon. But 
>> grass.run_command('v.db.addcol', map='from_shape', columns='WINNER_COLOR, 
>> VARCHAR()') requires awk. After I installed awk, it still show the same 
>> error. awk is in environment variable and ran fine by cmd. Not sure if it is 
>> a bug on Windows.
>
> It will be some path problem... Do you use GRASS 6 or 7?
> (maybe I forgot).
>
> Markus
> _______________________________________________
> grass-windows mailing list
> grass-windows@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-windows
>
>
> 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
>


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

_______________________________________________
grass-windows mailing list
grass-windows@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windows


End of grass-windows Digest, Vol 64, Issue 7
********************************************

Reply via email to