SlideShare a Scribd company logo
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 Method
Smit Shah
 
(Ds+alg) 5
(Ds+alg)   5(Ds+alg)   5
(Ds+alg) 5
MirOmranudinAbhar
 
__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
Pérez Gutiérrez María Concepción
 
__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
Pérez Gutiérrez María Concepción
 
Block diagram Examples
Block diagram ExamplesBlock diagram Examples
Block diagram Examples
Sagar Kuntumal
 
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)
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 Application
TELKOMNIKA JOURNAL
 
Block Diagram Reduction
Block Diagram ReductionBlock Diagram Reduction
Block Diagram Reduction
Gauravsinh Parmar
 
How Matlab Helps
How Matlab HelpsHow Matlab Helps
How Matlab Helps
siufu
 
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
Pérez Gutiérrez María Concepción
 
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
Charlton 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
 
Block diagram
Block diagramBlock diagram
Block diagram
Sagar Kuntumal
 
Tutorials questions
Tutorials questionsTutorials questions
Tutorials questions
mohammed mahmood
 
Ae2_19_progressive collapse analysis
  Ae2_19_progressive collapse analysis  Ae2_19_progressive collapse analysis
Ae2_19_progressive collapse analysis
Pérez Gutiérrez María Concepción
 

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 ElasticSearch
Fan Robbin
 
Opensource gis development - part 2
Opensource gis development - part 2Opensource gis development - part 2
Opensource gis development - part 2
Andrea Antonello
 
Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항Kopss Open API 단위테스트 이슈사항
Kopss Open API 단위테스트 이슈사항
MinPa Lee
 
Day 6 - PostGIS
Day 6 - PostGISDay 6 - PostGIS
Day 6 - PostGIS
Barry Jones
 
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
David 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 Smiley
Lucidworks
 
Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015Lucene/Solr spatial in 2015
Lucene/Solr spatial in 2015
David Smiley
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
Fatima891926
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
safayetmim1
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
vikramvsu
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
GodwinKingNyamador
 
Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017Magellan FOSS4G Talk, Boston 2017
Magellan FOSS4G Talk, Boston 2017
Ram Sriharsha
 
SQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 SpatialSQLBits X SQL Server 2012 Spatial
SQLBits X SQL Server 2012 Spatial
Michael 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 Community
MongoDB
 
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal OgudahGis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Michael Kimathi
 
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 World
GIS in the Rockies
 
Postgis for Enterprise
Postgis for EnterprisePostgis for Enterprise
Postgis for Enterprise
GeoLivre Conference
 

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

Crazy
CrazyCrazy
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

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
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
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
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
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
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
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
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
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
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
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
 

Recently uploaded (20)

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
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
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
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
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...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
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
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
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
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
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...
 

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