[GRASS5] is search working?

Are the search functions on the user and developer mailing lists working properly? I am looking for tips on adding attributes (something like add columns) to existing vector maps (I thought this was a job for v.digit) however, I keep getting the dreaded "no matching articles" returned.

Kirk

hallo
On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:

Are the search functions on the user and developer mailing lists
working properly? I am looking for tips on adding attributes (something
like add columns) to existing vector maps (I thought this was a job for
v.digit) however, I keep getting the dreaded "no matching articles"
returned.

Kirk

I thing, that results from google are often better, then from the site search
:frowning:

for adding columns to the table see manual of db.execute

    echo "alter table vector_file add column column_name varchar(50)"|db.execute

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/

On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:

Are the search functions on the user and developer mailing lists
working properly?

Yes, I think so:

http://grass.itc.it/searchgrass.php
Search: attributes
Restrict to: GRASS Developers Mailing list
-> Documents 1 - 10 of 835 matches.

Where did you try (URL?). It should be redirected to grass.itc.it.

I am looking for tips on adding attributes (something
like add columns) to existing vector maps (I thought this was a job for
v.digit) however, I keep getting the dreaded "no matching articles"
returned.

Search for 'db.execute' :slight_smile:

http://grass.itc.it/grass60/manuals/html60_user/db.execute.html
  Add new column to attribute table:
  echo "ALTER TABLE roads ADD COLUMN length double" | db.execute

Hope this helps

Markus

On Wed, Apr 27, 2005 at 06:11:06PM +0200, Jachym Cepicky wrote:

hallo
On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:
> Are the search functions on the user and developer mailing lists
> working properly? I am looking for tips on adding attributes (something
> like add columns) to existing vector maps (I thought this was a job for
> v.digit) however, I keep getting the dreaded "no matching articles"
> returned.
>
> Kirk

I thing, that results from google are often better, then from the site search
:frowning:

Oh, really? If so, how to improve the situation (I am no htdig expert)?

Suggestions more than welcome.

Markus

On Apr 28, 2005, at 2:04 AM, Markus Neteler wrote:

On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:

Are the search functions on the user and developer mailing lists
working properly?

Yes, I think so:

http://grass.itc.it/searchgrass.php
Search: attributes
Restrict to: GRASS Developers Mailing list
-> Documents 1 - 10 of 835 matches.

Where did you try (URL?). It should be redirected to grass.itc.it.

Thanks Markus. I was going in through the community link, to mailing lists, then getting directed to:

http://grass.institutoecos.org.br/cgi-bin/htsearch

They seem to have some kind of server issue. I emailed the administrator about it.

I am looking for tips on adding attributes (something
like add columns) to existing vector maps (I thought this was a job for
v.digit) however, I keep getting the dreaded "no matching articles"
returned.

Search for 'db.execute' :slight_smile:

http://grass.itc.it/grass60/manuals/html60_user/db.execute.html
  Add new column to attribute table:
  echo "ALTER TABLE roads ADD COLUMN length double" | db.execute

Hope this helps

Markus

On Thu, Apr 28, 2005 at 10:20:05AM -0500, Kirk R. Wythers wrote:

On Apr 28, 2005, at 2:04 AM, Markus Neteler wrote:

>On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:
>>Are the search functions on the user and developer mailing lists
>>working properly?
>
>Yes, I think so:
>
> http://grass.itc.it/searchgrass.php
> Search: attributes
> Restrict to: GRASS Developers Mailing list
> -> Documents 1 - 10 of 835 matches.
>
>Where did you try (URL?). It should be redirected to grass.itc.it.

Thanks Markus. I was going in through the community link, to mailing
lists, then getting directed to:

http://grass.institutoecos.org.br/cgi-bin/htsearch

They seem to have some kind of server issue. I emailed the
administrator about it.

Well, the idea of the implementation is that
requests are redirected to grass.itc.it (as htdig lives there).

