SlideShare a Scribd company logo
Building a Spatial Database in PostgreSQL David Blasby Refractions Research [email_address] http://postgis.refractions.net
Introduction ,[object Object],[object Object],[object Object]
Topics of Discussion ,[object Object],[object Object],[object Object]
Why PostGIS? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is a Spatial Database? ,[object Object],[object Object],[object Object]
What is Spatial data? ,[object Object]
What is Spatial data? ,[object Object]
Roads are represented as Lines  Mail Boxes are represented as Points
Topic Three ,[object Object]
Topic Three ,[object Object]
Spatial Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object]
Spatial Relationships ,[object Object]
Spatial Relationships ,[object Object]
Spatial Relationships ,[object Object]
[object Object]
Spatial Relationships ,[object Object]
Spatial Relationships ,[object Object]
Most Organizations have Spatial Data ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why put spatial data in a RDBMS?  ,[object Object],[object Object],[object Object],[object Object]
Historically?  ,[object Object],[object Object]
Advantages of Spatial Databases  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
Advantages of Spatial Databases  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Advantages of Spatial Databases  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Original Polygons Union Intersection
Original river network Buffered rivers
Advantages of Spatial Databases  ,[object Object],[object Object],[object Object]
Advantages of Spatial Databases  ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Disadvantages of Spatial Databases  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Spatial Database Offerings  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The OpenGIS Consortium  ,[object Object],[object Object]
The OpenGIS Consortium  ,[object Object],[object Object]
Who is involved in the OpenGIS Consortium?  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Important OpenGIS Publications  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why make PostgreSQL into an OpenGIS SFSQL Spatial DB?  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why make PostgreSQL into an OpenGIS SFSQL Spatial DB?  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Implementing the OpenGIS specification.  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Spatial Indexing  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
R-Tree Indexing  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
R-Tree Indexing  Overlap
R-Tree Indexing  Distance
Guttman A.: 'R-trees: A Dynamic Index Structure for Spatial Searching', Proc ACM SIGMOD Int. Conf. on Management of Data, 1984
SQL example  Create “pubs” table create table pubs (name varchar,   beer_price float4); addgeometrycolumn(‘beer_db’,'pubs','location’   ,2167,'POINT',3);
Insert data insert into pubs values ( 'Garricks Head', 4.50, GeometryFromText( 'POINT (1196131 383324)’  ,2167)  );
Perform Query select name, beer_price,  distance(location, GeometryFromText('POINT(1195722 383854)',2167))  from pubs order by beer_price; name  | beer_price |  distance  ---------------+------------+------------------ Fireside  |  4.25 | 1484.10275160491 The Forge  |  4.33 | 1533.06561109862 Rumours  |  4.46 | 2042.00094093097 Garricks Head |  4.5 | 669.389105609889 Slap Happy  |  4.5 | 1882.31910168298 Old Bailys  |  4.55 | 1147.20900404641 Black Sheep  |  4.66 | 536.859935972633 Big Bad Daves |  4.75 | 907.446543878884
Perform Query select name, beer_price + 0.001 * distance(location, GeometryFromText('POINT(1195722 383854)',2167)) as net_price from pubs order by price; name  |  net_price  ---------------+------------------ Garricks Head | 5.16938910560989 Black Sheep  | 5.19685978338474 Big Bad Daves | 5.65744654387888 Old Bailys  | 5.69720919478127 Fireside  | 5.73410275160491 The Forge  | 5.86306553480468 Slap Happy  | 6.38231910168298 Rumours  | 6.50200097907794
Client Software  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Open Standards in a Proprietary World  ,[object Object],[object Object],[object Object]
Status  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Conclusions  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions David Blasby Refractions Research [email_address]   http://postgis.refractions.net

More Related Content

What's hot

Introduction to gis
Introduction to gisIntroduction to gis
Introduction to gis
Habibur Rahman
 
FOSS4G 2017 Spatial Sql for Rookies
FOSS4G 2017 Spatial Sql for RookiesFOSS4G 2017 Spatial Sql for Rookies
FOSS4G 2017 Spatial Sql for Rookies
Todd Barr
 
GIS
GISGIS
Getting Started with PostGIS
Getting Started with PostGISGetting Started with PostGIS
Getting Started with PostGIS
EDB
 
Open Source GIS
Open Source GISOpen Source GIS
Open Source GIS
Joe Larson
 
Spatial Data Model
Spatial Data ModelSpatial Data Model
Spatial Data Model
Kaium Chowdhury
 
Enterprise GIS
Enterprise GIS Enterprise GIS
Enterprise GIS
Esri
 
Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
Prabin Pandit
 
DATA in GIS and DATA Query
DATA in GIS and DATA QueryDATA in GIS and DATA Query
DATA in GIS and DATA Query
KU Leuven
 
( G . i . s )
( G . i . s )( G . i . s )
( G . i . s )
Himanshu Chakravarti
 
GIS data structure
GIS data structureGIS data structure
GIS data structure
Thana Chirapiwat
 
GIS file types
GIS file typesGIS file types
GIS file types
Hans van der Kwast
 
QGIS Module 1
QGIS Module 1QGIS Module 1
QGIS Module 1
CAPSUCSF
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
Neha Kulkarni
 
Graph databases
Graph databasesGraph databases
Graph databases
Vinoth Kannan
 
geo spatial data and its types.pptx
geo spatial data and its types.pptxgeo spatial data and its types.pptx
geo spatial data and its types.pptx
lovezalodhi
 
TYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
TYBSC IT PGIS Unit III Chapter II Data Entry and PreparationTYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
TYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
Arti Parab Academics
 
Geographic Phenomena and their Representations
Geographic Phenomena and their RepresentationsGeographic Phenomena and their Representations
Geographic Phenomena and their Representations
NAXA-Developers
 
Introduction to Geographic Information System (GIS)
Introduction to Geographic Information System (GIS)Introduction to Geographic Information System (GIS)
Introduction to Geographic Information System (GIS)
Shashank Singh
 
WEB GIS AND WEB MAP.pptx
WEB GIS AND WEB MAP.pptxWEB GIS AND WEB MAP.pptx
WEB GIS AND WEB MAP.pptx
Asim Pt
 

What's hot (20)

Introduction to gis
Introduction to gisIntroduction to gis
Introduction to gis
 
FOSS4G 2017 Spatial Sql for Rookies
FOSS4G 2017 Spatial Sql for RookiesFOSS4G 2017 Spatial Sql for Rookies
FOSS4G 2017 Spatial Sql for Rookies
 
GIS
GISGIS
GIS
 
Getting Started with PostGIS
Getting Started with PostGISGetting Started with PostGIS
Getting Started with PostGIS
 
Open Source GIS
Open Source GISOpen Source GIS
Open Source GIS
 
Spatial Data Model
Spatial Data ModelSpatial Data Model
Spatial Data Model
 
Enterprise GIS
Enterprise GIS Enterprise GIS
Enterprise GIS
 
Lecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.pptLecture-8-The-GIS-Database-Part-1.ppt
Lecture-8-The-GIS-Database-Part-1.ppt
 
DATA in GIS and DATA Query
DATA in GIS and DATA QueryDATA in GIS and DATA Query
DATA in GIS and DATA Query
 
( G . i . s )
( G . i . s )( G . i . s )
( G . i . s )
 
GIS data structure
GIS data structureGIS data structure
GIS data structure
 
GIS file types
GIS file typesGIS file types
GIS file types
 
QGIS Module 1
QGIS Module 1QGIS Module 1
QGIS Module 1
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
 
Graph databases
Graph databasesGraph databases
Graph databases
 
geo spatial data and its types.pptx
geo spatial data and its types.pptxgeo spatial data and its types.pptx
geo spatial data and its types.pptx
 
TYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
TYBSC IT PGIS Unit III Chapter II Data Entry and PreparationTYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
TYBSC IT PGIS Unit III Chapter II Data Entry and Preparation
 
Geographic Phenomena and their Representations
Geographic Phenomena and their RepresentationsGeographic Phenomena and their Representations
Geographic Phenomena and their Representations
 
Introduction to Geographic Information System (GIS)
Introduction to Geographic Information System (GIS)Introduction to Geographic Information System (GIS)
Introduction to Geographic Information System (GIS)
 
WEB GIS AND WEB MAP.pptx
WEB GIS AND WEB MAP.pptxWEB GIS AND WEB MAP.pptx
WEB GIS AND WEB MAP.pptx
 

Viewers also liked

AAG_2011
AAG_2011AAG_2011
AAG_2011
ohuisman
 
Vondráková, A: The influence of applied cartographic methods on the map infor...
Vondráková, A: The influence of applied cartographic methods on the map infor...Vondráková, A: The influence of applied cartographic methods on the map infor...
Vondráková, A: The influence of applied cartographic methods on the map infor...indogpr
 
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking data
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking dataPopelka, S: Space-Time-Cube for Visualization of Eye-tracking data
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking dataindogpr
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
Reuven Lerner
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
Robert Treat
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And Failover
John Paulett
 
My experience with embedding PostgreSQL
 My experience with embedding PostgreSQL My experience with embedding PostgreSQL
My experience with embedding PostgreSQL
Jignesh Shah
 
Why use PostgreSQL?
Why use PostgreSQL?Why use PostgreSQL?
Why use PostgreSQL?
Gabriele Bartolini
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQL
Mark Wong
 
PostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and ProfitPostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and Profit
David Fetter
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
Alexey Bashtanov
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
Oddbjørn Steffensen
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuningelliando dias
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
EDB
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Command Prompt., Inc
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
EXEM
 
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Replication in 10  Minutes - SCALEPostgreSQL Replication in 10  Minutes - SCALE
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Experts, Inc.
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
EDB
 

Viewers also liked (20)

AAG_2011
AAG_2011AAG_2011
AAG_2011
 
Vondráková, A: The influence of applied cartographic methods on the map infor...
Vondráková, A: The influence of applied cartographic methods on the map infor...Vondráková, A: The influence of applied cartographic methods on the map infor...
Vondráková, A: The influence of applied cartographic methods on the map infor...
 
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking data
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking dataPopelka, S: Space-Time-Cube for Visualization of Eye-tracking data
Popelka, S: Space-Time-Cube for Visualization of Eye-tracking data
 
05 predictive with spss
05 predictive with spss05 predictive with spss
05 predictive with spss
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
 
PostgreSQL Scaling And Failover
PostgreSQL Scaling And FailoverPostgreSQL Scaling And Failover
PostgreSQL Scaling And Failover
 
My experience with embedding PostgreSQL
 My experience with embedding PostgreSQL My experience with embedding PostgreSQL
My experience with embedding PostgreSQL
 
Why use PostgreSQL?
Why use PostgreSQL?Why use PostgreSQL?
Why use PostgreSQL?
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQL
 
PostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and ProfitPostgreSQL Hooks for Fun and Profit
PostgreSQL Hooks for Fun and Profit
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
 
PostgreSQL Performance Tuning
PostgreSQL Performance TuningPostgreSQL Performance Tuning
PostgreSQL Performance Tuning
 
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQLData Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
 
Really Big Elephants: PostgreSQL DW
Really Big Elephants: PostgreSQL DWReally Big Elephants: PostgreSQL DW
Really Big Elephants: PostgreSQL DW
 
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and ExceptableHowdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
Howdah - An Application using Pylons, PostgreSQL, Simpycity and Exceptable
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
 
PostgreSQL Replication in 10 Minutes - SCALE
PostgreSQL Replication in 10  Minutes - SCALEPostgreSQL Replication in 10  Minutes - SCALE
PostgreSQL Replication in 10 Minutes - SCALE
 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
 

Similar to Building a Spatial Database in PostgreSQL

Building a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQLBuilding a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQL
Sohail Akbar Goheer
 
Open Source Databases And Gis
Open Source Databases And GisOpen Source Databases And Gis
Open Source Databases And Gis
Kudos S.A.S
 
Adelaide Ruby Meetup PostGIS Notes
Adelaide Ruby Meetup PostGIS NotesAdelaide Ruby Meetup PostGIS Notes
Adelaide Ruby Meetup PostGIS Notes
chris-teague
 
2004-11-13 Supersite Relational Database Project: (Data Portal?)
2004-11-13 Supersite Relational Database Project: (Data Portal?)2004-11-13 Supersite Relational Database Project: (Data Portal?)
2004-11-13 Supersite Relational Database Project: (Data Portal?)Rudolf Husar
 
Srds Pres011120
Srds Pres011120Srds Pres011120
Srds Pres011120
Rudolf Husar
 
INTRODUCTION TO GIS.pdf
INTRODUCTION TO GIS.pdfINTRODUCTION TO GIS.pdf
INTRODUCTION TO GIS.pdf
KingFrimp
 
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
Redis Labs
 
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
NeGD Capacity Building
 
Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...
True North Geographic Technologies
 
Components of gis
Components of gisComponents of gis
Components of gis
Pramoda Raj
 
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
TYBSC IT PGIS Unit II Chapter I Data Management and Processing SystemsTYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
Arti Parab Academics
 
Info Grafix
Info GrafixInfo Grafix
Info Grafix
mdcamp021
 
Spot db consistency checking and optimization in spatial database
Spot db  consistency checking and optimization in spatial databaseSpot db  consistency checking and optimization in spatial database
Spot db consistency checking and optimization in spatial database
Pratik Udapure
 
dashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systemsdashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systems
IBM Cloud Data Services
 
E-Docs Asset GIS
E-Docs Asset GISE-Docs Asset GIS
E-Docs Asset GIS
Aerial Services
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
Dev Summit 2011 - Talk
Dev Summit 2011 - TalkDev Summit 2011 - Talk
Dev Summit 2011 - Talk
Arc2Earth
 
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal OgudahGis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Michael Kimathi
 

Similar to Building a Spatial Database in PostgreSQL (20)

Building a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQLBuilding a Spatial Database in PostgreSQL
Building a Spatial Database in PostgreSQL
 
Open Source Databases And Gis
Open Source Databases And GisOpen Source Databases And Gis
Open Source Databases And Gis
 
Adelaide Ruby Meetup PostGIS Notes
Adelaide Ruby Meetup PostGIS NotesAdelaide Ruby Meetup PostGIS Notes
Adelaide Ruby Meetup PostGIS Notes
 
2004-11-13 Supersite Relational Database Project: (Data Portal?)
2004-11-13 Supersite Relational Database Project: (Data Portal?)2004-11-13 Supersite Relational Database Project: (Data Portal?)
2004-11-13 Supersite Relational Database Project: (Data Portal?)
 
Srds Pres011120
Srds Pres011120Srds Pres011120
Srds Pres011120
 
INTRODUCTION TO GIS.pdf
INTRODUCTION TO GIS.pdfINTRODUCTION TO GIS.pdf
INTRODUCTION TO GIS.pdf
 
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
Real-time GeoSearching at Scale with RediSearch by Apoorva Gaurav and Ronil M...
 
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
Syntactic and semantic based approaches for Geoinformation Management - Dr. S...
 
Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...
 
Components of gis
Components of gisComponents of gis
Components of gis
 
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
TYBSC IT PGIS Unit II Chapter I Data Management and Processing SystemsTYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
TYBSC IT PGIS Unit II Chapter I Data Management and Processing Systems
 
Geodatabases
GeodatabasesGeodatabases
Geodatabases
 
Info Grafix
Info GrafixInfo Grafix
Info Grafix
 
Spot db consistency checking and optimization in spatial database
Spot db  consistency checking and optimization in spatial databaseSpot db  consistency checking and optimization in spatial database
Spot db consistency checking and optimization in spatial database
 
dashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systemsdashDB: the GIS professional’s bridge to mainstream IT systems
dashDB: the GIS professional’s bridge to mainstream IT systems
 
E-Docs Asset GIS
E-Docs Asset GISE-Docs Asset GIS
E-Docs Asset GIS
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Dev Summit 2011 - Talk
Dev Summit 2011 - TalkDev Summit 2011 - Talk
Dev Summit 2011 - Talk
 
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal OgudahGis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
 
Os Lonergan
Os LonerganOs Lonergan
Os Lonergan
 

More from Kudos S.A.S

AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
Kudos S.A.S
 
Miradas al exterior.
Miradas al exterior. Miradas al exterior.
Miradas al exterior.
Kudos S.A.S
 
Bringing GEOSS services into Practice for Beginners: GeoNode Tutorial
Bringing GEOSS services into Practice for Beginners: GeoNode TutorialBringing GEOSS services into Practice for Beginners: GeoNode Tutorial
Bringing GEOSS services into Practice for Beginners: GeoNode Tutorial
Kudos S.A.S
 
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
Kudos S.A.S
 
Using python to analyze spatial data
Using python to analyze spatial dataUsing python to analyze spatial data
Using python to analyze spatial data
Kudos S.A.S
 
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en MasaProyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
Kudos S.A.S
 
Presentación software libre v2
Presentación software libre v2Presentación software libre v2
Presentación software libre v2
Kudos S.A.S
 
A Web Application Designed to Publish Information of Surface Manifestations o...
A Web Application Designed to Publish Information of Surface Manifestations o...A Web Application Designed to Publish Information of Surface Manifestations o...
A Web Application Designed to Publish Information of Surface Manifestations o...
Kudos S.A.S
 
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
Kudos S.A.S
 
Conferencias ACIS: Análisis y visualización de información georreferenciada u...
Conferencias ACIS: Análisis y visualización de información georreferenciada u...Conferencias ACIS: Análisis y visualización de información georreferenciada u...
Conferencias ACIS: Análisis y visualización de información georreferenciada u...
Kudos S.A.S
 
Implementación de Fábricas de Software en el Sector Público Colombiano
Implementación de Fábricas de Software en el Sector Público ColombianoImplementación de Fábricas de Software en el Sector Público Colombiano
Implementación de Fábricas de Software en el Sector Público Colombiano
Kudos S.A.S
 
Presentacion SNC : Sistema Nacional Catastral de Colombia
Presentacion SNC : Sistema Nacional Catastral de ColombiaPresentacion SNC : Sistema Nacional Catastral de Colombia
Presentacion SNC : Sistema Nacional Catastral de Colombia
Kudos S.A.S
 
Analizando y visualizando información geoespacial utilizando cloud computing
Analizando y visualizando información geoespacial utilizando cloud computingAnalizando y visualizando información geoespacial utilizando cloud computing
Analizando y visualizando información geoespacial utilizando cloud computing
Kudos S.A.S
 
Manejo de información raster_en_post_gis-2.0-
Manejo de información raster_en_post_gis-2.0-Manejo de información raster_en_post_gis-2.0-
Manejo de información raster_en_post_gis-2.0-Kudos S.A.S
 
Crowd-sourcing free and open geographic data: information poverty solutions f...
Crowd-sourcing free and open geographic data: information poverty solutions f...Crowd-sourcing free and open geographic data: information poverty solutions f...
Crowd-sourcing free and open geographic data: information poverty solutions f...
Kudos S.A.S
 
Software libre y Sistemas de Información Geográfica
Software libre y Sistemas de Información GeográficaSoftware libre y Sistemas de Información Geográfica
Software libre y Sistemas de Información Geográfica
Kudos S.A.S
 
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
Kudos S.A.S
 
Kudos Flashcamp Bogota 2009
Kudos Flashcamp Bogota 2009Kudos Flashcamp Bogota 2009
Kudos Flashcamp Bogota 2009Kudos S.A.S
 
Geo Marketing, ¿Herramienta o Gadget?:
Geo Marketing, ¿Herramienta o Gadget?: Geo Marketing, ¿Herramienta o Gadget?:
Geo Marketing, ¿Herramienta o Gadget?:
Kudos S.A.S
 
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
Kudos S.A.S
 

More from Kudos S.A.S (20)

AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
AWS - Ingrese a la era de las bases de datos personalizadas: Encuentre la bas...
 
Miradas al exterior.
Miradas al exterior. Miradas al exterior.
Miradas al exterior.
 
Bringing GEOSS services into Practice for Beginners: GeoNode Tutorial
Bringing GEOSS services into Practice for Beginners: GeoNode TutorialBringing GEOSS services into Practice for Beginners: GeoNode Tutorial
Bringing GEOSS services into Practice for Beginners: GeoNode Tutorial
 
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
Uso de Tecnologías Geoespaciales y Big Data para mejorar los procesos de actu...
 
Using python to analyze spatial data
Using python to analyze spatial dataUsing python to analyze spatial data
Using python to analyze spatial data
 
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en MasaProyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
Proyecto Mapa Nacional de Amenaza Relativa por Movimientos en Masa
 
Presentación software libre v2
Presentación software libre v2Presentación software libre v2
Presentación software libre v2
 
A Web Application Designed to Publish Information of Surface Manifestations o...
A Web Application Designed to Publish Information of Surface Manifestations o...A Web Application Designed to Publish Information of Surface Manifestations o...
A Web Application Designed to Publish Information of Surface Manifestations o...
 
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
Portafolio Empresarial Egresados Universidad Nacional de Colombia 2013
 
Conferencias ACIS: Análisis y visualización de información georreferenciada u...
Conferencias ACIS: Análisis y visualización de información georreferenciada u...Conferencias ACIS: Análisis y visualización de información georreferenciada u...
Conferencias ACIS: Análisis y visualización de información georreferenciada u...
 
Implementación de Fábricas de Software en el Sector Público Colombiano
Implementación de Fábricas de Software en el Sector Público ColombianoImplementación de Fábricas de Software en el Sector Público Colombiano
Implementación de Fábricas de Software en el Sector Público Colombiano
 
Presentacion SNC : Sistema Nacional Catastral de Colombia
Presentacion SNC : Sistema Nacional Catastral de ColombiaPresentacion SNC : Sistema Nacional Catastral de Colombia
Presentacion SNC : Sistema Nacional Catastral de Colombia
 
Analizando y visualizando información geoespacial utilizando cloud computing
Analizando y visualizando información geoespacial utilizando cloud computingAnalizando y visualizando información geoespacial utilizando cloud computing
Analizando y visualizando información geoespacial utilizando cloud computing
 
Manejo de información raster_en_post_gis-2.0-
Manejo de información raster_en_post_gis-2.0-Manejo de información raster_en_post_gis-2.0-
Manejo de información raster_en_post_gis-2.0-
 
Crowd-sourcing free and open geographic data: information poverty solutions f...
Crowd-sourcing free and open geographic data: information poverty solutions f...Crowd-sourcing free and open geographic data: information poverty solutions f...
Crowd-sourcing free and open geographic data: information poverty solutions f...
 
Software libre y Sistemas de Información Geográfica
Software libre y Sistemas de Información GeográficaSoftware libre y Sistemas de Información Geográfica
Software libre y Sistemas de Información Geográfica
 
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
Modelamiento en Web de Geoinformación de la Amazonía Colombiana con el uso de...
 
Kudos Flashcamp Bogota 2009
Kudos Flashcamp Bogota 2009Kudos Flashcamp Bogota 2009
Kudos Flashcamp Bogota 2009
 
Geo Marketing, ¿Herramienta o Gadget?:
Geo Marketing, ¿Herramienta o Gadget?: Geo Marketing, ¿Herramienta o Gadget?:
Geo Marketing, ¿Herramienta o Gadget?:
 
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
Integración de Adobe Flex y Google Maps: Aplicaciones Geográficas Enriquecida...
 

Recently uploaded

What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
HumanResourceDimensi1
 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
Falcon Invoice Discounting
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
zoyaansari11365
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Navpack & Print
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
Sam H
 
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).pptENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
zechu97
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
DerekIwanaka1
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
anasabutalha2013
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
creerey
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
BBPMedia1
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
Ben Wann
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
Memorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.pptMemorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.ppt
seri bangash
 
Kseniya Leshchenko: Shared development support service model as the way to ma...
Kseniya Leshchenko: Shared development support service model as the way to ma...Kseniya Leshchenko: Shared development support service model as the way to ma...
Kseniya Leshchenko: Shared development support service model as the way to ma...
Lviv Startup Club
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
usawebmarket
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Lviv Startup Club
 

Recently uploaded (20)

What are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdfWhat are the main advantages of using HR recruiter services.pdf
What are the main advantages of using HR recruiter services.pdf
 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
 
Affordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n PrintAffordable Stationery Printing Services in Jaipur | Navpack n Print
Affordable Stationery Printing Services in Jaipur | Navpack n Print
 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
 
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).pptENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
ENTREPRENEURSHIP TRAINING.ppt for graduating class (1).ppt
 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
 
anas about venice for grade 6f about venice
anas about venice for grade 6f about veniceanas about venice for grade 6f about venice
anas about venice for grade 6f about venice
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
Memorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.pptMemorandum Of Association Constitution of Company.ppt
Memorandum Of Association Constitution of Company.ppt
 
Kseniya Leshchenko: Shared development support service model as the way to ma...
Kseniya Leshchenko: Shared development support service model as the way to ma...Kseniya Leshchenko: Shared development support service model as the way to ma...
Kseniya Leshchenko: Shared development support service model as the way to ma...
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
 

Building a Spatial Database in PostgreSQL

  • 1. Building a Spatial Database in PostgreSQL David Blasby Refractions Research [email_address] http://postgis.refractions.net
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Roads are represented as Lines Mail Boxes are represented as Points
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.  
  • 23.
  • 24.
  • 25. Original Polygons Union Intersection
  • 26. Original river network Buffered rivers
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41. R-Tree Indexing Overlap
  • 42. R-Tree Indexing Distance
  • 43. Guttman A.: 'R-trees: A Dynamic Index Structure for Spatial Searching', Proc ACM SIGMOD Int. Conf. on Management of Data, 1984
  • 44. SQL example Create “pubs” table create table pubs (name varchar, beer_price float4); addgeometrycolumn(‘beer_db’,'pubs','location’ ,2167,'POINT',3);
  • 45. Insert data insert into pubs values ( 'Garricks Head', 4.50, GeometryFromText( 'POINT (1196131 383324)’ ,2167) );
  • 46. Perform Query select name, beer_price, distance(location, GeometryFromText('POINT(1195722 383854)',2167)) from pubs order by beer_price; name | beer_price | distance ---------------+------------+------------------ Fireside | 4.25 | 1484.10275160491 The Forge | 4.33 | 1533.06561109862 Rumours | 4.46 | 2042.00094093097 Garricks Head | 4.5 | 669.389105609889 Slap Happy | 4.5 | 1882.31910168298 Old Bailys | 4.55 | 1147.20900404641 Black Sheep | 4.66 | 536.859935972633 Big Bad Daves | 4.75 | 907.446543878884
  • 47. Perform Query select name, beer_price + 0.001 * distance(location, GeometryFromText('POINT(1195722 383854)',2167)) as net_price from pubs order by price; name | net_price ---------------+------------------ Garricks Head | 5.16938910560989 Black Sheep | 5.19685978338474 Big Bad Daves | 5.65744654387888 Old Bailys | 5.69720919478127 Fireside | 5.73410275160491 The Forge | 5.86306553480468 Slap Happy | 6.38231910168298 Rumours | 6.50200097907794
  • 48.
  • 49.
  • 50.
  • 51.
  • 52. Questions David Blasby Refractions Research [email_address] http://postgis.refractions.net