SlideShare a Scribd company logo
1 of 10
Download to read offline
MySQL Meetup



MySQL Spatial Extensions
       Andrew Collins
       April 4th, 2005
Non-
                         Geometry                                Instantiable
                                                                                Instantiable




                                                                 Geometry-
Point                 Curve                  Surface
                                                                 Collection
 1+     2+




                                                        Multi-
                    LineString               Polygon             MultiCurve     MultiPoint
                                                       Surface
             1+
                                                 1+




                                                        Multi-     Multi-
             Line          LinearRing
                                        1+             Polygon   LineString




OpenGIS Simple Features Specification for SQL
Geometry Class Hierarchy
Point         MultiPoint      LineString    LinearRing




    Multi-                           Multi-     Geometry-
                    Polygon
  LineString                        Polygon     Collection


OpenGIS Simple Features Specification for SQL
Spatial Data Model
SFS Methods : Basic
●   GeometryType()
    –   “POINT”, “POLYGON”, “LINEARRING” ...
●   Envelope()
    –   Polygon consisting of corner points of bounding box:
        ((MINX, MINY), (MAXX, MINY), (MAXX, MAXY),
        (MINX, MAXY), (MINX, MINY))
●   AsText()
    –   Returns string representation of the geometry in
        Well-Known Text (WKT) format
●   ... and a few other basic methods
SFS Methods : Spatial Relations
●   Intersects(anotherGeometry : Geometry)
     –   Returns true if this Geometry 'spatially intersects'
         anotherGeometry.
●   Touches(anotherGeometry : Geometry)
     –   Returns true if this Geometry 'spatially touches'
         anotherGeometry.
●   Contains(anotherGeometry : Geometry)
     –   Returns true if this Geometry 'spatially contains'
         anotherGeometry.
●   ... and a few other spatial relational methods:
     –   Equals(...), Disjoint(...), Crosses(...), Within(...),
         Overlaps(...), and Relate(...)
SFS Methods : Spatial Analysis
●   Distance(anotherGeometry : Geometry)
     –   Return shortest distance between this Geometry and
         anotherGeometry.
●   Union(anotherGeometry : Geometry)
     –   Returns the point set union of this Geometry and
         anotherGeometry.
●   Difference(anotherGeometry : Geometry)
     –   Returns the point set difference of this Geometry and
         anotherGeometry.
●   ... and a few other spatial relational methods:
     –   SymDifference(anotherGeometry : Geometry),
         Buffer(distance : Double), ConvexHull( ), ...
“Not Yet Implemented”
●   The OpenGIS SFS specification is great, but...
    –   ... the spatial extensions are only available as of
        MySQL 4.1.x
    –   ... and the SFS specification is not fully
        implemented.
●   Many of the spatial relations and analysis methods are
    “not yet implemented.”
    –   This is understandable given the fact that “robust”
        implementations of these methods are not easy to
        create.
JTS Topology Suite
●   The JTS Topology Suite
GML : Geography Markup Language
●   Another OpenGIS specification used to format Simple
    Features in XML
    –   XSLT available to translate GML to WKT
    –   ... and MySQL INSERT commands
Links
●   Open Geospatial Consortium, Inc. (OGC)
    http://www.opengeospatial.org/
●   OGC: Simple Features - SQL (SFS)
    http://www.opengeospatial.org/docs/99-049.pdf
●   Spatial Extensions in MySQL
    http://dev.mysql.com/doc/mysql/en/spatial-extensions-in-mysql.html
●
    Geography Markup Language (GML3.0)
    http://www.opengeospatial.org/specs/?page=specs
●   JTS Topology Suite
    http://www.vividsolutions.com/jts/JTSHome.htm

More Related Content

What's hot

Block Reduction Method
Block Reduction MethodBlock Reduction Method
Block Reduction MethodSmit Shah
 
Block diagram Examples
Block diagram ExamplesBlock diagram Examples
Block diagram ExamplesSagar Kuntumal
 
Signal flow graph (sfg)
Signal flow graph (sfg)Signal flow graph (sfg)
Signal flow graph (sfg)Dhruv Shah
 
Landslide_Mapping_Sri lanka
Landslide_Mapping_Sri lankaLandslide_Mapping_Sri lanka
Landslide_Mapping_Sri lankaRASHID JAVED
 
Static model development
Static model developmentStatic model development
Static model developmentKunal Rathod
 
A Model and Algorithm of Dynamic Map Expression and its Application
A Model and Algorithm of Dynamic Map Expression and its ApplicationA Model and Algorithm of Dynamic Map Expression and its Application
A Model and Algorithm of Dynamic Map Expression and its ApplicationTELKOMNIKA JOURNAL
 
