dvd是什么意思| 轻微脑震荡吃什么药| 你为什么背着我爱别人| 感性是什么意思| 阴盛阳衰什么意思| 天天晚上睡觉做梦是什么原因| 手麻疼是什么原因引起| 114514什么意思| 元素是什么| 眼睛总跳是什么原因| 10.21是什么星座| renewal什么意思| 什么是认知障碍| elf是什么意思| 桃花像什么| 腰肌劳损有什么症状| 什么牌子好| 血沉高意味着什么意思| 睡觉总醒是什么原因| 什么牌子的燃气灶质量好| 伶人是什么意思| 睾丸痒是什么原因| 子宫为什么长肌瘤| 子宫肌瘤手术后吃什么好| 肚子跳动是什么原因| 属羊的跟什么属相犯冲| 陈皮是什么| 瑞舒伐他汀什么时候吃最好| 什么是辅警| 咳嗽脑袋疼是什么原因| 西皮是什么皮| 加拿大签证需要什么材料| vdo是什么牌子| 陈丽华是慈禧什么人| 碱性磷酸酶偏低是什么意思| 什么是商| 峰值是什么意思| 刘邦和项羽是什么关系| 怀孕掉头发厉害是什么原因| 继发性闭经是什么意思| 飞机用什么燃油| 五月七号是什么星座| 脂肪瘤应该挂什么科| 头晕挂什么科室| 土豆炒什么好吃| 手脚热吃什么药效果好| ber是什么意思| 什么血型容易溶血| 4月10号是什么星座| 动物的脖子有什么作用| 杨枝甘露是什么意思| 举头三尺有神明是什么意思| 吃什么能降低尿蛋白| 心脏彩超主要检查什么| 腋下淋巴结肿大挂什么科| 红糖的原料是什么| 肚子胀痛什么原因| 肌酐偏低是什么意思| 肛门溃烂用什么药膏| 支那人什么意思| 一什么善心| 血糖高什么水果能吃| 豆包是什么| 老是饿是什么原因| MS医学上是什么意思| 引流是什么意思| 火召是什么字| 男朋友发烧该说些什么| 汗疱疹用什么药膏最好| 袖珍人是什么| 有是什么意思| 什么桥下没有水| 鬼最怕什么颜色| 结晶是什么| 医学ac是什么意思| 郁金香长什么样子| 八一是什么节| 汇总压缩是什么意思| 智利说什么语言| 国际是什么意思| 西红柿什么时候成熟| 罗曼蒂克什么意思| 喝什么茶| 白狗子是什么意思| 眉毛里有痣代表什么| 动则气喘是什么原因| 晨字属于五行属什么| 地中海贫血是什么意思| 喝什么茶对睡眠有帮助| 玉露茶属于什么茶| 医院院长什么级别| 鸡翅木是什么木| 睾丸瘙痒是什么原因| 全血是什么| 昭字五行属什么| 步长是什么意思| 稀字五行属什么| 昕字取名什么寓意| 心律不齐吃什么药好| 动脉斑块是什么意思| 哈达是什么| 不想长胡子有什么办法| 三拜九叩是什么意思| 便秘喝什么药| peak是什么牌子| 91年什么命| 鸡蛋属于什么类食品| 一般细菌培养及鉴定是检查什么| 梦见抓螃蟹是什么征兆| 学架子鼓有什么好处| 月经期间吃什么食物最好| 一见如什么| 2月15是什么星座| 极端是什么意思| 牙龈肿痛吃什么药好得快| 脚掌发麻是什么原因| 烧烤用什么油| 4月9号是什么星座| 过敏性鼻炎喷什么药| 孕晚期呕吐是什么原因| 7月15日是什么星座| 狗能吃巧克力吗为什么| 为什么会有鼻炎| 3d打印是什么意思| 笏是什么意思| 跳蚤最怕什么药| ost是什么意思| 黑芝麻和白芝麻有什么区别| 一个口一个我念什么| 绚丽夺目的意思是什么| 蒙脱石是什么东西| 训练有素是什么意思| 哮喘病有什么症状| maybach是什么车| 头皮痒用什么药最有效| 长期做梦是什么原因| 脑梗什么不能吃| 散瞳是什么意思| 双下肢静脉彩超主要检查什么| 任性妄为是什么意思| 铁蛋白低是什么意思| 晚上看见蛇有什么预兆| 水为什么是绿色的| 章鱼的血是什么颜色| 叩拜是什么意思| 血管性头痛吃什么药| 古代医生叫什么| 总咳嗽是什么原因| syp是什么意思| 经常放屁是什么病| et什么意思| 一岁半打什么疫苗| 梦见找对象是什么意思| 扒皮鱼是什么鱼| 白细胞一个加号什么意思| 游手好闲是什么意思| 山楂泡酒有什么功效| 来月经头疼是什么原因| 背疼挂什么科室最好| 太妃糖为什么叫太妃糖| 为什么要分手| 膝超伸是什么| 身份证借给别人有什么危害性| 大便暗红色是什么原因| 肾盂肾炎吃什么药好| 青海湖里面有什么鱼| 小月子吃什么水果| 什么是匝道| 喉炎是什么原因引起的| 梦遗是啥意思是什么| 拉肚子恶心想吐吃什么药| 做梦买房子是什么预兆| 宇舶手表什么档次| 为什么会得中耳炎| ct 是什么| rt是什么单位| 勇气是什么意思| 牙龈一直肿不消什么原因| 楷字五行属什么| 下腹隐隐作痛什么原因| 2007年属猪五行属什么| 亚硝酸盐是什么| 母女丼什么意思| 饭票是什么意思| 为什么一吃完饭就肚子疼| 过继是什么意思| 心律不齐吃什么药好| 海藻是什么植物| 子宫肌瘤吃什么药| 什么止疼药见效最快| 怀孕了有什么征兆| 下巴下面是什么部位| 贝壳是什么垃圾| 劲仔小鱼是什么鱼做的| 非萎缩性胃窦炎是什么意思| 红细胞偏高是什么意思| 周公吐哺天下归心是什么意思| 畸胎瘤是什么病严重吗| 脾胃湿热吃什么药好| 青色是什么色| 血脂和血糖有什么区别| 猪跟什么生肖配对最好| cv是什么意思| 书生是什么生肖| 海参是什么动物| 什么是水象星座| 皮肤瘙痒是什么原因| 散射光是什么意思| 50岁属什么| 拔罐后要注意什么| 荷花和莲花有什么区别| 争奇斗艳的斗是什么意思| 血压低吃什么水果| 女人梦见掉头发是什么征兆| phonics是什么意思| 焖子是什么做的| 口若悬河是指什么生肖| moss是什么意思| 带鱼屏是什么意思| 郭富城属什么生肖| 韶字五行属什么| 劼字取名的寓意是什么| 失眠挂什么科室| 荷花五行属什么| 低血压是什么意思| 眼皮红肿是什么原因引起的| 炒鱿鱼是什么意思| 冬至为什么吃水饺| au750是什么金属| 喝酒有什么好处| 壬午日五行属什么| 为什么来完月经下面痒| 紫癜是什么病| 2015属什么生肖| 2月2日什么星座| 低血压高吃什么药好| 拉黑色的屎是什么原因| 蜘蛛痣是什么原因引起的| 碧螺春属于什么茶类| 重度肠上皮化生是什么意思| 早上的太阳叫什么| 一夜白头是什么原因| 乳腺应该挂什么科| 七月份有什么节日吗| 起飞是什么意思| 4级残疾证有什么优惠政策| 经期喝什么茶好| 居住证是什么| ups是什么快递公司| 中药木香的功效与作用是什么| 为什么一生气就胃疼| 援交什么意思| 吃什么饭| 十二月二十号是什么星座| 白质脱髓鞘是什么病| 扭转乾坤什么意思| 姨妈期可以吃什么水果| 优生优育是什么意思| bbw女孩是什么意思| crayons什么意思| 北顶娘娘庙求什么灵验| 廿年是什么意思| 大脑记忆力下降是什么原因| 决堤什么意思| 百度

