Spatial Database System
Spatial Database System
• Raster model:
• Vector Model
Spatial Datatypes:
• Point : 2 real numbers
• Line : sequence of points
• Region : area included inside n-points
Modeling :
Assume 2-D and GIS application, two basic things need to be represented:
• Objects in space: cities, forests, or rivers
♦ single objects
• Coverage/Field: say something about every point in space (e.g., partitions, thematic maps)
♦ spatially related collections of objects
Spatial primitives for objects
• Point: object represented only by its location in space, e.g. center of a state
• Line (actually a curve or ployline): representation of moving through or connections in space, e.g. road, river
• Region: representation of an extent in 2d-space, e.g. lake, city
Coverages
• Partition: set of region objects that are required to be disjoint (adjacency or region objects with common boundaries), e.g.
thematic maps
• Networks: embedded graph in plane consisting of set of points (vertices) and lines (edges) objects, e.g. highways, power supply
lines, rivers
Spatial relationships
• Topological relationships:
♦ E.g. adjacent, inside, disjoint.
♦ Are invariant under topological transformations like translation, scaling, rotation
• Direction relationships:
♦ E.g. above, below, or north_of, sothwest_of
• Metric relationships:
♦ E.g. distance