Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36567

ST_Distance/ST_Distance_Sphere geo-spatial distances between a POINT and a POLYGON return NULL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • GIS
    • None
    • Server version: 11.4.5-MariaDB-ubu2404 - mariadb.org binary distribution

    Description

      Geo-spatial distances between a POINT and a POLYGON return NULL.

      Replication:

      SELECT ST_Distance(ST_GeomFromText('POINT(154.234373 -31.0200686)'), ST_GeomFromText('POLYGON(153.1908437 -30.0200686,153.234373 -30.0200686,153.234373 -30.0200686,153.1908437 -30.0200686,153.1908437 -30.0200686)'));

      Attachments

        Activity

          People

            Unassigned Unassigned
            luci El Kay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.