[GRASS-dev] 3D vector + DB table

Dear developers,

does anybody know if it is possible to have a 3D vector with faces entities linked to a DB table?
I have data about an urban area. Buildings are composed by walls and roofs faces, I'd like to import the data in GRASS preserving the geometry and the "building element" as much as possible and to link the resulting vector to a DB table.
nviz has some capabilities to allow the mouse selection of vector entities and the visualization of the associated DB records. Is it possible for any 3D geometry entities, including faces, or only for vector points?

Best regards and thanks in advance,

Alfonso Vitti

--
____________________________________________________________________________

"He who has imagination without learning has wings but no feet"

Department of Civil and Environmental Engineering
University of Trento
Via Mesiano, 77 - 38100 Trento (ITALY)

Alfonso Vitti
tel: +39 0461 88 26 08
fax: +39 0461 88 26 72

email: alfonso.vitti@ing.unitn.it
____________________________________________________________________________

Alfonso Vitti wrote:

does anybody know if it is possible to have a 3D vector with faces
entities linked to a DB table?
I have data about an urban area. Buildings are composed by walls and
roofs faces, I'd like to import the data in GRASS preserving the
geometry and the "building element" as much as possible and to link
the resulting vector to a DB table.
nviz has some capabilities to allow the mouse selection of vector
entities and the visualization of the associated DB records. Is it
possible for any 3D geometry entities, including faces, or only for
vector points?

give faces of the same building a common category number.

maybe v.extract to select only buildings you want.

I think Markus has already done this? See screenshots of 3D Trento:

http://mirror.aarnet.edu.au/pub/grass/grass61/screenshots/images/qgis08_grass6_toolbox.png

Hamish

On Wed, Sep 27, 2006 at 10:17:54PM +1200, Hamish wrote:

Alfonso Vitti wrote:
> does anybody know if it is possible to have a 3D vector with faces
> entities linked to a DB table?
> I have data about an urban area. Buildings are composed by walls and
> roofs faces, I'd like to import the data in GRASS preserving the
> geometry and the "building element" as much as possible and to link
> the resulting vector to a DB table.
> nviz has some capabilities to allow the mouse selection of vector
> entities and the visualization of the associated DB records. Is it
> possible for any 3D geometry entities, including faces, or only for
> vector points?

give faces of the same building a common category number.

maybe v.extract to select only buildings you want.

I think Markus has already done this? See screenshots of 3D Trento:

http://mirror.aarnet.edu.au/pub/grass/grass61/screenshots/images/qgis08_grass6_toolbox.png

This is based on the categories. There was no DB connection.

AFAIK you cannot (yet) add a DB to faces. This should be
added.

Markus