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

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 802194

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 802194

              People

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: