circle-info
Webinar | The Great Database Exodus: Navigating Strategic Risk in the Post-Oracle MySQL Era
Watch Nowarrow-up-right
LogoLogo
search
⌘Ctrlk
Download MariaDBContact Us
  • Home
  • MariaDB Platform
  • Server
  • MaxScale
  • Analytics
  • Galera Cluster
  • Connectors
  • Tools
  • MariaDB Cloud
  • Release Notes
  • General Resources
GitBook Assistant
GitBook Assistant
Working...Thinking...
GitBook Assistant
Good evening

I'm here to help you with the docs.

⌘Ctrli
AI Based on your contextquestion-circle
LogoLogo
  • serverMariaDB Server Documentation
  • rabbit-runningQuickstart Guides
  • tvServer Usage
  • gearServer Management
  • shield-halvedSecurity
  • house-blankArchitecture
  • wrenchClients & Utilities
  • chart-mixedHA & Performance
  • paperclipReference
    • SQL Structure
    • SQL Statements
      • Comment Syntax
      • Account Management
      • Administrative Statements
      • Data Definition (DDL)
      • Data Manipulation (DML)
      • Geometry Statements
        • Geometry Constructors
        • Geometry Properties
        • Geometry Relations
          • CONTAINS
          • CROSSES
          • DISJOINT
          • EQUALS
          • INTERSECTS
          • OVERLAPS
          • ST_CONTAINS
          • ST_CROSSES
          • ST_DIFFERENCE
          • ST_DISJOINT
          • ST_DISTANCE
          • ST_DISTANCE_SPHERE
          • ST_EQUALS
          • ST_INTERSECTS
          • ST_LENGTH
          • ST_OVERLAPS
          • ST_TOUCHES
          • ST_WITHIN
          • TOUCHES
          • WITHIN
        • LineString Properties
        • MBR (Minimum Bounding Rectangle)
        • Miscellaneous GIS functions
        • Point Properties
        • Polygon Properties
        • WKB
        • WKT
      • Prepared Statements
      • Programmatic & Compound Statements
      • Stored Routine Statements
      • Table Statements
      • Transactions
    • SQL Functions
    • Data Types
    • Plugins
    • System Tables
    • Error Codes
    • Client/Server Protocol
    • Product Development
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. paperclipReferencechevron-right
  2. SQL Statementschevron-right
  3. Geometry Statements

Geometry Relations

Learn about geometry relations in MariaDB Server. This section details SQL functions for determining spatial relationships between geometric objects, such as ST_Intersects and ST_Contains.

CONTAINSchevron-rightCROSSESchevron-rightDISJOINTchevron-rightEQUALSchevron-rightINTERSECTSchevron-rightOVERLAPSchevron-rightST_CONTAINSchevron-rightST_CROSSESchevron-rightST_DIFFERENCEchevron-rightST_DISJOINTchevron-rightST_DISTANCEchevron-rightST_DISTANCE_SPHEREchevron-rightST_EQUALSchevron-rightST_INTERSECTSchevron-rightST_LENGTHchevron-rightST_OVERLAPSchevron-rightST_TOUCHESchevron-rightST_WITHINchevron-rightTOUCHESchevron-rightWITHINchevron-right
PreviousST_SRIDchevron-leftNextCONTAINSchevron-right

Last updated 7 months ago

Was this helpful?

LogoLogo

Products

  • Enterprise Platform
  • Community Server
  • Download MariaDB
  • Pricing

Support

  • Customer Login
  • Technical Support
  • Remote DBA
  • Professional Services

Resources

  • MariaDB Blog
  • Webinars
  • Customer Stories
  • MariaDB Events
  • Documentation
  • Developer Hub

Company

  • About MariaDB
  • Newsroom
  • Leadership
  • MariaDB Careers
  • Legal
  • Privacy Policy

© 2026 MariaDB. All rights reserved.

Was this helpful?