肚脐周围痛挂什么科| 脑梗有什么前兆| 瘦肉是什么肉| 小龙虾不能和什么一起吃| 花重锦官城的重是什么意思| 胃热吃什么| 威海的海是什么海| 妇科检查清洁度二度是什么意思| 12月什么星座| 头孢和什么不能一起吃| 鸡内金有什么功效| dell是什么牌子的电脑| 洗发水和洗发露有什么区别| eb病毒iga抗体阳性是什么意思| 什么水果对胃好更养胃| 脾胃是什么| 心绞痛有什么症状| 什么茶最好| 什么是白肺| denim是什么意思| 脑炎是什么病严重吗| 突然头晕恶心是什么原因| lck是什么意思| 雾化治疗的作用是什么| 视黄醇是什么| 膀胱结石是什么症状| 什么叫糖类抗原| 火药是什么时候发明的| 减肥什么时候喝牛奶| 本能反应是什么意思| 燕窝是什么东西做成的| 拔罐后发痒是什么原因| 宫外孕是什么意思| 怎么知道自己五行缺什么| 奢饰品是什么意思| 梦见撞车是什么预兆| 梦见把头发剪短了是什么意思| 猫砂是什么| 陈醋和蜂蜜一起喝有什么好处| 孕中期失眠是什么原因| 梦见自己出轨是什么意思| 无花果不能和什么一起吃| 女性肾虚吃什么补最好最快| 薇字五行属什么| 大便有凹槽是什么原因| 无可厚非什么意思| 梦见长白头发是什么意思| 什么叫总胆红素| 男同叫什么| 肾不好挂什么科| 7月八号是什么星座| 麝香保心丸治什么病| 甲状腺囊肿不能吃什么| 胸部疼痛挂什么科| 什么是贵妇脸| 红红火火是什么生肖| 夏天适合种植什么蔬菜| 牛油果是什么季节的水果| 六月二十一是什么日子| 尿酸高什么症状| 老年斑用什么药膏可以去掉| 打葡萄糖点滴有什么用| 什么动物怕水| 慢性萎缩性胃炎吃什么药可以根治| 睾丸积液吃什么药| 什么叫肾阳虚肾阴虚| 为什么会得湿疹| 苏轼为什么反对王安石变法| 什么掌不能拍| 高干是什么意思| 怀孕为什么会流褐色分泌物| 乳腺挂什么科室| 肌酐清除率是什么意思| 多普勒超声检查是什么| 弃猫效应是什么| 将军代表什么生肖| 什么是尿素| 冷酷是什么意思| 叶子为什么是绿色的| ugg是什么品牌| 盆腔炎是什么原因引起的| 自变量是什么| 核辐射是什么| bpm是什么单位| 浮白是什么意思| 昱这个字念什么| 奇异是什么意思| 梦见自己家被盗有什么预兆| 可是什么意思| 脚心疼痛是什么原因引起的| 1月22日是什么星座| 吃什么补肺养肺比较好| 脚趾起水泡是什么原因| 什么叫打飞机| 勾引是什么意思| 肛周脓肿什么症状| 痰湿瘀阻是什么症状| 小孩晚上不睡觉是什么原因| 脸部神经跳动吃什么药| 女人裹脚是从什么时候开始的| 奥康属于什么档次| 讣告是什么意思| 女人小便出血是什么原因| 世界上最多笔画的字是什么| 不知道为什么| 娃娃衫配什么裤子图片| 6月25什么星座| 炖排骨放什么调料| 推背有什么好处和坏处| 美国为什么叫鹰酱| 早上起来流鼻血是什么原因| 补票是什么意思| 什么是五毒| 曼龙鱼能和什么鱼混养| 吐白痰是什么原因| 撸管是什么意思| 胎盘2级是什么意思| 手指脱皮是什么原因引起的| 花儿乐队为什么解散| 什么叫体制内| 痛风什么感觉| c14呼气试验是检查什么的| 抗hp治疗是什么意思| 10月2号是什么星座| 胚发育成什么| 想什么| 为什么会尿酸高| 猫怕什么气味| 无名指比食指长代表什么| 梦见洗手是什么意思| 嬴荡和嬴政什么关系| ecco是什么品牌| 三伏是什么意思| 做梦翻车了什么预兆| 站姐是什么意思| poscer是什么牌子的手表| 小孩补铁吃什么| 红曲红是什么| 休学什么意思| 女人补肾吃什么药| mri是什么检查| 泌尿外科是看什么的| kai是什么意思| 喝椰子水有什么好处| 被香灰烫了预示着什么| 跨境电子商务是什么| ir是什么意思| 2022年是什么生肖| 澳门用什么钱币| 人活着到底是为了什么| 怀孕养猫对胎儿有什么影响| 小炒皇是什么菜| 排卵期是什么意思| 竹棉和纯棉有什么区别| 耳朵后面是什么穴位| 考警校需要什么条件| 寡糖是什么| 阿奇霉素是什么药| 声情并茂的意思是什么| 锌是补什么的| 渐入佳境是什么意思| 狰狞是什么意思| 九月八号什么星座| 玫瑰疹是什么病| 甲状腺钙化是什么意思| 肾虚型脱发是什么样子| 什么是梭织面料| 7月1日什么星座| 托塔李天王的塔叫什么| 贫血要做什么检查| 泌尿外科主要检查什么| hape是什么牌子| 伏羲是什么意思| 成龙姓什么| 人流后吃什么恢复快| 老年人爱出汗是什么原因| 虎视眈眈是什么意思| 男生做爱什么感觉| 纺织业属于什么行业| 沙僧是什么动物| 膝盖疼痛用什么药| 胆结石吃什么| 月季花是什么颜色的| 大连机场叫什么名字| 叉烧炒什么菜好吃| 谨记的意思是什么| 柠檬黄配什么颜色好看| 社论是什么| 鸽子吃什么食物| 什么时间量血压最准确| 人流后可以吃什么| 万里长城是什么生肖| 水猴子长什么样子| 合拢是什么意思| 同房出血是什么原因造成的| 水代表什么数字| 吃什么提高免疫力最好最快| 沏茶是什么意思| 脚底长水泡是什么原因| 潴留是什么意思| 针眼用什么眼药水| 什么品种的西瓜最好吃| 棱长是什么意思| 血脂高吃什么食物| 长智齿一般什么年龄| 男人右眼皮跳是什么预兆| 什么是执念| ab型和ab型生的孩子是什么血型| 江团鱼是什么鱼| 什么是腺样体肥大| 燃气是什么气体| skp是什么品牌| 胎盘2级是什么意思| 什么的窟窿| 6月份种什么菜| 为什么头会一阵一阵的痛| 拉肚子想吐是什么原因| 眼睛长黄斑是什么原因| 月子中心是做什么的| 南京鸡鸣寺求什么灵| 英五行属什么| 梦见大水是什么预兆| 小孩子腿疼是什么原因| 什么情况需要打狂犬疫苗| 5月21日是什么星座| 阴阳人是什么意思| 胃热吃什么中成药| 卵巢钙化灶是什么意思| 车加昆念什么| 三焦是什么器官| 南瓜什么人不能吃| 马不停蹄是什么生肖| 处男是什么| 胰腺有什么作用| 屁股长痘痘用什么药膏| 血小板平均体积偏高是什么意思| 坐飞机要带什么证件| 鱼露是什么味道| 公安局局长是什么级别| 巨细胞病毒是什么| 谷草谷丙偏高是什么意思| 三长两短是什么意思| 肤专家软膏主要治什么| 白细胞减少吃什么药| 舌头痛吃什么药好得快| 总蛋白偏低是什么意思| 婴儿呛奶是什么原因引起的| 吃什么能润肠通便| 青云志是什么意思| 骨转移用什么药| 什么分泌胆汁| 盛夏什么意思| 多愁善感的动物是什么生肖| 久站腿肿是什么原因引起的| 放射科检查什么| 凌波鱼是什么鱼| 脸上起红疙瘩是什么原因| 神戳戳是什么意思| 木加号读什么| p是什么意思啊| 地笼捕河虾用什么诱饵| 毛囊长什么样子| 三个小是什么字| bm什么意思| 百度Jump to content

