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

LP:802194 - ST_INTERSECTION includes 1 extra edge in maria-5.3-gis

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The following expression:

      SELECT AsText( ST_INTERSECTION( PolygonFromText(' POLYGON ( (0 5, 3 5, 3 0, 0 0, 0 1, 2 1, 2 2 , 1 2 , 1 3 , 2 3 , 2 4, 0 4 , 0 5) ) ') , MultiPolygonFromText(' POLYGON( (3 5, 2 5, 2 4, 3 4, 3 5) ) ') ) );

      produces the following result:

      POLYGON((2 4,2 5,0 5,3 5,3 4,2 4))

      which contains the segment 2 5 , 0 5 , 3 5 which is incorrect.

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            philipstoev Philip Stoev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.