[GRASSLIST:2742] g.select.pg

hello,

i tried to run command

  g.select.pg host=138.232.34.82 database=rsdb

i got following error-message:

  Error: select Postgres:FATAL: no pg_hba.conf entry for host
"::ffff:138.232.34.94", user "sabine", database "template1"

what does the required database (rsdb) have to do with database template1?

the following command is working:

  psql -d rsdb -h 138.232.34.82 -U sabine

can anyone give me some advice how to continue accessing the database?

thank you, sabine

I have a group of points (vertex of a polygon) and I'd like to link them to
obtain a polygon (vector) to transform it in a rast.

Is it hard to make it?

Tank you
Leonardo Lami

I have a group of points (vertex of a polygon) and I'd like to link
them to obtain a polygon (vector) to transform it in a rast.

Is it hard to make it?

Simple, r.in.poly.

See the help page for details:
http://grass.ibiblio.org/gdp/html_grass5/html/r.in.poly.html

or v.in.ascii if you really want a vector polygon.

Hamish

Following up on Hamish's post[GRASSLIST:2756] :

What function would I use to define raster sectors of a circle?
Thanks.

Martin

At 07:25 PM 2/26/2004 +1300, you wrote:

> I have a group of points (vertex of a polygon) and I'd like to link
> them to obtain a polygon (vector) to transform it in a rast.
>
> Is it hard to make it?

Simple, r.in.poly.

See the help page for details:
http://grass.ibiblio.org/gdp/html_grass5/html/r.in.poly.html

or v.in.ascii if you really want a vector polygon.

Hamish

What function would I use to define raster sectors of a circle?

r.digit can do this interactively, or

GRASS 5.0/5.3
v.circle -> v.to.rast

GRASS 5.7
v.buffer (and v.patch for multiples of different sizes)
  or 'd.vect.chart ctype=pie' with one data column.
    -> v.to.rast

Hamish

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

> > I have a group of points (vertex of a polygon) and I'd like to link
> > them to obtain a polygon (vector) to transform it in a rast.

...

>
>Simple, r.in.poly.

...

>or v.in.ascii if you really want a vector polygon.