SlideShare uma empresa Scribd logo
1 de 10
Baixar para ler 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

Mais conteúdo relacionado

Mais procurados

Landslide_Mapping_Sri lanka
Landslide_Mapping_Sri lankaLandslide_Mapping_Sri lanka
Landslide_Mapping_Sri lanka
RASHID JAVED
 
Static model development
Static model developmentStatic model development
Static model development
Kunal Rathod
 
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
 

Mais procurados (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
 

Semelhante a MySQL Spatial Extensions - Boston MySQL Meetup April 2005

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
 
Drupal mapping modules
Drupal mapping modulesDrupal mapping modules
Drupal mapping modules
Patrick Hayes
 

Semelhante a 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
 

Mais de 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
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

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