ST_AREA returns different results on two equivalent multipolygons

Bug #855323 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Opinion
Undecided
Alexey Botchkov

Bug Description

The following 2 polygons appear equivalent when graphed with a GUI application:

MULTIPOLYGON (
  ((4 6, 4 7.14285714285714, 8 6, 4 6), (8 6, 9 9, 9 6, 8 6)),
  ((4 7.14285714285714, 1 8, 4 8.375, 4 7.14285714285714)),
  ((4 8.375, 4 9, 9 9, 4 8.375))
)

MULTIPOLYGON (
  ((9 9, 4 8.375, 4 9, 9 9)),
  ((4 7.14285714285714, 1 8, 4 8.375, 4 7.14285714285714)),
  ((4 7.14285714285714, 8 6, 4 6, 4 7.14285714285714)),
  ((8 6, 9 9, 9 6, 8 6))
  )

And yet ST_AREA() returns different results for them. Same is observed in PostGIS, and it seems incorrect.

Changed in maria:
assignee: nobody → Alexey Botchkov (holyfoot)
Changed in maria:
milestone: none → 5.3
Changed in maria:
status: New → Won't Fix
status: Won't Fix → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.