{"id":5075,"date":"2015-12-10T06:14:42","date_gmt":"2015-12-10T12:14:42","guid":{"rendered":"http:\/\/gisgeography.com\/?p=5075"},"modified":"2025-03-29T16:33:46","modified_gmt":"2025-03-29T21:33:46","slug":"spatial-databases","status":"publish","type":"post","link":"https:\/\/gisgeography.com\/spatial-databases\/","title":{"rendered":"Spatial Databases &#8211; Build Your Spatial Data Empire"},"content":{"rendered":"<style>.kb-image5075_8f84c1-27 .kb-image-has-overlay:after{opacity:0.3;}<\/style>\n<figure class=\"wp-block-kadence-image kb-image5075_8f84c1-27 size-medium_large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"374\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-768x374.png\" alt=\"Spatial Databases\" class=\"kb-img wp-image-8364\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-768x374.png 768w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-300x146.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-678x330.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-50x24.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-200x97.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-425x207.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-550x268.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-115x56.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-850x413.png 850w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-319x155.png 319w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png 993w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">What are Spatial Databases in GIS?<\/h2>\n\n\n\n<p>Spatial databases provide a strong foundation for accessing, storing, and managing your spatial data empire.<\/p>\n\n\n\n<p>A database is a collection of <strong>related information<\/strong> that permits the entry, storage, input, output, and organization of data.  A database management system (DBMS) serves as an interface between users and their databases.<\/p>\n\n\n\n<p>A <strong><em>spatial <\/em>database<\/strong> includes <strong>location<\/strong>.  It has geometry as points, lines, and polygons. GIS combines spatial data from many sources with many different people.  Databases connect users to the GIS database. <\/p>\n\n\n\n<p>For example, a city might have the wastewater division, land records, transportation, and fire departments connected and using datasets from common spatial databases.  Let&#8217;s take a closer look at spatial databases and how we use them in GIS.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">What is an attribute table in GIS?<\/h3>\n\n\n\n<p>Spatial features store <strong><em>where<\/em><\/strong> objects are located on a map.  But the attribute table explains <strong><em>what<\/em><\/strong> the objects on the map represent. For example, this could be anything from a category of plant to a land cover type or population value.<\/p>\n\n\n\n<p>Attribute tables are similar to spreadsheets.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"154\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-300x154.png\" alt=\"Attribute Table Example\" class=\"wp-image-52053\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-300x154.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-678x347.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-768x393.png 768w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-50x26.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-200x102.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-425x217.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-550x281.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-135x70.png 135w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-115x59.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example-360x184.png 360w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Attribute-Table-Example.png 1241w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>FIELDS<\/strong> have different types such as text (<em>strings<\/em>), integers (<em>whole number<\/em>s), and dates (<em>YYYY\/MM\/DD<\/em>). Field names are the title of the column names. A field name should be descriptive of the information that you enter in the column. For example, the average population may have a field name of <em>AVG_POP<\/em>.<\/p>\n\n\n\n<p><strong>ROWS<\/strong> in an attribute table represents a spatial feature in the data set or an associated record of that data set.  <\/p>\n\n\n\n<p>Rows in an attribute can have relationships with spatial features. There are three types of relationships: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One-to-one relationship<\/li>\n\n\n\n<li>One-to-many relationship <\/li>\n\n\n\n<li>Many-to-many relationship<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">One-to-one relationships tie one table with one table<\/h3>\n\n\n\n<p>What are one-to-one relationships in GIS? When you link one feature to one entry in a table, this is a one-to-one relationship (1-1). <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"124\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-425x124.png\" alt=\"one-to-one relationship\" class=\"wp-image-19143\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-425x124.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-300x87.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-678x198.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-50x15.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-200x58.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-550x160.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship-115x34.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-one-relationship.png 738w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/figure>\n<\/div>\n\n\n<p>What&#8217;s unique about Geographic Information Systems is that one table ties into geographic coordinates.  For example, here are the geographic locations of three cities in Germany:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"260\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-550x260.png\" alt=\"Table Coordinates\" class=\"wp-image-52050\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-550x260.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-300x142.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-678x322.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-768x363.png 768w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-1536x726.png 1536w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-2048x968.png 2048w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-50x24.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-326x155.png 326w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-200x95.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-425x201.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-115x54.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-1265x598.png 1265w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-360x170.png 360w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Table-Coordinates-1550x733.png 1550w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n<\/div>\n\n\n<p>As you can see, we can get some extra information about these five cities.  We learn their latitude and longitude.  Not only that, but we see additional information like their population.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">One-to-many relationships tie multiple records from a table together<\/h3>\n\n\n\n<p><em>What are one-to-many relationships?<\/em><\/p>\n\n\n\n<p>When you associate one spatial feature with multiple records in an attribute table this is a <strong>one-to-many relationship (1-M)<\/strong>.  In this case, there is a unique identifier in the spatial table that uniquely identifies each row in a table. These <strong>keys<\/strong> must exist in both the spatial and non-spatial attribute table. <\/p>\n\n\n\n<p>This unique ID (primary key) is the primary linkage between geographic data and the attribute table.  This key must exist in the related table as a <strong>foreign key<\/strong>. You can set up a 1-M relationship class by connecting unique IDs.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"124\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-425x124.png\" alt=\"one-to-many relationship\" class=\"wp-image-19144\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-425x124.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-300x87.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-678x198.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-50x15.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-200x58.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-550x160.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship-115x34.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2019\/04\/one-to-many-relationship.png 738w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/figure>\n<\/div>\n\n\n<p>For example, one survey site can have multiple observations over several years.  The survey site would have geographic coordinates.  The table that it ties with would have corresponding records associated with that unique ID.  The two fields that link up these attribute tables are the primary keys and must exist in both tables.<\/p>\n\n\n\n<p>You can see how we are <strong>reducing redundancy<\/strong>.  We are no longer storing the latitude and longitude in each observation.  This is because each latitude and longitude is only being stored once in the survey points table.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"227\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-550x227.png\" alt=\"One to Many Relationship Location\" class=\"wp-image-52057\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-550x227.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-300x124.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-678x279.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-768x317.png 768w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-1536x633.png 1536w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-2048x844.png 2048w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-50x21.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-200x82.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-425x175.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-115x47.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-1265x521.png 1265w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-360x148.png 360w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/One-to-Many-Relationship-Location-1550x639.png 1550w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Many-to-many relationships in GIS<\/strong> are much less common in GIS. This type of relationship exists when there are many entries in related attribute tables and vice versa.  You can generate an intersection table to associate many records together.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Relational database management system (RDBMS)<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"145\" height=\"176\" src=\"http:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/database-example.png\" alt=\"database example\" class=\"wp-image-8357\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/database-example.png 145w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/database-example-41x50.png 41w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/database-example-115x140.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/database-example-128x155.png 128w\" sizes=\"auto, (max-width: 145px) 100vw, 145px\" \/><\/figure>\n<\/div>\n\n\n<p>What is a relational database management system (RDBMS)?<\/p>\n\n\n\n<p>As explained above, the two fields that link up these attribute tables are the ID of the primary key.  What ties these tables together is the user setting up a 1-M relationship.<\/p>\n\n\n\n<p>This is an example of an RDBMS.<\/p>\n\n\n\n<p>RDBMS is a relational storage concept for data.  A relational database contains tables that hold records.  Each record holds fields containing data for that record.   <\/p>\n\n\n\n<p>It uses <strong>normalization<\/strong> to <strong>separate tables and link tables together<\/strong>.  Normalization doesn&#8217;t waste space.  It breaks out information into discrete components.  RDBMS reduces repetitive information.  In the example above, we take out duplicate information into multiple tables.  There&#8217;s a foreign key on one table and we can gain access to that table through a relationship.<\/p>\n\n\n\n<p>RDBMS can get very complex such as in the example below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"827\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Complex-Relational-Database.jpg\" alt=\"Complex Relational Database\" class=\"wp-image-96378\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Complex-Relational-Database.jpg 1200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Complex-Relational-Database-300x207.jpg 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Complex-Relational-Database-678x467.jpg 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Complex-Relational-Database-768x529.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">What is Boolean Algebra?<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"679\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Venn-Diagram-678x679.jpg\" alt=\"Venn Diagram\" class=\"wp-image-96373\" style=\"width:250px\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Venn-Diagram-678x679.jpg 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Venn-Diagram-300x300.jpg 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Venn-Diagram-150x150.jpg 150w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/12\/Venn-Diagram.jpg 750w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n<\/div>\n\n\n<p>Boolean algebra consists of conditions used to select features with a set of algebraic conditions. Conditions include AND, OR, or NOT.<\/p>\n\n\n\n<p>When you filter the displayed features in the map by setting up a definition query using Boolean algebra. For example, CITY = &#8220;LARGE&#8221; AND COUNTRY = &#8220;NORTH AMERICA&#8221; would filter out all the records that meet these criteria.<\/p>\n\n\n\n<p>In GIS, Boolean algebra creates a set of conditions used to select features with a set of algebraic conditions.  Conditions include AND, OR, or NOT.  We use Venn Diagrams to represent Boolean operations.  The name Boolean algebra originated by founder George Boole in 1847.<\/p>\n\n\n\n<p>Structured Query Language (SQL) is how users can interact with the database using Boolean algebra.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Spatial Database Examples<\/h3>\n\n\n\n<p>Here are some examples of spatial databases:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-medium-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"134\" src=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-425x134.png\" alt=\"Vector GIS File Format\" class=\"wp-image-8093\" style=\"width:425px;height:134px\" srcset=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-425x134.png 425w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-300x94.png 300w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-678x213.png 678w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-50x16.png 50w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-200x63.png 200w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-550x173.png 550w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-115x36.png 115w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer-493x155.png 493w, https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/vector-layer.png 764w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/desktop.arcgis.com\/en\/desktop\/latest\/manage-data\/geodatabases\/what-is-a-geodatabase.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Proprietary Esri File Geodatabases<\/a> store vector data, raster data, tables, topology, and relationships. Schemas ensure data integrity.  File geodatabases offer structural, performance, and data management advantages. <\/li>\n\n\n\n<li><a href=\"http:\/\/postgis.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Open source PostGIS<\/a> adds spatial objects to the cross-platform PostgreSQL database. The three features that PostGIS delivers to PostgreSQL DBMS are spatial types, indexes, and functions.  With support for different geometry types, the PostGIS spatial database allows querying and managing information about locations and mapping.  <\/li>\n\n\n\n<li>Other database examples include <a href=\"http:\/\/www.microsoft.com\/en-ca\/server-cloud\/products\/sql-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">SQL Server<\/a> (where geometry is just another data type, like char and int) and <a href=\"https:\/\/products.office.com\/en-ca\/access\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Access<\/a> (known as a personal geodatabase in ArcGIS).<\/li>\n<\/ul>\n\n\n\n<p>Spatial databases provide a mechanism for multiple users to simultaneously access shared spatial data &#8211; similar to a DBMS.<\/p>\n\n\n\n<p><strong>READ MORE:<\/strong> <a href=\"https:\/\/gisgeography.com\/geodatabase-personal-file\/\" target=\"_blank\" rel=\"noopener noreferrer\">What is a Geodatabase? Personal vs File Geodatabase<\/a><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\" style=\"padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">The Final Word on Spatial Databases<\/h3>\n\n\n\n<p>A database management system (DBMS) allows users to store, insert, delete, and update information in a database.<\/p>\n\n\n\n<p>RDBMS takes it a step further.  It reduces redundancy through normalization.  It links tables together through primary and foreign keys.<\/p>\n\n\n\n<p>Spatial databases go a <strong>step even further<\/strong> because they record data with geographic coordinates. <\/p>\n\n\n\n<p>From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data.  <\/p>\n\n\n\n<p>Start your <strong>spatial data empire<\/strong> using spatial databases.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.<\/p>\n","protected":false},"author":2,"featured_media":8364,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[91],"tags":[264],"class_list":["post-5075","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-sources","tag-gis-formats"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spatial Databases - Build Your Spatial Data Empire - GIS Geography<\/title>\n<meta name=\"description\" content=\"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gisgeography.com\/spatial-databases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spatial Databases - Build Your Spatial Data Empire - GIS Geography\" \/>\n<meta property=\"og:description\" content=\"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gisgeography.com\/spatial-databases\/\" \/>\n<meta property=\"og:site_name\" content=\"GIS Geography\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/gisgeography\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/gisgeography\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-10T12:14:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-29T21:33:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png\" \/>\n\t<meta property=\"og:image:width\" content=\"993\" \/>\n\t<meta property=\"og:image:height\" content=\"483\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GISGeography\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/GisGeography\" \/>\n<meta name=\"twitter:site\" content=\"@GisGeography\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GISGeography\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/\"},\"author\":{\"name\":\"GISGeography\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#\\\/schema\\\/person\\\/9e7385da3acea92bc45d45be5dfe191e\"},\"headline\":\"Spatial Databases &#8211; Build Your Spatial Data Empire\",\"datePublished\":\"2015-12-10T12:14:42+00:00\",\"dateModified\":\"2025-03-29T21:33:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/\"},\"wordCount\":1081,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/Spatial-Databases-Head.png\",\"keywords\":[\"GIS Formats\"],\"articleSection\":[\"Data Sources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/\",\"url\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/\",\"name\":\"Spatial Databases - Build Your Spatial Data Empire - GIS Geography\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/Spatial-Databases-Head.png\",\"datePublished\":\"2015-12-10T12:14:42+00:00\",\"dateModified\":\"2025-03-29T21:33:46+00:00\",\"description\":\"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/Spatial-Databases-Head.png\",\"contentUrl\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/Spatial-Databases-Head.png\",\"width\":993,\"height\":483,\"caption\":\"Spatial Databases\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/spatial-databases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gisgeography.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Sources\",\"item\":\"https:\\\/\\\/gisgeography.com\\\/category\\\/data-sources\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Spatial Databases &#8211; Build Your Spatial Data Empire\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#website\",\"url\":\"https:\\\/\\\/gisgeography.com\\\/\",\"name\":\"GIS Geography\",\"description\":\"Geographic Information Systems\",\"publisher\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gisgeography.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#organization\",\"name\":\"GIS Geography\",\"url\":\"https:\\\/\\\/gisgeography.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/cropped-GIS-Geography-Logo0.png\",\"contentUrl\":\"https:\\\/\\\/gisgeography.com\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/cropped-GIS-Geography-Logo0.png\",\"width\":500,\"height\":100,\"caption\":\"GIS Geography\"},\"image\":{\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/gisgeography\",\"https:\\\/\\\/x.com\\\/GisGeography\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gisgeography.com\\\/#\\\/schema\\\/person\\\/9e7385da3acea92bc45d45be5dfe191e\",\"name\":\"GISGeography\",\"description\":\"We help you learn Geographic Information Systems and remote sensing\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/gisgeography\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/GisGeography\"],\"url\":\"https:\\\/\\\/gisgeography.com\\\/author\\\/gisgeo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spatial Databases - Build Your Spatial Data Empire - GIS Geography","description":"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gisgeography.com\/spatial-databases\/","og_locale":"en_US","og_type":"article","og_title":"Spatial Databases - Build Your Spatial Data Empire - GIS Geography","og_description":"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.","og_url":"https:\/\/gisgeography.com\/spatial-databases\/","og_site_name":"GIS Geography","article_publisher":"https:\/\/www.facebook.com\/gisgeography","article_author":"https:\/\/www.facebook.com\/gisgeography","article_published_time":"2015-12-10T12:14:42+00:00","article_modified_time":"2025-03-29T21:33:46+00:00","og_image":[{"width":993,"height":483,"url":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png","type":"image\/png"}],"author":"GISGeography","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/GisGeography","twitter_site":"@GisGeography","twitter_misc":{"Written by":"GISGeography","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gisgeography.com\/spatial-databases\/#article","isPartOf":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/"},"author":{"name":"GISGeography","@id":"https:\/\/gisgeography.com\/#\/schema\/person\/9e7385da3acea92bc45d45be5dfe191e"},"headline":"Spatial Databases &#8211; Build Your Spatial Data Empire","datePublished":"2015-12-10T12:14:42+00:00","dateModified":"2025-03-29T21:33:46+00:00","mainEntityOfPage":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/"},"wordCount":1081,"commentCount":0,"publisher":{"@id":"https:\/\/gisgeography.com\/#organization"},"image":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png","keywords":["GIS Formats"],"articleSection":["Data Sources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gisgeography.com\/spatial-databases\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gisgeography.com\/spatial-databases\/","url":"https:\/\/gisgeography.com\/spatial-databases\/","name":"Spatial Databases - Build Your Spatial Data Empire - GIS Geography","isPartOf":{"@id":"https:\/\/gisgeography.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/#primaryimage"},"image":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/#primaryimage"},"thumbnailUrl":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png","datePublished":"2015-12-10T12:14:42+00:00","dateModified":"2025-03-29T21:33:46+00:00","description":"From geodatabases to PostGIS, spatial databases have quickly become the primary method of managing spatial data effectively in a GIS.","breadcrumb":{"@id":"https:\/\/gisgeography.com\/spatial-databases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gisgeography.com\/spatial-databases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gisgeography.com\/spatial-databases\/#primaryimage","url":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png","contentUrl":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head.png","width":993,"height":483,"caption":"Spatial Databases"},{"@type":"BreadcrumbList","@id":"https:\/\/gisgeography.com\/spatial-databases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gisgeography.com\/"},{"@type":"ListItem","position":2,"name":"Data Sources","item":"https:\/\/gisgeography.com\/category\/data-sources\/"},{"@type":"ListItem","position":3,"name":"Spatial Databases &#8211; Build Your Spatial Data Empire"}]},{"@type":"WebSite","@id":"https:\/\/gisgeography.com\/#website","url":"https:\/\/gisgeography.com\/","name":"GIS Geography","description":"Geographic Information Systems","publisher":{"@id":"https:\/\/gisgeography.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gisgeography.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gisgeography.com\/#organization","name":"GIS Geography","url":"https:\/\/gisgeography.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gisgeography.com\/#\/schema\/logo\/image\/","url":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/cropped-GIS-Geography-Logo0.png","contentUrl":"https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/cropped-GIS-Geography-Logo0.png","width":500,"height":100,"caption":"GIS Geography"},"image":{"@id":"https:\/\/gisgeography.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/gisgeography","https:\/\/x.com\/GisGeography"]},{"@type":"Person","@id":"https:\/\/gisgeography.com\/#\/schema\/person\/9e7385da3acea92bc45d45be5dfe191e","name":"GISGeography","description":"We help you learn Geographic Information Systems and remote sensing","sameAs":["https:\/\/www.facebook.com\/gisgeography","https:\/\/x.com\/https:\/\/twitter.com\/GisGeography"],"url":"https:\/\/gisgeography.com\/author\/gisgeo\/"}]}},"taxonomy_info":{"category":[{"value":91,"label":"Data Sources"}],"post_tag":[{"value":264,"label":"GIS Formats"}]},"featured_image_src_large":["https:\/\/gisgeography.com\/wp-content\/uploads\/2015\/11\/Spatial-Databases-Head-678x330.png",678,330,true],"author_info":{"display_name":"GISGeography","author_link":"https:\/\/gisgeography.com\/author\/gisgeo\/"},"comment_info":31,"category_info":[{"term_id":91,"name":"Data Sources","slug":"data-sources","term_group":0,"term_taxonomy_id":92,"taxonomy":"category","description":"","parent":0,"count":49,"filter":"raw","cat_ID":91,"category_count":49,"category_description":"","cat_name":"Data Sources","category_nicename":"data-sources","category_parent":0}],"tag_info":[{"term_id":264,"name":"GIS Formats","slug":"gis-formats","term_group":0,"term_taxonomy_id":266,"taxonomy":"post_tag","description":"","parent":0,"count":15,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/posts\/5075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/comments?post=5075"}],"version-history":[{"count":31,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/posts\/5075\/revisions"}],"predecessor-version":[{"id":96379,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/posts\/5075\/revisions\/96379"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/media\/8364"}],"wp:attachment":[{"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/media?parent=5075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/categories?post=5075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gisgeography.com\/wp-json\/wp\/v2\/tags?post=5075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}