How Matlab Helps
How Matlab HelpsHow Matlab Helps
How Matlab Helpssiufu
 
Week 10 part 1 pe 6282 Block Diagrams
Week  10 part 1 pe 6282   Block DiagramsWeek  10 part 1 pe 6282   Block Diagrams
Week 10 part 1 pe 6282 Block DiagramsCharlton Inao
 
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Computer Science Club
 
Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula vishalgohel12195
 

What's hot (20)

Block Reduction Method
Block Reduction MethodBlock Reduction Method
Block Reduction Method
 
(Ds+alg) 5
(Ds+alg)   5(Ds+alg)   5
(Ds+alg) 5
 
__ae2_22_PLASTIC ANALYSIS OF SLABS_YIELD LINES.pptx
__ae2_22_PLASTIC ANALYSIS OF SLABS_YIELD LINES.pptx__ae2_22_PLASTIC ANALYSIS OF SLABS_YIELD LINES.pptx
__ae2_22_PLASTIC ANALYSIS OF SLABS_YIELD LINES.pptx
 
__ae2_22_PROGRESSIVE COLLAPSE ANALYSIS_TEST 2_2122_solved.pptx
__ae2_22_PROGRESSIVE COLLAPSE ANALYSIS_TEST 2_2122_solved.pptx__ae2_22_PROGRESSIVE COLLAPSE ANALYSIS_TEST 2_2122_solved.pptx
__ae2_22_PROGRESSIVE COLLAPSE ANALYSIS_TEST 2_2122_solved.pptx
 
Block diagram Examples
Block diagram ExamplesBlock diagram Examples
Block diagram Examples
 
Class 9_ae2_slabs
  Class 9_ae2_slabs  Class 9_ae2_slabs
Class 9_ae2_slabs
 
Signal flow graph (sfg)
Signal flow graph (sfg)Signal flow graph (sfg)
Signal flow graph (sfg)
 
Landslide_Mapping_Sri lanka
Landslide_Mapping_Sri lankaLandslide_Mapping_Sri lanka
Landslide_Mapping_Sri lanka
 
Static model development
Static model developmentStatic model development
Static model development
 
A Model and Algorithm of Dynamic Map Expression and its Application
A Model and Algorithm of Dynamic Map Expression and its ApplicationA Model and Algorithm of Dynamic Map Expression and its Application
A Model and Algorithm of Dynamic Map Expression and its Application
 
distance_matrix_ch
distance_matrix_chdistance_matrix_ch
distance_matrix_ch
 
Block Diagram Reduction
Block Diagram ReductionBlock Diagram Reduction
Block Diagram Reduction
 
How Matlab Helps
How Matlab HelpsHow Matlab Helps
How Matlab Helps
 
Ae2_19_plastic analysis of slabs_yield lines
  Ae2_19_plastic analysis of slabs_yield lines  Ae2_19_plastic analysis of slabs_yield lines
Ae2_19_plastic analysis of slabs_yield lines
 
Week 10 part 1 pe 6282 Block Diagrams
Week  10 part 1 pe 6282   Block DiagramsWeek  10 part 1 pe 6282   Block Diagrams
Week 10 part 1 pe 6282 Block Diagrams
 
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
Andrew Goldberg. Highway Dimension and Provably Efficient Shortest Path Algor...
 
Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula Signal flow graph Mason’s Gain Formula
Signal flow graph Mason’s Gain Formula
 
Block diagram
Block diagramBlock diagram
Block diagram
 
Tutorials questions
Tutorials questionsTutorials questions
Tutorials questions
 
Ae2_19_progressive collapse analysis
  Ae2_19_progressive collapse analysis  Ae2_19_progressive collapse analysis
Ae2_19_progressive collapse analysis
 

Similar to MySQL Spatial Extensions - Boston MySQL Meetup April 2005

The state of geo in ElasticSearch
The state of geo in ElasticSearchThe state of geo in ElasticSearch
The state of geo in ElasticSearchFan Robbin
 
Opensource gis development - part 2
Opensource gis development - part 2Opensource gis development - part 2
Opensource gis development - part 2Andrea Antonello
 
Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항MinPa Lee
 
2016-01 Lucene Solr spatial in 2015, NYC Meetup
2016-01 Lucene Solr spatial in 2015, NYC Meetup2016-01 Lucene Solr spatial in 2015, NYC Meetup
2016-01 Lucene Solr spatial in 2015, NYC MeetupDavid Smiley
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Texas Natural Resources Information System
 
