Vector Data Model

Da GfossWiki.

Guida di
Quantum GIS 0.7

Qgislogo.png

Vector Data Model

Indice


Il testo inglese è tratto dal
sito ufficiale.
Come collaborare alla traduzione

Modello di Dati Vettoriali

E’ importante capire il modello di dati vettoriali GRASS prima di digitalizzarlo. In generale, GRASS utilizza un modello topologico vettoriale. Questo significa che le aree non vengono rappresentate come poligoni chiusi, ma attraverso uno o più confini. Un confine fra due aree adiacenti viene digitalizzato solo una volta, ed è condiviso da entrambe le aree. I confini devono essere collegati senza spazi. Un'area viene identificata (etichettata) dal centroide dell'area.

Oltre ai confini e ai centroidi, una mappa vettoriale può anche contenere punti e linee. Tutti questi elementi geometrici possono essere uniti in un vettore e verrà rappresentato in differenti 'layers'(così verranno definiti) all'interno di QGIS.

E’ possibile archiviare più 'livelli' in un dataset vettoriale. Per esempio, campi, foreste e laghi possono essere archiviati in uno stesso vettore. Foreste e laghi adiacenti possono condividere gli stessi confini, ma avranno differenti tavole delle caratteristiche. E’ possibile anche allegare delle caratteristiche ai confini. Per esempio, il confine fra un lago ed una foresta è una strada, che potrà avere una tavola delle caratteristiche diversa.

Il 'livello' delle caratteristiche è definto dal 'livello' dentro GRASS. 'Livello' è il numero che definisce se c'è più di un livello nel dataset, per esempio se la geometria è foresta o lago. Per adesso, può essere solo un numero, in futuro GRASS supporterà anche i nomi dei campi nell’interfaccia dell’utente.

Le caratteristiche sono archiviate in tavole esterne del database, per esempio DBF, PostgreSQL, MySQL, SQLITE3 ecc..

Le caratteristiche contenute nelle tabelle del dataset sono collegate agli elementi geometrici usando 'Categorie'. 'Categorie' (chiave, ID) è un numero intero annesso alle geometrie primitive, ed è utilizzato come collegamento ad una colonna nella tabella del database.

Consiglio 27: Imparare il modello vettoriale GRASS Il modo migliore per imparare il modello vettoriale GRASS e la sue capacità è quello di scaricare uno dei tanti Tutorial GRASS, dove il modello vettoriale è desctritto in maniera più approfondita. Vedi http://grass.itc.it/gdp/manuals.php per maggiori informazioni, per gli eventuali testi e tutorial in diverse lingue.


It is important to understand the GRASS vector data model prior to digitizing. In general, GRASS uses a topological vector model. This means that areas are not represented as closed polygons, but by one or more boundaries. A boundary between two adjacent areas is digitized only once, and it is shared by both areas. Boundaries must be connected without gaps. An area is identified (labeled) by the centroid of the area.

Besides boundaries and centroids, a vector map can also contain points and lines. All these geometry elements can be mixed in one vector and will be represented in different so called 'layers' inside QGIS. It is possible to store more 'layers' in one vector dataset. For example, �elds, forests and lakes can be stored in one vector. Adjacent forest and lake can share the same boundary, but they have separate attribute tables. It is also possible to attach attributes to boundaries. For example, the boundary between lake and forest is a road, so it can have a different attribute table. The 'layer' of the feature is defined by 'field' (sorry for this name). 'Field' is the number which defines if the geometry is forest or lake. For now, it can be only a number, in the future GRASS will also support names as fields in the user interface.

Attributes are stored in external database tables, for example DBF, PostgreSQL, etc.

Attributes in database tables are linked to geometry elements using 'category'. 'Category' (key, ID) is an integer attached to geometry primitives, and it is used as the link to one column in the database table.

Tip 27: LEARNING THE GRASS VECTOR MODEL The best way to learn the GRASS vector model and its capabilities you can download one out of many GRASS Tutorial where the vector-modell is described more deeply. See http://grass.itc.it/gdp/manuals.php for more infos, books and tutorials in several languages.

Strumenti personali
Namespace
Varianti
Azioni
menu principale
GFOSS
Strumenti