缅甸总统吴廷觉因健康原因辞职 无碍政局稳定

From Wikipedia, the free encyclopedia
百度 在实现全国统筹之前,这是一个有效的过渡性举措。

A spatial database is a general-purpose database (usually a relational database) that has been enhanced to include spatial data that represents objects defined in a geometric space, along with tools for querying and analyzing such data.

Most spatial databases allow the representation of simple geometric objects such as points, lines and polygons. Some spatial databases handle more complex structures such as 3D objects, topological coverages, linear networks, and triangulated irregular networks (TINs). While typical databases have developed to manage various numeric and character types of data, such databases require additional functionality to process spatial data types efficiently, and developers have often added geometry or feature data types.

Geographic database (or geodatabase) is a georeferenced spatial database, used for storing and manipulating geographic data (or geodata, i.e., data associated with a location on Earth),[a] especially in geographic information systems (GIS). Almost all current relational and object-relational database management systems now have spatial extensions, and some GIS software vendors have developed their own spatial extensions to database management systems.

The Open Geospatial Consortium (OGC) developed the Simple Features specification (first released in 1997)[1] and sets standards for adding spatial functionality to database systems.[2] The SQL/MM Spatial ISO/IEC standard is a part of the structured query language and multimedia standard extending the Simple Features.[3]