Lucene/Solr Spatial in 2015: Presented by David Smiley
Lucene/Solr Spatial in 2015: Presented by David SmileyLucene/Solr Spatial in 2015: Presented by David Smiley
Lucene/Solr Spatial in 2015: Presented by David SmileyLucidworks
 
Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015David Smiley
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptFatima891926
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptsafayetmim1
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptvikramvsu
 
Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017Ram Sriharsha
 
SQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 SpatialSQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 SpatialMichael Rys
 
Giving MongoDB a Way to Play with the GIS Community
Giving MongoDB a Way to Play with the GIS CommunityGiving MongoDB a Way to Play with the GIS Community
Giving MongoDB a Way to Play with the GIS CommunityMongoDB
 
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 OgudahMichael Kimathi
 
Drupal mapping modules
Drupal mapping modulesDrupal mapping modules
Drupal mapping modulesPatrick Hayes
 
2017 RM-URISA Track: Spatial SQL - The Best Kept Secret in the Geospatial World
2017 RM-URISA Track:  Spatial SQL - The Best Kept Secret in the Geospatial World2017 RM-URISA Track:  Spatial SQL - The Best Kept Secret in the Geospatial World
2017 RM-URISA Track: Spatial SQL - The Best Kept Secret in the Geospatial WorldGIS in the Rockies
 

Similar to MySQL Spatial Extensions - Boston MySQL Meetup April 2005 (20)

The state of geo in ElasticSearch
The state of geo in ElasticSearchThe state of geo in ElasticSearch
The state of geo in ElasticSearch
 
Opensource gis development - part 2
Opensource gis development - part 2Opensource gis development - part 2
Opensource gis development - part 2
 
Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항
 
Day 6 - PostGIS
Day 6 - PostGISDay 6 - PostGIS
Day 6 - PostGIS
 
2016-01 Lucene Solr spatial in 2015, NYC Meetup
2016-01 Lucene Solr spatial in 2015, NYC Meetup2016-01 Lucene Solr spatial in 2015, NYC Meetup
2016-01 Lucene Solr spatial in 2015, NYC Meetup
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...
 
Lucene/Solr Spatial in 2015: Presented by David Smiley
Lucene/Solr Spatial in 2015: Presented by David SmileyLucene/Solr Spatial in 2015: Presented by David Smiley
Lucene/Solr Spatial in 2015: Presented by David Smiley
 
Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017
 
SQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 SpatialSQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 Spatial
 
Giving MongoDB a Way to Play with the GIS Community
Giving MongoDB a Way to Play with the GIS CommunityGiving MongoDB a Way to Play with the GIS Community
Giving MongoDB a Way to Play with the GIS Community
 
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
 
Drupal mapping modules
Drupal mapping modulesDrupal mapping modules
Drupal mapping modules
 
2017 RM-URISA Track: Spatial SQL - The Best Kept Secret in the Geospatial World
2017 RM-URISA Track:  Spatial SQL - The Best Kept Secret in the Geospatial World2017 RM-URISA Track:  Spatial SQL - The Best Kept Secret in the Geospatial World
2017 RM-URISA Track: Spatial SQL - The Best Kept Secret in the Geospatial World
 
Post gispguk
Post gispgukPost gispguk
Post gispguk
 
Postgis for Enterprise
Postgis for EnterprisePostgis for Enterprise
Postgis for Enterprise
 

More from Andrew Collins

The Question Answer’d
The Question Answer’dThe Question Answer’d
The Question Answer’dAndrew Collins
 
Eight Marks of a Mind Control Cult
Eight Marks of a Mind Control CultEight Marks of a Mind Control Cult
Eight Marks of a Mind Control CultAndrew Collins
 
Cults & Thought Reform
Cults & Thought ReformCults & Thought Reform
Cults & Thought ReformAndrew Collins
 
Religious Liberty & The Free Exercise Clause
Religious Liberty & The Free Exercise ClauseReligious Liberty & The Free Exercise Clause
Religious Liberty & The Free Exercise ClauseAndrew Collins
 
Using Steam Distillation to Produce Essential Oils
Using Steam Distillation to Produce Essential OilsUsing Steam Distillation to Produce Essential Oils
Using Steam Distillation to Produce Essential OilsAndrew Collins
 

More from Andrew Collins (12)

Art Critique Words
Art Critique WordsArt Critique Words
Art Critique Words
 
Crazy
CrazyCrazy
Crazy
 
A Dream Deferred
A Dream DeferredA Dream Deferred
A Dream Deferred
 
