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

Wrong result from st_isvalid() and polygon

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • 11.7
    • GIS
    • None

    Description

      The expected result is 0:

      MariaDB [test]> SELECT ST_IsValid(ST_GEOMFROMTEXT(' POLYGON(( 1 1, 1 1, 1 1, 1 3, 1 1 )) '));
      +-----------------------------------------------------------------------+
      | ST_IsValid(ST_GEOMFROMTEXT(' POLYGON(( 1 1, 1 1, 1 1, 1 3, 1 1 )) ')) |
      +-----------------------------------------------------------------------+
      |                                                                     1 |
      +-----------------------------------------------------------------------+
      1 row in set (0,002 sec)
      
      

      Attachments

        Issue Links

          Activity

            People

              Gosselin Dave Gosselin
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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