Characteristics

[edit]

The core functionality added by a spatial extension to a database is one or more spatial datatypes, which allow for the storage of spatial data as attribute values in a table.[4] Most commonly, a single spatial value would be a geometric primitive (point, line, polygon, etc.) based on the vector data model. The datatypes in most spatial databases are based on the OGC Simple Features specification for representing geometric primitives. Some spatial databases also support the storage of raster data. Because all geographic locations must be specified according to a spatial reference system, spatial databases must also allow for the tracking and transformation of coordinate systems. In many systems, when a spatial column is defined in a table, it also includes a choice of coordinate system, chosen from a list of available systems that is stored in a lookup table.

The second major functionality extension in a spatial database is the addition of spatial capabilities to the query language (e.g., SQL); these give the spatial database the same query, analysis, and manipulation operations that are available in traditional GIS software. In most relational database management systems, this functionality is implemented as a set of new functions that can be used in SQL SELECT statements. Several types of operations are specified by the Open Geospatial Consortium standard:

  • Measurement: Computes line length, polygon area, the distance between geometries, etc.
  • Geoprocessing: Modify existing features to create new ones, for example by creating a buffer around them, intersecting features, etc.
  • Predicates: Allows true/false queries about spatial relationships between geometries. Examples include "do two polygons overlap?" or 'is there a residence located within a mile of the area we are planning to build the landfill?' (see DE-9IM)
  • Geometry Constructors: Creates new geometries, usually by specifying the vertices (points or nodes) which define the shape.
  • Observer Functions: Queries that return specific information about a feature, such as the location of the center of a circle.

Some databases support only simplified or modified sets of these operations, especially in cases of NoSQL systems like MongoDB and CouchDB.

Spatial index

[edit]

A spatial index is used by a spatial database to optimize spatial queries, implementing spatial access methods. Database systems use indices to quickly look up values by sorting data values in a linear (e.g. alphabetical) order; however, this way of indexing data is not optimal for spatial queries in two- or three-dimensional space. Instead, spatial databases use a spatial index designed specifically for multi-dimensional ordering.[5] Common spatial index methods include:

Spatial query

[edit]

A spatial query is a special type of database query supported by spatial databases, including geodatabases. The queries differ from non-spatial 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.

