[GRASSLIST:4977] Interpolation of points in PostGIS database

Hi!
How can I interpolate point data (to a raster) which is stored in a PostGIS
database directly in GRASS.
I don't want to import the data to the GRASS location with v.in.db. I want GRASS
to use the points directly for the interpolation. There should be no data transfer.
   
Thanks in advance,
Bernhard Höfle

On Fri, Nov 26, 2004 at 04:06:46PM +0100, Bernhard Reimar Hoefle wrote:

Hi!
How can I interpolate point data (to a raster) which is stored in a PostGIS
database directly in GRASS.
I don't want to import the data to the GRASS location with v.in.db. I want GRASS
to use the points directly for the interpolation. There should be no data transfer.

I assume that you can use
v.external
http://grass.itc.it/grass57/manuals/html57_user/v.external.html

to virtually link the map, then use v.surf.idw/v.surf.rst/v.vol.rst
to interpolate.

Hope this helps

Markus

Hello again!

I can't use the PG driver in v.external.

# ERROR: Cannot open data source

How can I install it? I'm using gdal-1.2.5 and GRASS 5.7.cvs
(grass57_exp_2004_11_27). I compiled it --with-postgres.

Bernhard