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

LP:855492 - ST_WITHIN returns TRUE on point on the edge of a polygon

    Details

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

      Description

      ST_WITHIN( POINTFROMTEXT(' POINT(1 2 ) ') , MULTIPOLYGONFROMTEXT(' MULTIPOLYGON( ( (0 5, 3 5, 3 0, 0 0, 0 5), ( 1 1 , 2 1 , 2 4, 1 4, 1 1 ) ) ) '))

      returns TRUE in MariaDB, even though the point is on the edge of the polygon.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            holyfoot Alexey Botchkov added a comment -

            Re: ST_WITHIN returns TRUE on point on the edge of a polygon
            As far as i can see from the OpenGIS description, it's the expected behaviour.

            Show
            holyfoot Alexey Botchkov added a comment - Re: ST_WITHIN returns TRUE on point on the edge of a polygon As far as i can see from the OpenGIS description, it's the expected behaviour.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 855492

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

              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: