Spatial query

Spatial query

A spatial query is a special type of database query supported by geodatabases. The queries differ from SQL queries in several important ways. Two of the most important are that they allow for the use of geometry data types such as points, lines and polygons and that these queries consider the spatial relationship between these geometries.

Types of queries

The function names for queries differ across geodatabases. The following list contains commonly used functions built into PostGIS, a free geodatabase which is a PostgreSQL extension (the term 'geometry' refers to a point, line, box or other two or three dimensional shape):

Function prototype: "functionName (parameter(s)) : return type "

*Distance(geometry, geometry) : number
*Equals(geometry, geometry) : boolean
*Disjoint(geometry, geometry) : boolean
*Intersects(geometry, geometry) : boolean
*Touches(geometry, geometry) : boolean
*Crosses(geometry, geometry) : boolean
*Overlaps(geometry, geometry) : boolean
*Contains(geometry, geometry) : boolean
*Intersects(geometry, geometry) : boolean
*Length(geometry) : number
*Area(geometry) : number
*Centroid(geometry) : geometry

For another definition of Spatial Query consult "A to Z GIS: An Illustrated Dictionary of Geographic Information Systems" from [http://gis.esri.com/esripress/ ESRI Press]

ee also

*Spatial database
*Nearest neighbor search


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Spatial database — A spatial database is a database that is optimized to store and query data related to objects in space, including points, lines and polygons. While typical databases can understand various numeric and character types of data, additional… …   Wikipedia

  • Spatial memory — In cognitive psychology and neuroscience, spatial memory is the part of memory responsible for recording information about one s environment and its spatial orientation. For example, a person s spatial memory is required in order to navigate… …   Wikipedia

  • Object-based spatial database — An object based spatial database is a spatial database that stores the location as objects. The object based spatial model treats the world as surface littered with recognizable objects (e.g. cities, rivers), which exist independent of their… …   Wikipedia

  • Oracle Spatial — Developer(s) Oracle Corporation Stable release 11g Release 2 Operating system Cross platform Type GIS …   Wikipedia

  • Molecular Query Language — The Molecular Query Language (MQL) was designed to allow more complex, problem specific search methods in chemoinformatics.[vague] ((more than what?)) The query language is based on an extended Backus–Naur form (EBNF) using JavaCC. In contrast to …   Wikipedia

  • Geodatabase — A geodatabase is a database designed to store, query, and manipulate geographic information and spatial data. It is also known as a spatial database.Within a spatial database, spatial data is treated as any other data type. Vector data can be… …   Wikipedia

  • C-squares — (acronym for the concise spatial query and representation system ) is a system of geocodes (actually a type of global grid) that provides a basis for simple spatial indexing of geographic features or data. It was devised by Tony Rees of CSIRO… …   Wikipedia

  • Minimum bounding rectangle — The minimum bounding rectangle (MBR), also known as bounding box or envelope, is an expression of the maximum extents of a 2 dimensional object (e.g. point, line, polygon) within its 2 D (x, y) coordinate system, in other words min(x), max(x),… …   Wikipedia

  • Sybase — Infobox Company company name = Sybase Inc. company company type = Public NYSE: [http://www.nyse.com/about/listed/lcddata.html?ticker=SY SY] foundation = Berkeley, California (1984) location = Dublin, California key people = John S. Chen; CEO,… …   Wikipedia

  • Пространственная база данных — Пространственная база данных  база данных (БД), оптимизированная для хранения и выполнения запросов к данным о пространственных объектах, представленных некоторыми абстракциями: точка, линия, полигон и др. (лишь отчасти соответствующих… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”