I see the problem now when entering
http://grass.institutoecos.org.br/cgi-bin/htsearch
but how did you get there?

Markus

On Thu, Apr 28, 2005 at 10:43:27AM -0500, Kirk R. Wythers wrote:

On Apr 28, 2005, at 10:27 AM, Markus Neteler wrote:
>On Thu, Apr 28, 2005 at 10:20:05AM -0500, Kirk R. Wythers wrote:
>>On Apr 28, 2005, at 2:04 AM, Markus Neteler wrote:
>>>On Wed, Apr 27, 2005 at 10:15:11AM -0500, Kirk R. Wythers wrote:
>>>>Are the search functions on the user and developer mailing lists
>>>>working properly?
>>>
>>>Yes, I think so:
>>>
>>>http://grass.itc.it/searchgrass.php
>>>Search: attributes
>>>Restrict to: GRASS Developers Mailing list
>>>-> Documents 1 - 10 of 835 matches.
>>>
>>>Where did you try (URL?). It should be redirected to grass.itc.it.
>>
>>Thanks Markus. I was going in through the community link, to mailing
>>lists, then getting directed to:
>>
>>http://grass.institutoecos.org.br/cgi-bin/htsearch
>>
>>They seem to have some kind of server issue. I emailed the
>>administrator about it.
>
>Well, the idea of the implementation is that
>requests are redirected to grass.itc.it (as htdig lives there).
>
>I see the problem now when entering
> http://grass.institutoecos.org.br/cgi-bin/htsearch
>but how did you get there?

I pull up the GRASS site at:
http://grass.itc.it/

then click the link to Community, which directs my browser to:
http://grass.itc.it/community/index.php

from there I go to Mailing lists, which takes me to:
http://grass.itc.it/community/support.php

So far fine.

From there, I clicked on the links 'GRASS user list archive (June
1996-today) under Archives, which directs to:
http://grass.institutoecos.org.br/grass-list/

or

Archives mirror, which directs to
http://news.gmane.org/gmane.comp.gis.grass.user

neither of which appear to be in working order.

Now I understand.

Suggestions
- "Full GRASS user list archive (1991-today)"
    http://grass.itc.it/pipermail/grassuser/
  is the *full* archive (the only one [1])
- above the table there is "Search these mailing lists"
  http://grass.itc.it/searchgrass.php

Ok, I have restructured the table:
http://grass.itc.it/community/support.php

Please try again... (the grass.institutoecos.org.br I cannot solve,
but you can use our search engine).

Cheers

Markus

[1] Time ago I have added all mails from the original CERL
    mailing lists and usenet period to our archive (except for spam)
    You may want to enjoy
    http://grass.itc.it/pipermail/grassuser/1991-December/013369.html

    The first user mail came from Italy then (hey!).

On Apr 27, 2005, at 11:11 AM, Jachym Cepicky wrote:

for adding columns to the table see manual of db.execute

    echo "alter table vector_file add column column_name varchar(50)"|db.execute

Thanks!

How about removing a column or changing a column name? I've tried:

> echo "ALTER TABLE table_name DROP COLUMN column_name double" | db.execute

and

  > echo "ALTER TABLE table_name CHANGE COLUMN old_column_name new_column_name double" | db.execute

with no success...

Kirk

> I am looking for tips on adding attributes (something like add
> columns) to existing vector maps (I thought this was a job for
> v.digit)

As others noted, use db.execute.

v.digit will let you specify & create a new table but not alter an
existing one. I think this could be changed but that's the way it is
now.

Hamish

Hamish wrote:

I am looking for tips on adding attributes (something like add
columns) to existing vector maps (I thought this was a job for v.digit)

As others noted, use db.execute.

v.digit will let you specify & create a new table but not alter an
existing one. I think this could be changed but that's the way it is
now.

Hamish

In QGIS there is "Add column" button.

Radim