The Purse-Seine
The Purse-SeineThe Purse-Seine
The Purse-Seine
 
The Question Answer’d
The Question Answer’dThe Question Answer’d
The Question Answer’d
 
Exuberance is Beauty
Exuberance is BeautyExuberance is Beauty
Exuberance is Beauty
 
Eight Marks of a Mind Control Cult
Eight Marks of a Mind Control CultEight Marks of a Mind Control Cult
Eight Marks of a Mind Control Cult
 
Cults & Thought Reform
Cults & Thought ReformCults & Thought Reform
Cults & Thought Reform
 
Religion in School
Religion in SchoolReligion in School
Religion in School
 
Religious Liberty & The Free Exercise Clause
Religious Liberty & The Free Exercise ClauseReligious Liberty & The Free Exercise Clause
Religious Liberty & The Free Exercise Clause
 
What is Aromatherapy?
What is Aromatherapy?What is Aromatherapy?
What is Aromatherapy?
 
Using Steam Distillation to Produce Essential Oils
Using Steam Distillation to Produce Essential OilsUsing Steam Distillation to Produce Essential Oils
Using Steam Distillation to Produce Essential Oils
 

Recently uploaded

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfUK Journal
 

Recently uploaded (20)

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 

MySQL Spatial Extensions - Boston MySQL Meetup April 2005

  • 1. MySQL Meetup MySQL Spatial Extensions Andrew Collins April 4th, 2005
  • 2. Non- Geometry Instantiable Instantiable Geometry- Point Curve Surface Collection 1+ 2+ Multi- LineString Polygon MultiCurve MultiPoint Surface 1+ 1+ Multi- Multi- Line LinearRing 1+ Polygon LineString OpenGIS Simple Features Specification for SQL Geometry Class Hierarchy
  • 3. Point MultiPoint LineString LinearRing Multi- Multi- Geometry- Polygon LineString Polygon Collection OpenGIS Simple Features Specification for SQL Spatial Data Model
  • 4. SFS Methods : Basic ● GeometryType() – “POINT”, “POLYGON”, “LINEARRING” ... ● Envelope() – Polygon consisting of corner points of bounding box: ((MINX, MINY), (MAXX, MINY), (MAXX, MAXY), (MINX, MAXY), (MINX, MINY)) ● AsText() – Returns string representation of the geometry in Well-Known Text (WKT) format ● ... and a few other basic methods
  • 5. SFS Methods : Spatial Relations ● Intersects(anotherGeometry : Geometry) – Returns true if this Geometry 'spatially intersects' anotherGeometry. ● Touches(anotherGeometry : Geometry) – Returns true if this Geometry 'spatially touches' anotherGeometry. ● Contains(anotherGeometry : Geometry) – Returns true if this Geometry 'spatially contains' anotherGeometry. ● ... and a few other spatial relational methods: – Equals(...), Disjoint(...), Crosses(...), Within(...), Overlaps(...), and Relate(...)
  • 6. SFS Methods : Spatial Analysis ● Distance(anotherGeometry : Geometry) – Return shortest distance between this Geometry and anotherGeometry. ● Union(anotherGeometry : Geometry) – Returns the point set union of this Geometry and anotherGeometry. ● Difference(anotherGeometry : Geometry) – Returns the point set difference of this Geometry and anotherGeometry. ● ... and a few other spatial relational methods: – SymDifference(anotherGeometry : Geometry), Buffer(distance : Double), ConvexHull( ), ...
  • 7. “Not Yet Implemented” ● The OpenGIS SFS specification is great, but... – ... the spatial extensions are only available as of MySQL 4.1.x – ... and the SFS specification is not fully implemented. ● Many of the spatial relations and analysis methods are “not yet implemented.” – This is understandable given the fact that “robust” implementations of these methods are not easy to create.
  • 8. JTS Topology Suite ● The JTS Topology Suite
  • 9. GML : Geography Markup Language ● Another OpenGIS specification used to format Simple Features in XML – XSLT available to translate GML to WKT – ... and MySQL INSERT commands
  • 10. Links ● Open Geospatial Consortium, Inc. (OGC) http://www.opengeospatial.org/ ● OGC: Simple Features - SQL (SFS) http://www.opengeospatial.org/docs/99-049.pdf ● Spatial Extensions in MySQL http://dev.mysql.com/doc/mysql/en/spatial-extensions-in-mysql.html ● Geography Markup Language (GML3.0) http://www.opengeospatial.org/specs/?page=specs ● JTS Topology Suite http://www.vividsolutions.com/jts/JTSHome.htm