用车有二十年开车经验的老司机给咱分析:手动

百度 加时赛利用队友掩护和个人能力强攻内线要罚球的确是最佳选择,重要的是他能够把球罚进去。

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-07). 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-07. [...] 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-07. Retrieved 2025-08-07.
  14. ^ OpenLink Software. "9.34. Geometry Data Types and Spatial Index Support". Retrieved October 24, 2018.
  15. ^ OpenLink Software (2025-08-07). "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-07.
  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-07.
  23. ^ "ReQL command reference - RethinkDB".

Further reading

edit
edit
私密瘙痒是什么原因 吩咐是什么意思 浅表性胃炎什么症状 帅t是什么意思 减脂吃什么
糖五行属什么 sunnyday是什么意思 脚趾头麻木是什么原因 己未日五行属什么 推介会是什么意思
46属什么 乌龟一般吃什么东西 食指戴戒指代表什么 冰冻三尺的下一句是什么 bpd是什么
王爷是皇上的什么人 血脂指的是什么 蝉为什么要脱壳 左肾结石的症状是什么 胸闷气短是什么原因引起的
网球肘用什么方法能彻底治好呢hcv9jop1ns8r.cn 起飞是什么意思hcv8jop0ns2r.cn 助听器什么牌子的好chuanglingweilai.com 硝酸咪康唑乳膏和酮康唑乳膏有什么区别hcv8jop1ns2r.cn 预防保健科是做什么的hcv9jop1ns8r.cn
血管瘤长什么样子图片hcv8jop2ns2r.cn 贫血看什么指标hcv8jop8ns9r.cn 宝宝缺钙吃什么补得快adwl56.com 痰有腥臭味是什么原因huizhijixie.com 苑什么意思hcv8jop2ns2r.cn
医生和医师有什么区别hcv8jop4ns6r.cn QQ什么意思hcv9jop0ns6r.cn 低俗是什么意思chuanglingweilai.com 抑制什么意思hcv8jop8ns7r.cn 6月5号是什么星座hcv9jop4ns0r.cn
帝女花讲的是什么故事hcv8jop6ns0r.cn 一只耳朵响是什么原因hcv9jop8ns3r.cn 猫咪冠状病毒什么症状hcv8jop9ns4r.cn 荞麦长什么样子520myf.com 扁桃体结石有什么危害xjhesheng.com
百度