The function names for queries differ across geodatabases. The following are a few of the 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):[7]

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

  • ST_Distance(geometry, geometry) : number
  • ST_Equals(geometry, geometry) : boolean
  • ST_Disjoint(geometry, geometry) : boolean
  • ST_Intersects(geometry, geometry) : boolean
  • ST_Touches(geometry, geometry) : boolean
  • ST_Crosses(geometry, geometry) : boolean
  • ST_Overlaps(geometry, geometry) : boolean
  • ST_Contains(geometry, geometry) : boolean
  • ST_Length(geometry) : number
  • ST_Area(geometry) : number
  • ST_Centroid(geometry) : geometry
  • ST_Intersection(geometry, geometry) : geometry

Thus, a spatial join between a points layer of cities and a polygon layer of countries could be performed in a spatially-extended SQL statement as:

SELECT * FROM cities, countries WHERE ST_Contains(countries.shape, cities.shape)

The Intersect vector overlay operation (a core element of GIS software) could be replicated as:

SELECT ST_Intersection(veg.shape, soil.shape) int_poly, veg.*, soil.* FROM veg, soil where ST_Intersects(veg.shape, soil.shape)

Spatial database management systems

[edit]

List

[edit]
  • AllegroGraph – a graph database which provides a mechanism for efficient storage and retrieval of two-dimensional geospatial coordinates for Resource Description Framework data.[citation needed] It includes an extension syntax for SPARQL queries.
  • ArangoDB - a multi-model database which provides geoindexing capability.
  • Apache Drill - A MPP SQL query engine for querying large datasets. Drill supports spatial data types and functions [8] similar to PostgreSQL.
  • Esri Geodatabase (Enterprise, Mobile) - a proprietary spatial database structure and logical model that can be implemented on several relational databases, both commercial (Oracle, MS SQL Server, Db2) and open source (PostgreSQL, SQLite)
  • Caliper extends the Raima Data Manager with spatial datatypes, functions, and utilities.
  • CouchDB a document-based database system that can be spatially enabled by a plugin called Geocouch
  • Elasticsearch is a document-based database system that supports two types of geo data: geo_point fields which support lat/lon pairs, and geo_shape fields, which support points, lines, circles, polygons, multi-polygons, etc.[9]
  • GeoMesa is a cloud-based spatio-temporal database built on top of Apache Accumulo and Apache Hadoop (also supports Apache HBase, Google Bigtable, Apache Cassandra, and Apache Kafka). GeoMesa supports full OGC Simple Features and a GeoServer plugin.
  • H2 supports geometry types[10] and spatial indices[11] as of version 1.3.173 (2025-08-06). An extension called H2GIS available on Maven Central gives full OGC Simple Features support.
  • Any edition of IBM Db2 can be spatially-enabled to implement the OpenGIS spatial functionality with SQL spatial types and functions.
  • IBM Informix Geodetic and Spatial datablade extensions auto-install on use and expand Informix's datatypes to include multiple standard coordinate systems and support for RTree indexes. Geodetic and Spatial data can also be incorporated with Informix's Timeseries data support for tracking objects in motion over time.
  • Linter SQL Server supports spatial types and spatial functions according to the OpenGIS specifications.
  • Microsoft SQL Server has support for spatial types since version 2008
  • MonetDB/GIS extension for MonetDB adds OGS Simple Features to the relational column-store database.[12]
  • MySQL DBMS implements the datatype geometry, plus some spatial functions implemented according to the OpenGIS specifications.[13] However, in MySQL version 5.5 and earlier, functions that test spatial relationships are limited to working with minimum bounding rectangles rather than the actual geometries. MySQL versions earlier than 5.0.16 only supported spatial data in MyISAM tables. As of MySQL 5.0.16, InnoDB, NDB, BDB, and ARCHIVE also support spatial features.
  • Neo4j – a graph database that can build 1D and 2D indexes as B-tree, Quadtree and Hilbert curve directly in the graph
  • OpenLink Virtuoso has supported SQL/MM since version 6.01.3126,[14] with significant enhancements including GeoSPARQL in Open Source Edition 7.2.6, and in Enterprise Edition 8.2.0[15]
  • Oracle Spatial
  • PostgreSQL DBMS (database management system) uses the extension PostGIS to implement OGC-compliant [16] spatial functionality, including standardized datatype geometry and corresponding functions.
  • Redis with the Geo API.[17]
  • RethinkDB supports geospatial indexes in 2D.
  • SAP HANA supports geospatial with SPS08.[18]
  • Smallworld VMDS, the native GE Smallworld GIS database
  • SpaceTime is a commercial spatiotemporal database built on top of the proprietary multidimensional index similar to the k-d tree family, but created using the bottom-up approach and adapted to particular space-time distribution of data.
  • Spatial Query Server from Boeing spatially enables Sybase ASE.
  • SpatiaLite extends Sqlite with spatial datatypes, functions, and utilities.
  • Tarantool supports geospatial queries with RTREE index.[19]
  • Teradata Geospatial includes 2D spatial functionality (OGC-compliant) in its data warehouse system.
  • Vertica Place, the geo-spatial extension for HP Vertica, adds OGC-compliant spatial features to the relational column-store database.[20]

