Skip to content
  • Ramil Kalimullin's avatar
    e92838cb
    BUG#13864679: ST_CONTAINS() REPORTS THAT A POLYGON DOES NOT CONTAIN ITSELF · e92838cb
    Ramil Kalimullin authored
    Due to a defect in the precise spatial operation algorithm design 
    and implementation ST_CONTAINS()/ST_WITHIN wrongly report that a polygon 
    doesn't contain itself. Also ST_EQUALS() wrongly returns 0 for the same 
    polygons with shifted vertices.
    Fixed by:
    1. making ST_EQUALS() to ignore vertices shifting and
    2. checking arguments equality at the very beginning
    of the ST_CONTAINS()/ST_WITHIN().
    e92838cb
    BUG#13864679: ST_CONTAINS() REPORTS THAT A POLYGON DOES NOT CONTAIN ITSELF
    Ramil Kalimullin authored
    Due to a defect in the precise spatial operation algorithm design 
    and implementation ST_CONTAINS()/ST_WITHIN wrongly report that a polygon 
    doesn't contain itself. Also ST_EQUALS() wrongly returns 0 for the same 
    polygons with shifted vertices.
    Fixed by:
    1. making ST_EQUALS() to ignore vertices shifting and
    2. checking arguments equality at the very beginning
    of the ST_CONTAINS()/ST_WITHIN().
Loading