• Alexey Botchkov's avatar
    fixed bugs · 5123f59e
    Alexey Botchkov authored
    855485  ST_CROSSES returns different result than PostGIS for overlapping polygons
    855487  ST_WITHIN returns wrong result for partially overlapping polygons
    855492  ST_WITHIN returns TRUE on point on the edge of a polygon
    855497  ST_ENVELOPE of GEOMETRYCOLLECTION EMPTY returns NULL and not GEOMETRYCOLLECTION EMPTY
    855503  ST_EQUALS reports TRUE between a POLYGON and a MULTILINESTRING
    855505  ST_TOUCHES reports TRUE for intersecting polygon and linestring
    
            Changed the way weird functions like Crosses or Touches treated.
            Added BORDER handling to the Gcalc_function.
    
    per-file comments:
      mysql-test/r/gis-precise.result
            GIS bugs fixed.
            test result updated.
      mysql-test/t/gis-precise.test
            GIS bugs fixed.
            test cases added.
      sql/gcalc_slicescan.h
            GIS bugs fixed.
      sql/gcalc_tools.cc
            GIS bugs fixed.
      sql/gcalc_tools.h
            GIS bugs fixed.
      sql/item_create.cc
            GIS bugs fixed.
      sql/item_geofunc.cc
            GIS bugs fixed.
      sql/item_geofunc.h
            GIS bugs fixed.
      sql/spatial.cc
            GIS bugs fixed.
    5123f59e
item_create.cc 131 KB