Date post: | 27-Jan-2015 |
Category: |
Technology |
Upload: | geolivre-conference |
View: | 126 times |
Download: | 0 times |
Friendly Survey - Introduction Friendly Survey - Introduction 11
PostGIS for Enterprise
Jody Garnet
Thanks to:Simon Greener
Paul RamseyMark Leslie
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 22
What is a Spatial DatabaseSpatial Data TypesSpatial IndexingSpatial Functions
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 33
What is a Spatial Database?Spatial Data Types
Pointa single coordinate of two to four dimensions
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 44
Line StringSpatial Data Types
Linestringa set of two or more coordinateslinear interpretation of path between coordinates
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 55
Linear RingSpatial Data Types
Linearringa linestring with three or more coordinatesthe start and end points are the same
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 66
PolygonSpatial Data Types
Polygona set of one or more linearringsone ring defines the exterior boundaryremainder defines the holes in the polygon
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 77
Multi GeometriesSpatial Data Types
Multi-geometries (Multipoint, Multilinestring, Multipolygon)a set of like geometries
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 88
Spatial IndexingSpatial Data TypesSpatial Indexing
R-treeQuadtreeGrid-based
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 99
Spatial FunctionsSpatial Data TypesSpatial IndexingSpatial Functions
ConstructionSerialisationPredicatesAnalysisAccessorsBuildersAggregates
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1010
Total Length
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1111
ST_Intersection
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1212
ST_Intersection
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1313
ST_Buffer
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1414
ST_Buffer
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1515
ST_SIMPLIFY“Denormalisation” of feature types into multiple tables based on
known or expected access patternsRoads are visualised with different style classes and
rendered at different scales
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1616
Spatial Extensions for PostgreSQLSpatial Extensions for PostgreSQL
Provides Spatial Data TypeProvides Spatial IndexingProvides Spatial Functions
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 1717
PostgreSQL for SpatialSpatial Extensions for PostgreSQLPostgreSQL Extensions for Spatial
ACID transaction guaranteesEnterprise reliabilityCrash recoveryHot backupReplicationSQL support
Friendly Survey - Introduction Friendly Survey - Introduction 1818
PostGIS History• Developed in 2001 by Refractions Research– to assist Refractions in their data processing tasks
Friendly Survey - Introduction Friendly Survey - Introduction 1919
Growth• Initially just an indexed load-store extension to allow
concurrent access to data• Functions added based on Simple Features for SQL
(using GEOS which is a port of JTS)• PostGIS 1.0 provided fast / lighter Geometry object
Friendly Survey - Introduction Friendly Survey - Introduction 2020
PostGIS Roadmap• Geography objects (spherical geometries)• Raster-in-db• curved geometry support• News update - PostGIS is now in OSGeo
Friendly Survey - Introduction Friendly Survey - Introduction 2121
PostGIS ClientsYear Support2001 MapServer, OGR2002 GeoServer, QGIS2003 Safe FME200420052006200720082009 MapInfo, GeoConcept
Ionic Red Spider, OSSIMCadCorp SIS, GRASS, uDig, OpenJUMPESRI Interoperability Extension, gvSIGESRI ArcGIS Server, Manifold, GeoDjangoFDO, MapGuide, AutoCAD MAP3D
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 2222
Institut Geographique National, FranceNational mapping agency of FranceStores high-res topographic data
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 2323
GlobeXplorer• Provides web-based access to petabytes of imagery• PostGIS is used to manage metadata and search for relevant
imagery
20/10/200920/10/2009 Introduction to PostGISIntroduction to PostGIS 2424
LISAsoft
ServicesServicesPostGISGeoServer
PublicationPublicationTileCache
Data ServiceData ServiceSnapMapsStore LocatorReverse Geocoder
Mobile ApplicationsMobile ApplicationsBuddy Finder Mokbee
• (my employer!)
Friendly Survey - Introduction Friendly Survey - Introduction 2525
Team CIMAR : DARPA Grand Challenge
Friendly Survey - Introduction Friendly Survey - Introduction 2626
Standards• Level playing field– Open Geospatial Consortium– International Standards Organization– W3C Consortium (XML/SVG)
• Simple Features for SQL / SQL Multi-Media Extensions
Friendly Survey - Introduction Friendly Survey - Introduction 2727
Simple Features for SQL
Friendly Survey - Introduction Friendly Survey - Introduction 2828
Implementations• Can DB handle 100M spatial features?• Spatial transactions• PostGIS? Yes• DB2? Yes• Oracle? Yes• SQL Server? In progress• MySQL? no!
Friendly Survey - Introduction Friendly Survey - Introduction 2929
Enterprise