[GRASSLIST:6155] PostGRASS in 5.7 tutorial ?

Hi list !

Do you know what happen with the tutorial about using postgrass driver to store vectors within postgis ? There is many references to http://grass.itc.it/grass57/tutorial/geom_storage.html#PostGRASS in documentation but the section doesn't exist anymore.

In fact, it exists always but have been commented (!?) So you can read the section in page source code...

Any explanations ?

Greetings,

--
Jean-Denis Giguère
Étudiant en géomatique
appliquée à l'environnement
Stagiaire à l'Agence de développement
de réseaux locaux de services de santé
et de services sociaux de l'Estrie
Tél. 829-3400 42008
Courriel. jdenisgiguere@fastmail.fm

Hi Jean-Denis,

I have added this note on top of the old tutorial:

NOTE: This tutorial is refering to GRASS 5.7. Meanwhile (2005), GRASS 6.0.0
has been published. An updated (but unfortunately still incomplete) version
of this tutorial is available here: GRASS Six Tutorial.
http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorial

I still have to migrate parts of the old tutorial into the Wiki.

Answering your question: The direct PostGIS connection is no
longer available. Once day, when OGR comes with a GRASS plugin
for vector data, this will probably change.

For now you can use v.in.ogr and v.out.ogr to directly exchange
data with PostGIS. But it's an exchange, no real link into the DB.

Hope this helps

Markus

On Mon, Mar 14, 2005 at 09:10:02AM -0500, Jean-Denis Giguere wrote:

Hi list !

Do you know what happen with the tutorial about using postgrass driver
to store vectors within postgis ? There is many references to
http://grass.itc.it/grass57/tutorial/geom_storage.html#PostGRASS in
documentation but the section doesn't exist anymore.

In fact, it exists always but have been commented (!?) So you can read
the section in page source code...

Any explanations ?

Greetings,

--
Jean-Denis Giguère
Étudiant en géomatique
appliquée à l'environnement
Stagiaire à l'Agence de développement
de réseaux locaux de services de santé
et de services sociaux de l'Estrie
Tél. 829-3400 42008
Courriel. jdenisgiguere@fastmail.fm

--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy

Markus Neteler wrote:

Hi Jean-Denis,

I have added this note on top of the old tutorial:

NOTE: This tutorial is refering to GRASS 5.7. Meanwhile (2005), GRASS 6.0.0
has been published. An updated (but unfortunately still incomplete) version
of this tutorial is available here: GRASS Six Tutorial.
http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorial

I still have to migrate parts of the old tutorial into the Wiki.

Answering your question: The direct PostGIS connection is no
longer available. Once day, when OGR comes with a GRASS plugin
for vector data, this will probably change.

For now you can use v.in.ogr and v.out.ogr to directly exchange
data with PostGIS. But it's an exchange, no real link into the DB.

It is possible to make the 'link' to any OGR layer (i.e. also PostGIS) with v.external, but attributes with PostGIS work only if FID exists.

Radim

Hope this helps

Markus

On Mon, Mar 14, 2005 at 09:10:02AM -0500, Jean-Denis Giguere wrote:

Hi list !

Do you know what happen with the tutorial about using postgrass driver to store vectors within postgis ? There is many references to http://grass.itc.it/grass57/tutorial/geom_storage.html#PostGRASS in documentation but the section doesn't exist anymore.

In fact, it exists always but have been commented (!?) So you can read the section in page source code...

Any explanations ?

Greetings,

--
Jean-Denis Giguère
Étudiant en géomatique
appliquée à l'environnement
Stagiaire à l'Agence de développement
de réseaux locaux de services de santé
et de services sociaux de l'Estrie
Tél. 829-3400 42008
Courriel. jdenisgiguere@fastmail.fm

On Tue, Mar 15, 2005 at 10:50:02AM +0100, Radim Blazek wrote:

Markus Neteler wrote:
>Hi Jean-Denis,
>
>I have added this note on top of the old tutorial:
>
>NOTE: This tutorial is refering to GRASS 5.7. Meanwhile (2005), GRASS 6.0.0
>has been published. An updated (but unfortunately still incomplete) version
>of this tutorial is available here: GRASS Six Tutorial.
>http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorial
>
>I still have to migrate parts of the old tutorial into the Wiki.
>
>Answering your question: The direct PostGIS connection is no
>longer available. Once day, when OGR comes with a GRASS plugin
>for vector data, this will probably change.
>
>For now you can use v.in.ogr and v.out.ogr to directly exchange
>data with PostGIS. But it's an exchange, no real link into the DB.

It is possible to make the 'link' to any OGR layer (i.e. also PostGIS)
with v.external, but attributes with PostGIS work only if FID exists.

right, but it's a read-only connection with v.external then.

Markus

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Markus Neteler wrote:
| On Tue, Mar 15, 2005 at 10:50:02AM +0100, Radim Blazek wrote:
|
|>Markus Neteler wrote:
|>
|>>Hi Jean-Denis,
|>>
|>>I have added this note on top of the old tutorial:
|>>
|>>NOTE: This tutorial is refering to GRASS 5.7. Meanwhile (2005), GRASS
6.0.0
|>>has been published. An updated (but unfortunately still incomplete)
version
|>>of this tutorial is available here: GRASS Six Tutorial.
|>>http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorial
|>>
|>>I still have to migrate parts of the old tutorial into the Wiki.
|>>
|>>Answering your question: The direct PostGIS connection is no
|>>longer available. Once day, when OGR comes with a GRASS plugin
|>>for vector data, this will probably change.
|>>
|>>For now you can use v.in.ogr and v.out.ogr to directly exchange
|>>data with PostGIS. But it's an exchange, no real link into the DB.
|>
|>It is possible to make the 'link' to any OGR layer (i.e. also PostGIS)
|>with v.external, but attributes with PostGIS work only if FID exists.
|
| right, but it's a read-only connection with v.external then.

Thanks for your answer !

It's quite sad because I saw the use of PostGRASS as a great way to
offer advanced spatial analysis within a Web portal using GRASS +
PostGIS + Mapserver.

Maybe the 6.x serie will offer interesting alternative !

Greetings,

Jean-Denis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCNxQ3mQkurNcFNt4RAtJLAJ9EHnhY3Z6qO85tULszch5IM07vMwCgmxbx
bpA2erN01qKWQ8ocwYQ2omQ=
=iCh6
-----END PGP SIGNATURE-----

On Tue, Mar 15, 2005 at 11:58:31AM -0500, Jean-Denis Giguere wrote:
...

|>>For now you can use v.in.ogr and v.out.ogr to directly exchange
|>>data with PostGIS. But it's an exchange, no real link into the DB.
|>
|>It is possible to make the 'link' to any OGR layer (i.e. also PostGIS)
|>with v.external, but attributes with PostGIS work only if FID exists.
|
|
| right, but it's a read-only connection with v.external then.

Thanks for your answer !

It's quite sad because I saw the use of PostGRASS as a great way to
offer advanced spatial analysis within a Web portal using GRASS +
PostGIS + Mapserver.

Maybe the 6.x serie will offer interesting alternative !

Someone will have to write an OGR/GRASS plugin for vector data
or port the QGIS vector interface (not sure, probably the architecture
is totally different).

Let's hope the best :slight_smile:

Markus