Table of free systems especially for spatial data processing

[edit]
DBS License Distributed Spatial objects Spatial functions PostgreSQL interface UMN MapServer interface Documentation Modifiable HDFS
Apache Drill Apache License 2.0 yes yes yes - Drill Geospatial Functions Documentation yes no Official Documentation ANSI SQL yes
ArangoDB Apache License 2.0 yes yes yes - capabilities overview query language functions no no official documentation AQL no
GeoMesa Apache License 2.0 yes yes (Simple Features) yes (JTS) no (manufacturable with GeoTools) no parts of the functions, a few examples with Simple Feature Access in Java Virtual Machine and Apache Spark are all kinds of tasks solvable yes
H2 (H2GIS) LGPL 3 (since v1.3), GPL 3 before no yes (custom, no raster) Simple Feature Access and custom functions for H2Network yes no yes (homepage) SQL no
Ingres GPL or proprietary yes (if extension is installed) yes (custom, no raster) Geometry Engine, Open Source[21] no with MapScript just briefly with C and OME no
Neo4J-spatial[22] GNU affero general public license no yes (Simple Features) yes (contain, cover, covered by, cross, disjoint, intersect, intersect window, overlap, touch, within and within distance) no no just briefly fork of JTS no
PostgreSQL with PostGIS GNU General Public License no yes (Simple Features and raster) yes (Simple Feature Access and raster functions) yes yes detailed SQL, in connection with R no
Postgres-XL with PostGIS Mozilla public license and GNU general public license yes yes (Simple Features and raster) yes (Simple Feature Access and raster functions) yes yes PostGIS: yes, Postgres-XL: briefly SQL, in connection with R or Tcl or Python no
Rasdaman server GPL, client LGPL, enterprise proprietary yes just raster raster manipulation with rasql yes with Web Coverage Service or Web Processing Service detailed wiki own defined function in enterprise edition no
RethinkDB AGPL yes yes
  • distance
  • getIntersecting
  • getNearest
  • includes
  • intersects
no no official documentation[23] forking no

See also

[edit]

Notes

[edit]
  1. ^ The term "geodatabase" may also refer specifically to a set of proprietary spatial database formats, Geodatabase (Esri).

References

