SlideShare a Scribd company logo
© 2018 EnterpriseDB® Corporation. All rights reserved. 1
DISCOVER POSTGIS
1
Mansur Shaikh
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2018. All rights reserved.
THE DATABASE PLATFORM COMPANY FOR DIGITAL
BUSINESS
EnterpriseDB (EDB) delivers the premier open source-based, multi-model data platform for new
applications, cloud re-platforming, application modernization, and legacy migration.
2
© Copyright EnterpriseDB Corporation, 2018. All rights reserved.
Who is EDB?
© Copyright EnterpriseDB Corporation, 2018. All rights reserved.
WHO IS EDB?
Founded in 2004
Customer base > 4000
500+ employees in offices worldwide
Recognized RDBMS leader
Gartner
Forrester
Largest PostgreSQL community leader:
• EDB Postgres Technology Platform
• Services, Training & RDBA
• Community PostgreSQL Experts
• Community contributions and influence
• Partner ecosystem
The world leader in open-source based
Postgres software and services.
© 2018 EnterpriseDB® Corporation. All rights reserved. 5
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
5
Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB.
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
102
of the
Fortune 500
337
of the Forbes
Global 2000
WORLDWIDE PRESENCE
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.6
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2018. All rights reserved.
ONLY OPEN
SOURCE RDBMS IN
GARTNER MQ
EDB Recognized
7 Years In A Row on
Gartner’s Magic
Quadrant
© 2015 EnterpriseDB Corporation. All rights reserved. 8
Getting started with PostGIS
© 2018 EnterpriseDB® Corporation. All rights reserved. 9
About PostGIS
• Refractions Research released first version in 2001 under
the GNU license
• Follows the Simple Features for SQL specification from the
Open Geospatial Consortium (OGC)
• Over 300 spatial operators and spatial functions
− Processing and analytical functions
• Spatial data types
• Spatial indexing
• Spatial reprojection
• Import / Export shapefiles (command line and GUI)
• Commands for importing raster data
• SQL commands to render and import data from multiple
formats such GeoJSON, KML, GML, and WTK
9
© 2018 EnterpriseDB® Corporation. All rights reserved. 10
PostGIS : Getting started with spatial databases
• QGIS
− Open Source desktop GIS
• Enterprise GIS
− An integrated GIS system that is accessible throughout your organization
• Spatial database
− A centralized location for storing spatial data
− Spatial features for dealing with spatial data and analysis
• PostGIS
− A specific implementation of a spatial database built on the PostgreSQl database
© 2018 EnterpriseDB® Corporation. All rights reserved. 11
PostGIS Data Types
Geometry
Geography
Raster Topology
© 2018 EnterpriseDB® Corporation. All rights reserved. 12
PostGIS Data subtypes
Point
Linestring
Polygon
Multipoint
Multilinestring
Multipolygon
© 2018 EnterpriseDB® Corporation. All rights reserved. 13
Spatial Definitions Examples (1 of 5)
Boundary
© 2018 EnterpriseDB® Corporation. All rights reserved. 14
Spatial Definitions Examples (2 of 5)
© 2018 EnterpriseDB® Corporation. All rights reserved. 15
Spatial Definitions Examples (3 of 5)
© 2018 EnterpriseDB® Corporation. All rights reserved. 16
Spatial Definitions Examples (4 of 5)
Equals
© 2018 EnterpriseDB® Corporation. All rights reserved. 17
Getting started (loading data…)
17
INSERT into events_geo(eventname,geom,date)
SELECT eventname,
st_setsrid(st_makepoint(lon,lat),4326) as geom,date
FROM events;
Events Table
eventname character varying
lat double precision
lon double precision
Date timestamp with time zone
events_geo Table
eventname character varying
lat double precision
Lon double precision
Date timestamp with time zone
© 2018 EnterpriseDB® Corporation. All rights reserved. 18
Getting started (visual inspection)
18
© 2018 EnterpriseDB® Corporation. All rights reserved. 19
Getting started (visual inspection)
19
© 2018 EnterpriseDB® Corporation. All rights reserved. 20
Getting started (Geometry Input and Output)
20
Example Input function
Insert into cities (name,state,geom)
Values (‘Bedford’,’MA’,
ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
© 2018 EnterpriseDB® Corporation. All rights reserved. 21
Getting started (Power of GIS & SQL)
Create a route from a collection of waypoints captured in sequence
Write a function to tell whether a given lat/lon pair is
within a Point-Radius ring
© 2018 EnterpriseDB® Corporation. All rights reserved. 22
Getting started (Power of GIS & SQL)
34, 9
70, 12
Simple distance query between two points
SELECT ST_Distance
(ST_GeomFromText('POINT(34 9)’,4629),
ST_GeomFromText('POINT(70 12)’,4629));
© 2018 EnterpriseDB® Corporation. All rights reserved. 23
Getting started (Power of GIS & SQL)
Create a route from a collection of waypoints captured in sequence
Write a function to tell whether a given lat/lon pair is
within a Point-Radius ring
© 2018 EnterpriseDB® Corporation. All rights reserved. 24
Getting started (Power of GIS & SQL)
All the powerful tools of the RDBMS are available to you
Insert into cities (name,state,geom)
Values (‘Bedford’,’MA’,
ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
© 2018 EnterpriseDB® Corporation. All rights reserved. 25
Getting started (Power of GIS & SQL)
Answer powerful questions with a simple query
Example Input function
Insert into cities (name,state,geom)
Values (‘Bedford’,’MA’,
ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
© 2018 EnterpriseDB® Corporation. All rights reserved. 26
Getting started (Power of GIS & SQL)
© 2018 EnterpriseDB® Corporation. All rights reserved. 27
What exactly is a spatial database ?
• Simple features standard (SFS) developed by Open Geospatial
Consortium
− Storage
− Geometry-BLOB Field
− Spatial functions (buffer, intersect, etc)
− PostGIS- ST_buffer(geom,400)
− SQL Server-geom.STBuffer(400)
− SQL/MM Spatial-extends SFS
• Spatial Indexes
© 2018 EnterpriseDB® Corporation. All rights reserved. 28
Simple SQL Statement
• Select nest_id, recentstat, ST_Distance(geom, home) from raptor_nests
• Where recentspec=‘RTHA’
• Order by recentstat, nest_id;
• Why use SQl – Standard, Text based, store in database, backups in plain
text format, sent from web pages
© 2015 EnterpriseDB Corporation. All rights reserved. 29
PostGIS Installation
© 2018 EnterpriseDB® Corporation. All rights reserved. 30
Installing PostGIS on your Local Computer
https://www.enterprisedb.com/downloads/postgis
© 2018 EnterpriseDB® Corporation. All rights reserved. 31
PgAdmin4
Open PgAdmin4
Select on server and create server
Right click on database and create database -> sdb_course
Select sdb_course-> verify extensions and schemas and functions
Add PostGIS extension
Select sdb_course
Open query tool-> create extension postgis;
Verify functions, extensions and public schema
spatial_ref_sys
© 2018 EnterpriseDB® Corporation. All rights reserved. 32
Installing QGIS : DEMO
• Download link
https://qgis.org/en/site/forusers/download.html
© 2018 EnterpriseDB® Corporation. All rights reserved. 33
Loading Spatial data into PostGIS
− Resource file :- sdb_data.zip
− Loading shapefile
− Using PostGIS shapefile and dbf exporter
− Command line :- c:programefilespostgresql11bin
− raster2pgsql , shp2pgsql
− Open Postgres shapefile import/export manager
− View connection detail-> import->add file
− Goto S DB_DATA folder -> load baea-nests.shp and bowl_habitat.shp
− Give special reference id is 4326
© 2018 EnterpriseDB® Corporation. All rights reserved. 34
Loading Spatial data into PostGIS using QGIS
• Load into QGIS and then put into PostGIS
− Any type of vector data you can load and view – ESRIGeo, or Jeojson, GPS file
− Select SDB_DATA folder from browser panel and drag and paste layers panel
− Select three file GBH_Rookeries.shp, Linear_Projects.shp, Raptor_Nests-shp
− First make connection
− Select database-> Dbmanager ->
− Make a connection with postgis from Browser panel -> provide connection information
− Click on basic for authentication and click on store -> Test connection
− List tables with no geometry
− Click on ok
− Click on import
− Give input file GBH_Rookeries, Linear_projects, Raptor_nests one by one
Go to PGAdmin4 and verify sdb_course with these five tables
© 2018 EnterpriseDB® Corporation. All rights reserved. 35
Accessing PostGIS from the commandline, the pgAdmin, QGIS
− C:programefilepostgresql11binshp2pgsql
− C:programefilepostgresql11binraster2pgsql
− pgAdmin4
− Open query tools
 Select * from baue_nests
Some other tables with geometry column
© 2018 EnterpriseDB® Corporation. All rights reserved. 36
4. Making SQL Spatial
• The PostGIS Vector Geometry model
• The Spatial reference ID
• The Geometry field
• Geometry vs Geography data type
• Spatial queries-working with Geometries
• Spatial queries-Measurement
• Spatial queries – Accessing the geometry
© 2018 EnterpriseDB® Corporation. All rights reserved. 37
4. Vector Geometry Model
• Conforms to the OGC SFS standard
• Basic data structure is a Point
− 2 dimension –X and Y values. (longitude and latitude), projection
− 3 Dimension value- z values
• Line String is an array of points
• Polygon is an array of closed LineString’s
− First Linestring is an exterior ring
− Each following LineString is an interior ring
© 2018 EnterpriseDB® Corporation. All rights reserved. 38
4. Vector Geometry Model. Cont..
• Multi-Part geometries
− Array of individual geometries
− Multipoint
− MultiLinestring
− MultiPolygon
• Features
− Geometry
− Attributes(field, properties,etc)
© 2018 EnterpriseDB® Corporation. All rights reserved. 39
Spatial Reference ID
• Unique identifier for a coordinate reference system
− Coordinate System :- based in angles based on earth
− Projection
− Zone
− Datum
• In PostGIS you indicate the Spatial Reference by a number
• That number corresponds to well known Text
• Individual Geometries can have a spatial reference
• Geometry columns have a spatial reference
© 2018 EnterpriseDB® Corporation. All rights reserved. 40
The Geometry field
• The geometry field is what makes a table spatial
• Its just a column in the database that can store a feature geometry
• It includes the SRID, the geometry type, and the actual coordinates in
binary form
• We can’t interpret the binary data but PostGIS provides a number of
functions that can output the geometry in human readable format
binary data could be picture, shape any things
These are functions that can output geometry as human redable text
• ST_AsText(), ST_AsEWKT(), ST_AsGeoJSON, etc.
• The combination of a geometry and the attribute that describes that
geometry is known as features
© 2018 EnterpriseDB® Corporation. All rights reserved. 41
Geometry vs Geography
• Two different ways to store a features spatial information
− Geometry (data type). Based on plain surface
− Geography. (data type). Based on circular earth , math behind calculation is
complicated
• Geometry
− Based on planner surface
− Can be in a variety of coordinates reference systems defined by OGC
− Are mathematically simple
− Rich set of functions available
− OGC standard , GEOS libraries, etc.
− Accuracy declines as spatial extent increases.
© 2018 EnterpriseDB® Corporation. All rights reserved. 42
Geometry vs Geography cont ..
• Geography
− Based on round earth
− Can only be in geographic coordinates system (latitude/longitude)
− Are mathematically complex
− Only support a fraction of the functions that are available for geometries
− Accurate measurements
− Which should you use ??
− Scale of your data and if larger distance use geography
− Availability of functions that you need
− performance
© 2018 EnterpriseDB® Corporation. All rights reserved. 43
Working with Geometries
• What can we do with Geometries in PostGIS
− Get information about it
− GeometryType(geom) what type point, line or polygon
− ST_CoordDIM(geom). How many coordinate associate with each points
− ST_Dimension(geom). Like if line then it is one dimenstional, polygon is area which is two
dimensional
− ST_SRID(geom). :- special reference id for geometry
− ST_IsCollection(geom) :- returns true if geometry is single point or multipoint polygon
− ST_NumGeometries(geom),ST_NuminteriorRings(geom),ST_NumPoints(geom)
− ST_IsSimple(geom),ST_IsEmpty(geom),ST_IsClosed(geom),ST_isRing(geom)
− ST_IsValid(geom), ST_IsValidReason(geom)
• Change it’s spatial reference
• ST_SetSRID(geom,SRID) changes special reference id associated with that geometry
• ST_Transform(geom,SRID) converts one coordinate reference system to another
© 2018 EnterpriseDB® Corporation. All rights reserved. 44
Spatial Queries :- Measurements
• What we can do with geometry ?
− Measure it
− ST_Length(line)
− Geometry- Cartesian length in SRID units
− Geography-length in meters over the spheroid
− ST_3DLength(line)
- Geometry-3D cartesian length using SRID
- Geography - Not supported
− ST_LengthSpheroid(line, spheroid)
− ST_Area(polygon)
− Geometry- cartesian area in SRID units
− Geography-area in square meters over the spheroid
− ST_Perimeter(polygon), ST_3DPerimeter(polygon)
© 2018 EnterpriseDB® Corporation. All rights reserved. 45
Spatial Queries :- Accessing the Geometries
• What we can do with geometry ?
− Calculate distance from other geometries
− ST_Distance(geom1,geom2)
Geometry-cartesian distance in SRID units
Geography – length in meters over the spheroid
− ST_3DDistance(geom1,geom2)
- Geometry- cartesian distance using SRID in units
- Geography - Not supported
ST_DistanceSphere(geom1,geom2)
Geometry-cartesian area in SRID units squre degrees
Geography:- area in squre meters over the spheroid
ST_Perimeter(polygon), ST3DPerimeter(polygon)
© 2018 EnterpriseDB® Corporation. All rights reserved. 46
Spatial Queries :- Accessing the Geometries
• What we can do with geometry ?
− Calculate distance from other geometries
− See it’s coordinate in text form
− ST_AsText(geom), ST_AsWKT(geom)
− ST_AsGeoJSON(geom)
− ST_AsGML(geom), ST_AsKML(geom)
− ST_AsMVT(table)
− Access it’s Coordinates
- ST_X(point), ST_Y(point), ST_Z(point), ST_M(point)
- ST_StartPoint(geom0, ST_EndPoint(geom)
− ST_PointN(geom,n), ST_LineinterpolatePoint(geom,proportion)
− ST_GeometryN(geom,n)
− ST_ExteriorRing(geom), ST_interiorRingN(geom,n)
© 2018 EnterpriseDB® Corporation. All rights reserved. 47
• Docs - http://www.postgis.org/docs/
• PostGIS in Action, 2nd Edition
− http://www.amazon.com/gp/search?index=books&linkCode=qs&keywords=9781617291395
Resources:
© 2018 EnterpriseDB® Corporation. All rights reserved. 48
48
Postgres Vision Goes Virtual in 2020.
APJ Track on 24th June
Time: 8.30am – 11.45am IST/
11.00am – 2.45pm Singapore/1.00pm to 4.45pm AU EST
Attend from the comfort of your home. Learn:
• how organizations are using PostgreSQL to reduce cost & increase innovation
• the tools and technology that PostgreSQL experts are using
• how developers are using PostgreSQL databases
• about the of future of PostgreSQL and much more
REGISTER NOW
© 2018 EnterpriseDB® Corporation. All rights reserved. 49
THANK YOU
info@enterprisedb.com
www.enterprisedb.com
CONFIDENTIAL © Copyright EnterpriseDB

More Related Content

What's hot

Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
BJ Jang
 
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례BJ Jang
 
GeoServer on Steroids
GeoServer on SteroidsGeoServer on Steroids
GeoServer on Steroids
GeoSolutions
 
LX 공간정보아카데미 PostGIS 강의자료
LX 공간정보아카데미 PostGIS 강의자료LX 공간정보아카데미 PostGIS 강의자료
LX 공간정보아카데미 PostGIS 강의자료
JungHwan Yun
 
GeoServer in Production: we do it, here is how!
GeoServer in Production: we do it, here is how!GeoServer in Production: we do it, here is how!
GeoServer in Production: we do it, here is how!
GeoSolutions
 
Vector Tiles with GeoServer and OpenLayers
Vector Tiles with GeoServer and OpenLayersVector Tiles with GeoServer and OpenLayers
Vector Tiles with GeoServer and OpenLayers
Jody Garnett
 
Proj4를 이용한 좌표계 변환
Proj4를 이용한 좌표계 변환Proj4를 이용한 좌표계 변환
Proj4를 이용한 좌표계 변환BJ Jang
 
공간정보거점대학 PostGIS 고급과정
공간정보거점대학 PostGIS 고급과정공간정보거점대학 PostGIS 고급과정
공간정보거점대학 PostGIS 고급과정
JungHwan Yun
 
PostGIS 시작하기
PostGIS 시작하기PostGIS 시작하기
PostGIS 시작하기
Byeong-Hyeok Yu
 
Qgis 기초 2019
Qgis 기초 2019Qgis 기초 2019
Qgis 기초 2019
Joonho Lee
 
MongoDB + GeoServer
MongoDB + GeoServerMongoDB + GeoServer
MongoDB + GeoServer
MongoDB
 
Getting Started with PostGIS
Getting Started with PostGISGetting Started with PostGIS
Getting Started with PostGIS
EDB
 
QGIS 활용
QGIS 활용QGIS 활용
QGIS 활용
Sungjin Kang
 
공간정보연구원 PostGIS 강의교재
공간정보연구원 PostGIS 강의교재공간정보연구원 PostGIS 강의교재
공간정보연구원 PostGIS 강의교재
JungHwan Yun
 
QGIS 공식 Training Manual 한국어판
QGIS 공식 Training Manual 한국어판 QGIS 공식 Training Manual 한국어판
QGIS 공식 Training Manual 한국어판
SANGHEE SHIN
 
오픈소스 GIS 교육 - PostGIS
오픈소스 GIS 교육 - PostGIS오픈소스 GIS 교육 - PostGIS
오픈소스 GIS 교육 - PostGISJungHwan Yun
 
QGIS 실습 (총 7차시)
QGIS 실습 (총 7차시)QGIS 실습 (총 7차시)
QGIS 실습 (총 7차시)
Byeong-Hyeok Yu
 
GeoServer 2.4.x 한국어 사용자 지침서
GeoServer 2.4.x 한국어 사용자 지침서GeoServer 2.4.x 한국어 사용자 지침서
GeoServer 2.4.x 한국어 사용자 지침서
SANGHEE SHIN
 
오픈소스GIS 개발 일반 강의자료
오픈소스GIS 개발 일반 강의자료오픈소스GIS 개발 일반 강의자료
오픈소스GIS 개발 일반 강의자료
BJ Jang
 
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
MinPa Lee
 

What's hot (20)

Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
Open Source GIS 기초교육 4일차 - GeoServer 기초 2014년 7월판
 
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례
[Foss4 g2013 korea]postgis와 geoserver를 이용한 대용량 공간데이터 기반 일기도 서비스 구축 사례
 
GeoServer on Steroids
GeoServer on SteroidsGeoServer on Steroids
GeoServer on Steroids
 
LX 공간정보아카데미 PostGIS 강의자료
LX 공간정보아카데미 PostGIS 강의자료LX 공간정보아카데미 PostGIS 강의자료
LX 공간정보아카데미 PostGIS 강의자료
 
GeoServer in Production: we do it, here is how!
GeoServer in Production: we do it, here is how!GeoServer in Production: we do it, here is how!
GeoServer in Production: we do it, here is how!
 
Vector Tiles with GeoServer and OpenLayers
Vector Tiles with GeoServer and OpenLayersVector Tiles with GeoServer and OpenLayers
Vector Tiles with GeoServer and OpenLayers
 
Proj4를 이용한 좌표계 변환
Proj4를 이용한 좌표계 변환Proj4를 이용한 좌표계 변환
Proj4를 이용한 좌표계 변환
 
공간정보거점대학 PostGIS 고급과정
공간정보거점대학 PostGIS 고급과정공간정보거점대학 PostGIS 고급과정
공간정보거점대학 PostGIS 고급과정
 
PostGIS 시작하기
PostGIS 시작하기PostGIS 시작하기
PostGIS 시작하기
 
Qgis 기초 2019
Qgis 기초 2019Qgis 기초 2019
Qgis 기초 2019
 
MongoDB + GeoServer
MongoDB + GeoServerMongoDB + GeoServer
MongoDB + GeoServer
 
Getting Started with PostGIS
Getting Started with PostGISGetting Started with PostGIS
Getting Started with PostGIS
 
QGIS 활용
QGIS 활용QGIS 활용
QGIS 활용
 
공간정보연구원 PostGIS 강의교재
공간정보연구원 PostGIS 강의교재공간정보연구원 PostGIS 강의교재
공간정보연구원 PostGIS 강의교재
 
QGIS 공식 Training Manual 한국어판
QGIS 공식 Training Manual 한국어판 QGIS 공식 Training Manual 한국어판
QGIS 공식 Training Manual 한국어판
 
오픈소스 GIS 교육 - PostGIS
오픈소스 GIS 교육 - PostGIS오픈소스 GIS 교육 - PostGIS
오픈소스 GIS 교육 - PostGIS
 
QGIS 실습 (총 7차시)
QGIS 실습 (총 7차시)QGIS 실습 (총 7차시)
QGIS 실습 (총 7차시)
 
GeoServer 2.4.x 한국어 사용자 지침서
GeoServer 2.4.x 한국어 사용자 지침서GeoServer 2.4.x 한국어 사용자 지침서
GeoServer 2.4.x 한국어 사용자 지침서
 
오픈소스GIS 개발 일반 강의자료
오픈소스GIS 개발 일반 강의자료오픈소스GIS 개발 일반 강의자료
오픈소스GIS 개발 일반 강의자료
 
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
GeoTools와 GeoServer를 이용한 KOPSS Open API의 구현
 

Similar to Discover PostGIS: Add Spatial functions to PostgreSQL

EDB: Power to Postgres
EDB: Power to PostgresEDB: Power to Postgres
EDB: Power to Postgres
Ashnikbiz
 
Postgres Vision 2018: Taking Postgres Everywhere
Postgres Vision 2018: Taking Postgres EverywherePostgres Vision 2018: Taking Postgres Everywhere
Postgres Vision 2018: Taking Postgres Everywhere
EDB
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
No Time to Waste: Migrate from Oracle to Postgres in Minutes
No Time to Waste: Migrate from Oracle to Postgres in MinutesNo Time to Waste: Migrate from Oracle to Postgres in Minutes
No Time to Waste: Migrate from Oracle to Postgres in Minutes
EDB
 
EDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 WebinarEDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 Webinar
EDB
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
EDB
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
Les nouveautés d'EDB Postgres 11
Les nouveautés d'EDB Postgres 11Les nouveautés d'EDB Postgres 11
Les nouveautés d'EDB Postgres 11
EDB
 
RAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needsRAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needs
Connected Data World
 
Optimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
Neo4j
 
Managing Postgres at Scale With Postgres Enterprise Manager
Managing Postgres at Scale With Postgres Enterprise ManagerManaging Postgres at Scale With Postgres Enterprise Manager
Managing Postgres at Scale With Postgres Enterprise Manager
EDB
 
Enhance Location-Based Insights with Additional Geocoding Capabilities
Enhance Location-Based Insights with Additional Geocoding CapabilitiesEnhance Location-Based Insights with Additional Geocoding Capabilities
Enhance Location-Based Insights with Additional Geocoding Capabilities
Precisely
 
Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2
Ashnikbiz
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019
EDB
 
Hardware and software requirements for gis
Hardware and software requirements for gisHardware and software requirements for gis
Hardware and software requirements for gisSumant Diwakar
 
PostgreSQL to Accelerate Innovation
PostgreSQL to Accelerate InnovationPostgreSQL to Accelerate Innovation
PostgreSQL to Accelerate Innovation
EDB
 
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
DataStax
 
Break Free from Oracle
Break Free from OracleBreak Free from Oracle
Break Free from Oracle
EDB
 
An overview of reference architectures for Postgres
An overview of reference architectures for PostgresAn overview of reference architectures for Postgres
An overview of reference architectures for Postgres
EDB
 

Similar to Discover PostGIS: Add Spatial functions to PostgreSQL (20)

EDB: Power to Postgres
EDB: Power to PostgresEDB: Power to Postgres
EDB: Power to Postgres
 
Postgres Vision 2018: Taking Postgres Everywhere
Postgres Vision 2018: Taking Postgres EverywherePostgres Vision 2018: Taking Postgres Everywhere
Postgres Vision 2018: Taking Postgres Everywhere
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
 
No Time to Waste: Migrate from Oracle to Postgres in Minutes
No Time to Waste: Migrate from Oracle to Postgres in MinutesNo Time to Waste: Migrate from Oracle to Postgres in Minutes
No Time to Waste: Migrate from Oracle to Postgres in Minutes
 
EDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 WebinarEDB Postgres Platform 11 Webinar
EDB Postgres Platform 11 Webinar
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database ServicePostgres Databases in Minutes with the EDB Postgres Cloud Database Service
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to Postgres
 
Les nouveautés d'EDB Postgres 11
Les nouveautés d'EDB Postgres 11Les nouveautés d'EDB Postgres 11
Les nouveautés d'EDB Postgres 11
 
RAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needsRAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needs
 
Optimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4jOptimizing Your Supply Chain with Neo4j
Optimizing Your Supply Chain with Neo4j
 
Managing Postgres at Scale With Postgres Enterprise Manager
Managing Postgres at Scale With Postgres Enterprise ManagerManaging Postgres at Scale With Postgres Enterprise Manager
Managing Postgres at Scale With Postgres Enterprise Manager
 
Enhance Location-Based Insights with Additional Geocoding Capabilities
Enhance Location-Based Insights with Additional Geocoding CapabilitiesEnhance Location-Based Insights with Additional Geocoding Capabilities
Enhance Location-Based Insights with Additional Geocoding Capabilities
 
Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2Which PostgreSQL is right for your multi cloud strategy? P2
Which PostgreSQL is right for your multi cloud strategy? P2
 
Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2Enterprise-class security with PostgreSQL - 2
Enterprise-class security with PostgreSQL - 2
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019
 
Hardware and software requirements for gis
Hardware and software requirements for gisHardware and software requirements for gis
Hardware and software requirements for gis
 
PostgreSQL to Accelerate Innovation
PostgreSQL to Accelerate InnovationPostgreSQL to Accelerate Innovation
PostgreSQL to Accelerate Innovation
 
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
 
Break Free from Oracle
Break Free from OracleBreak Free from Oracle
Break Free from Oracle
 
An overview of reference architectures for Postgres
An overview of reference architectures for PostgresAn overview of reference architectures for Postgres
An overview of reference architectures for Postgres
 

More from EDB

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
EDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
EDB
 
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
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
EDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
EDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
EDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
EDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
EDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
EDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
EDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
EDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
EDB
 

More from EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
 
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
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 

Recently uploaded

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 

Recently uploaded (20)

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 

Discover PostGIS: Add Spatial functions to PostgreSQL

  • 1. © 2018 EnterpriseDB® Corporation. All rights reserved. 1 DISCOVER POSTGIS 1 Mansur Shaikh CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
  • 2. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2018. All rights reserved. THE DATABASE PLATFORM COMPANY FOR DIGITAL BUSINESS EnterpriseDB (EDB) delivers the premier open source-based, multi-model data platform for new applications, cloud re-platforming, application modernization, and legacy migration. 2
  • 3. © Copyright EnterpriseDB Corporation, 2018. All rights reserved. Who is EDB?
  • 4. © Copyright EnterpriseDB Corporation, 2018. All rights reserved. WHO IS EDB? Founded in 2004 Customer base > 4000 500+ employees in offices worldwide Recognized RDBMS leader Gartner Forrester Largest PostgreSQL community leader: • EDB Postgres Technology Platform • Services, Training & RDBA • Community PostgreSQL Experts • Community contributions and influence • Partner ecosystem The world leader in open-source based Postgres software and services.
  • 5. © 2018 EnterpriseDB® Corporation. All rights reserved. 5 CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved. 5 Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB. OVER 4,000 CUSTOMERS U.S Customers EMEA Customers APAC Customers 102 of the Fortune 500 337 of the Forbes Global 2000
  • 6. WORLDWIDE PRESENCE CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.6
  • 7. CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2018. All rights reserved. ONLY OPEN SOURCE RDBMS IN GARTNER MQ EDB Recognized 7 Years In A Row on Gartner’s Magic Quadrant
  • 8. © 2015 EnterpriseDB Corporation. All rights reserved. 8 Getting started with PostGIS
  • 9. © 2018 EnterpriseDB® Corporation. All rights reserved. 9 About PostGIS • Refractions Research released first version in 2001 under the GNU license • Follows the Simple Features for SQL specification from the Open Geospatial Consortium (OGC) • Over 300 spatial operators and spatial functions − Processing and analytical functions • Spatial data types • Spatial indexing • Spatial reprojection • Import / Export shapefiles (command line and GUI) • Commands for importing raster data • SQL commands to render and import data from multiple formats such GeoJSON, KML, GML, and WTK 9
  • 10. © 2018 EnterpriseDB® Corporation. All rights reserved. 10 PostGIS : Getting started with spatial databases • QGIS − Open Source desktop GIS • Enterprise GIS − An integrated GIS system that is accessible throughout your organization • Spatial database − A centralized location for storing spatial data − Spatial features for dealing with spatial data and analysis • PostGIS − A specific implementation of a spatial database built on the PostgreSQl database
  • 11. © 2018 EnterpriseDB® Corporation. All rights reserved. 11 PostGIS Data Types Geometry Geography Raster Topology
  • 12. © 2018 EnterpriseDB® Corporation. All rights reserved. 12 PostGIS Data subtypes Point Linestring Polygon Multipoint Multilinestring Multipolygon
  • 13. © 2018 EnterpriseDB® Corporation. All rights reserved. 13 Spatial Definitions Examples (1 of 5) Boundary
  • 14. © 2018 EnterpriseDB® Corporation. All rights reserved. 14 Spatial Definitions Examples (2 of 5)
  • 15. © 2018 EnterpriseDB® Corporation. All rights reserved. 15 Spatial Definitions Examples (3 of 5)
  • 16. © 2018 EnterpriseDB® Corporation. All rights reserved. 16 Spatial Definitions Examples (4 of 5) Equals
  • 17. © 2018 EnterpriseDB® Corporation. All rights reserved. 17 Getting started (loading data…) 17 INSERT into events_geo(eventname,geom,date) SELECT eventname, st_setsrid(st_makepoint(lon,lat),4326) as geom,date FROM events; Events Table eventname character varying lat double precision lon double precision Date timestamp with time zone events_geo Table eventname character varying lat double precision Lon double precision Date timestamp with time zone
  • 18. © 2018 EnterpriseDB® Corporation. All rights reserved. 18 Getting started (visual inspection) 18
  • 19. © 2018 EnterpriseDB® Corporation. All rights reserved. 19 Getting started (visual inspection) 19
  • 20. © 2018 EnterpriseDB® Corporation. All rights reserved. 20 Getting started (Geometry Input and Output) 20 Example Input function Insert into cities (name,state,geom) Values (‘Bedford’,’MA’, ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
  • 21. © 2018 EnterpriseDB® Corporation. All rights reserved. 21 Getting started (Power of GIS & SQL) Create a route from a collection of waypoints captured in sequence Write a function to tell whether a given lat/lon pair is within a Point-Radius ring
  • 22. © 2018 EnterpriseDB® Corporation. All rights reserved. 22 Getting started (Power of GIS & SQL) 34, 9 70, 12 Simple distance query between two points SELECT ST_Distance (ST_GeomFromText('POINT(34 9)’,4629), ST_GeomFromText('POINT(70 12)’,4629));
  • 23. © 2018 EnterpriseDB® Corporation. All rights reserved. 23 Getting started (Power of GIS & SQL) Create a route from a collection of waypoints captured in sequence Write a function to tell whether a given lat/lon pair is within a Point-Radius ring
  • 24. © 2018 EnterpriseDB® Corporation. All rights reserved. 24 Getting started (Power of GIS & SQL) All the powerful tools of the RDBMS are available to you Insert into cities (name,state,geom) Values (‘Bedford’,’MA’, ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
  • 25. © 2018 EnterpriseDB® Corporation. All rights reserved. 25 Getting started (Power of GIS & SQL) Answer powerful questions with a simple query Example Input function Insert into cities (name,state,geom) Values (‘Bedford’,’MA’, ST_GeomFromText(‘POINT(-71.248063 42.510547)’,4326));
  • 26. © 2018 EnterpriseDB® Corporation. All rights reserved. 26 Getting started (Power of GIS & SQL)
  • 27. © 2018 EnterpriseDB® Corporation. All rights reserved. 27 What exactly is a spatial database ? • Simple features standard (SFS) developed by Open Geospatial Consortium − Storage − Geometry-BLOB Field − Spatial functions (buffer, intersect, etc) − PostGIS- ST_buffer(geom,400) − SQL Server-geom.STBuffer(400) − SQL/MM Spatial-extends SFS • Spatial Indexes
  • 28. © 2018 EnterpriseDB® Corporation. All rights reserved. 28 Simple SQL Statement • Select nest_id, recentstat, ST_Distance(geom, home) from raptor_nests • Where recentspec=‘RTHA’ • Order by recentstat, nest_id; • Why use SQl – Standard, Text based, store in database, backups in plain text format, sent from web pages
  • 29. © 2015 EnterpriseDB Corporation. All rights reserved. 29 PostGIS Installation
  • 30. © 2018 EnterpriseDB® Corporation. All rights reserved. 30 Installing PostGIS on your Local Computer https://www.enterprisedb.com/downloads/postgis
  • 31. © 2018 EnterpriseDB® Corporation. All rights reserved. 31 PgAdmin4 Open PgAdmin4 Select on server and create server Right click on database and create database -> sdb_course Select sdb_course-> verify extensions and schemas and functions Add PostGIS extension Select sdb_course Open query tool-> create extension postgis; Verify functions, extensions and public schema spatial_ref_sys
  • 32. © 2018 EnterpriseDB® Corporation. All rights reserved. 32 Installing QGIS : DEMO • Download link https://qgis.org/en/site/forusers/download.html
  • 33. © 2018 EnterpriseDB® Corporation. All rights reserved. 33 Loading Spatial data into PostGIS − Resource file :- sdb_data.zip − Loading shapefile − Using PostGIS shapefile and dbf exporter − Command line :- c:programefilespostgresql11bin − raster2pgsql , shp2pgsql − Open Postgres shapefile import/export manager − View connection detail-> import->add file − Goto S DB_DATA folder -> load baea-nests.shp and bowl_habitat.shp − Give special reference id is 4326
  • 34. © 2018 EnterpriseDB® Corporation. All rights reserved. 34 Loading Spatial data into PostGIS using QGIS • Load into QGIS and then put into PostGIS − Any type of vector data you can load and view – ESRIGeo, or Jeojson, GPS file − Select SDB_DATA folder from browser panel and drag and paste layers panel − Select three file GBH_Rookeries.shp, Linear_Projects.shp, Raptor_Nests-shp − First make connection − Select database-> Dbmanager -> − Make a connection with postgis from Browser panel -> provide connection information − Click on basic for authentication and click on store -> Test connection − List tables with no geometry − Click on ok − Click on import − Give input file GBH_Rookeries, Linear_projects, Raptor_nests one by one Go to PGAdmin4 and verify sdb_course with these five tables
  • 35. © 2018 EnterpriseDB® Corporation. All rights reserved. 35 Accessing PostGIS from the commandline, the pgAdmin, QGIS − C:programefilepostgresql11binshp2pgsql − C:programefilepostgresql11binraster2pgsql − pgAdmin4 − Open query tools  Select * from baue_nests Some other tables with geometry column
  • 36. © 2018 EnterpriseDB® Corporation. All rights reserved. 36 4. Making SQL Spatial • The PostGIS Vector Geometry model • The Spatial reference ID • The Geometry field • Geometry vs Geography data type • Spatial queries-working with Geometries • Spatial queries-Measurement • Spatial queries – Accessing the geometry
  • 37. © 2018 EnterpriseDB® Corporation. All rights reserved. 37 4. Vector Geometry Model • Conforms to the OGC SFS standard • Basic data structure is a Point − 2 dimension –X and Y values. (longitude and latitude), projection − 3 Dimension value- z values • Line String is an array of points • Polygon is an array of closed LineString’s − First Linestring is an exterior ring − Each following LineString is an interior ring
  • 38. © 2018 EnterpriseDB® Corporation. All rights reserved. 38 4. Vector Geometry Model. Cont.. • Multi-Part geometries − Array of individual geometries − Multipoint − MultiLinestring − MultiPolygon • Features − Geometry − Attributes(field, properties,etc)
  • 39. © 2018 EnterpriseDB® Corporation. All rights reserved. 39 Spatial Reference ID • Unique identifier for a coordinate reference system − Coordinate System :- based in angles based on earth − Projection − Zone − Datum • In PostGIS you indicate the Spatial Reference by a number • That number corresponds to well known Text • Individual Geometries can have a spatial reference • Geometry columns have a spatial reference
  • 40. © 2018 EnterpriseDB® Corporation. All rights reserved. 40 The Geometry field • The geometry field is what makes a table spatial • Its just a column in the database that can store a feature geometry • It includes the SRID, the geometry type, and the actual coordinates in binary form • We can’t interpret the binary data but PostGIS provides a number of functions that can output the geometry in human readable format binary data could be picture, shape any things These are functions that can output geometry as human redable text • ST_AsText(), ST_AsEWKT(), ST_AsGeoJSON, etc. • The combination of a geometry and the attribute that describes that geometry is known as features
  • 41. © 2018 EnterpriseDB® Corporation. All rights reserved. 41 Geometry vs Geography • Two different ways to store a features spatial information − Geometry (data type). Based on plain surface − Geography. (data type). Based on circular earth , math behind calculation is complicated • Geometry − Based on planner surface − Can be in a variety of coordinates reference systems defined by OGC − Are mathematically simple − Rich set of functions available − OGC standard , GEOS libraries, etc. − Accuracy declines as spatial extent increases.
  • 42. © 2018 EnterpriseDB® Corporation. All rights reserved. 42 Geometry vs Geography cont .. • Geography − Based on round earth − Can only be in geographic coordinates system (latitude/longitude) − Are mathematically complex − Only support a fraction of the functions that are available for geometries − Accurate measurements − Which should you use ?? − Scale of your data and if larger distance use geography − Availability of functions that you need − performance
  • 43. © 2018 EnterpriseDB® Corporation. All rights reserved. 43 Working with Geometries • What can we do with Geometries in PostGIS − Get information about it − GeometryType(geom) what type point, line or polygon − ST_CoordDIM(geom). How many coordinate associate with each points − ST_Dimension(geom). Like if line then it is one dimenstional, polygon is area which is two dimensional − ST_SRID(geom). :- special reference id for geometry − ST_IsCollection(geom) :- returns true if geometry is single point or multipoint polygon − ST_NumGeometries(geom),ST_NuminteriorRings(geom),ST_NumPoints(geom) − ST_IsSimple(geom),ST_IsEmpty(geom),ST_IsClosed(geom),ST_isRing(geom) − ST_IsValid(geom), ST_IsValidReason(geom) • Change it’s spatial reference • ST_SetSRID(geom,SRID) changes special reference id associated with that geometry • ST_Transform(geom,SRID) converts one coordinate reference system to another
  • 44. © 2018 EnterpriseDB® Corporation. All rights reserved. 44 Spatial Queries :- Measurements • What we can do with geometry ? − Measure it − ST_Length(line) − Geometry- Cartesian length in SRID units − Geography-length in meters over the spheroid − ST_3DLength(line) - Geometry-3D cartesian length using SRID - Geography - Not supported − ST_LengthSpheroid(line, spheroid) − ST_Area(polygon) − Geometry- cartesian area in SRID units − Geography-area in square meters over the spheroid − ST_Perimeter(polygon), ST_3DPerimeter(polygon)
  • 45. © 2018 EnterpriseDB® Corporation. All rights reserved. 45 Spatial Queries :- Accessing the Geometries • What we can do with geometry ? − Calculate distance from other geometries − ST_Distance(geom1,geom2) Geometry-cartesian distance in SRID units Geography – length in meters over the spheroid − ST_3DDistance(geom1,geom2) - Geometry- cartesian distance using SRID in units - Geography - Not supported ST_DistanceSphere(geom1,geom2) Geometry-cartesian area in SRID units squre degrees Geography:- area in squre meters over the spheroid ST_Perimeter(polygon), ST3DPerimeter(polygon)
  • 46. © 2018 EnterpriseDB® Corporation. All rights reserved. 46 Spatial Queries :- Accessing the Geometries • What we can do with geometry ? − Calculate distance from other geometries − See it’s coordinate in text form − ST_AsText(geom), ST_AsWKT(geom) − ST_AsGeoJSON(geom) − ST_AsGML(geom), ST_AsKML(geom) − ST_AsMVT(table) − Access it’s Coordinates - ST_X(point), ST_Y(point), ST_Z(point), ST_M(point) - ST_StartPoint(geom0, ST_EndPoint(geom) − ST_PointN(geom,n), ST_LineinterpolatePoint(geom,proportion) − ST_GeometryN(geom,n) − ST_ExteriorRing(geom), ST_interiorRingN(geom,n)
  • 47. © 2018 EnterpriseDB® Corporation. All rights reserved. 47 • Docs - http://www.postgis.org/docs/ • PostGIS in Action, 2nd Edition − http://www.amazon.com/gp/search?index=books&linkCode=qs&keywords=9781617291395 Resources:
  • 48. © 2018 EnterpriseDB® Corporation. All rights reserved. 48 48 Postgres Vision Goes Virtual in 2020. APJ Track on 24th June Time: 8.30am – 11.45am IST/ 11.00am – 2.45pm Singapore/1.00pm to 4.45pm AU EST Attend from the comfort of your home. Learn: • how organizations are using PostgreSQL to reduce cost & increase innovation • the tools and technology that PostgreSQL experts are using • how developers are using PostgreSQL databases • about the of future of PostgreSQL and much more REGISTER NOW
  • 49. © 2018 EnterpriseDB® Corporation. All rights reserved. 49 THANK YOU info@enterprisedb.com www.enterprisedb.com CONFIDENTIAL © Copyright EnterpriseDB