GITTA-Logo
PDF Version of this document Search Help Glossary

Lesson Navigation IconSpatial Queries

Unit Navigation IconIntroduction to spatial queries

LO Navigation IconThe information system

LO Navigation IconThe basic components of geographical information

LO Navigation IconQuery classification

LO Navigation IconInput / Output of a query

LO Navigation IconQuestions

Unit Navigation IconThematic query

Unit Navigation IconGeometric query

Unit Navigation IconTopological query

Unit Navigation IconSummary

Unit Navigation IconGlossary

Unit Navigation IconBibliography

Unit Navigation IconMetadata


GITTA/CartouCHe news:


Go to previous page Go to next page

Input / Output of a query

A query relates to specific datasets and the data type defines whether a certain query is possible or not. The common data types in a GIS are vector and raster and also tables. Thus, the queries on raster data are different than the queries on vector data, although the question to be answered is the same. The number of data sets included into the query also plays a role. The query can refer to a single or multiple data sets. The relationships between the data involved in the query are given via the termtopology (geometry) or the tables (theme). Tables can also be related to each other. The content of the tables can be linked via key attributes. Thus, a query can be performed over several linked tables.

Fig. F: Linked tablesFig. F: Linked tables

The result of a query can be presented in different forms. The result should be presented in a form which is easy for the user to read. Normally, the results are presented as maps, tables, or figures, or in another format which allows data sharing. The following are examples of data presentation:

  1. Digital data transfer
  2. Interactive graphics on screen
  3. Tables, reports, and similar representations
  4. Passive graphics in form of maps

Some examples

Layer 1 Layer 2 Inputs Query Type Res. table Res. graphic
Find the buildings, which have an area of more than 100m2. THEM
Find the buildings, which have an area of more than 100m2 and which are within a distance of 100m to Adelriver. GEOM + THEM
Find the buildings, which are completely within the forest. TOPO
Find the area, which is within a distance of 100 m to Adelriver. GEOM
Find the building, which is closest to Adelriver. GEOM

Exercise

What does the spatial information in a GIS mainly consist of?

Top Go to previous page Go to next page