[edit]
  1. ^ McKee, Lance (2016). "OGC History (detailed)". OGC. Retrieved 2025-08-06. [...] 1997 [...] OGC released the OpenGIS Simple Features Specification, which specifies the interface that enables diverse systems to communicate in terms of 'simple features' which are based on 2D geometry. The supported geometry types include points, lines, linestrings, curves, and polygons. Each geometric object is associated with a Spatial Reference System, which describes the coordinate space in which the geometric object is defined.
  2. ^ OGC Homepage
  3. ^ Kresse, Wolfgang; Danko, David M., eds. (2010). Springer handbook of geographic information (1. ed.). Berlin: Springer. pp. 82–83. ISBN 9783540726807.
  4. ^ Yue, P.; Tan, Z. "DM-03 - Relational DBMS and their Spatial Extensions". GIS&T Body of Knowledge. UCGIS. Retrieved 5 January 2023.
  5. ^ Zhang, X.; Du, Z. "DM-66 Spatial Indexing". GIS&T Body of Knowledge. UCGIS. Retrieved 5 January 2023.
  6. ^ Güting, Ralf Hartmut; Schneider, Markus (2005). Moving Objects Databases. Morgan Kaufmann. p. 262. ISBN 9780120887996.
  7. ^ "PostGIS Function Reference". PostGIS Manual. OSGeo. Retrieved 4 January 2023.
  8. ^ [1] Drill Geospatial Function Documentation
  9. ^ "Geo queries | Elasticsearch Guide [7.15] | Elastic".
  10. ^ H2 geometry type documentation
  11. ^ H2 create spatial index documentation
  12. ^ "GeoSpatial – MonetDB". 4 March 2014.
  13. ^ "MySQL 5.5 Reference Manual - 12.17.1. Introduction to MySQL Spatial Support". Archived from the original on 2025-08-06. Retrieved 2025-08-06.
  14. ^ OpenLink Software. "9.34. Geometry Data Types and Spatial Index Support". Retrieved October 24, 2018.
  15. ^ OpenLink Software (2025-08-06). "New Releases of Virtuoso Enterprise and Open Source Editions". Retrieved October 24, 2018.
  16. ^ "OGC Certified PostGIS".
  17. ^ "Command reference – Redis".
  18. ^ "SAP Help Portal" (PDF).
  19. ^ "RTREE". tarantool.org. Archived from the original on 2025-08-06.
  20. ^ "HP Vertica Place". 2 December 2015.
  21. ^ "GEOS".
  22. ^ "Neo4j Spatial is a library of utilities for Neo4j that facilitates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial". GitHub. 2025-08-06.
  23. ^ "ReQL command reference - RethinkDB".

Further reading

[edit]
[edit]
红豆和什么一起煮比较好 红烧肉用什么肉 吃一个海参相当于吃了什么 什么枯石烂 长疖子用什么药
折煞是什么意思 skap是什么牌子 跨宽穿什么裤子好看 开火念什么 今年54岁属什么生肖
拉夏贝尔属于什么档次 618是什么日子 百米12秒什么水平 水疗是什么意思 什么什么的阳光
气山读什么 1978属什么 坐月子可以喝什么饮料 吃阿司匹林有什么副作用 吉人天相好福气指什么生肖
nars是什么牌子hcv9jop0ns5r.cn 反酸水吃什么药hcv8jop7ns7r.cn 支原体衣原体是什么病inbungee.com 畅销是什么意思hcv9jop7ns2r.cn 眼睛有眼屎是什么原因引起的hcv9jop1ns2r.cn
甲状腺分泌什么激素hcv8jop9ns6r.cn e抗体阳性说明什么hcv7jop7ns3r.cn 胚包括什么hcv7jop4ns8r.cn kpi是什么意思啊hcv9jop6ns6r.cn 尿酸高不能吃什么蔬菜hcv9jop5ns5r.cn
头晕冒冷汗是什么原因hcv8jop0ns0r.cn 胸部疼痛是什么原因hcv7jop5ns6r.cn 备孕要注意什么hcv7jop7ns1r.cn 3月18日什么星座hcv8jop2ns2r.cn 酉是什么字hcv8jop1ns3r.cn
什么是三界五行shenchushe.com 蜂蜜水什么时间喝最好dayuxmw.com 阴道骚痒是什么原因hcv8jop5ns8r.cn 朝秦暮楚是什么生肖hcv9jop1ns3r.cn 天地人和是什么意思hcv9jop4ns5r.cn
百度