ST_UNION of adjacent polygons includes extra line in maria-5.3-gis
Bug #801560 reported by
Philip Stoev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Alexey Botchkov |
Bug Description
The ST_UNION of two polygons that share a common edge is a polygon that contains that edge as a redundant line.
Example:
SELECT AsText( ST_UNION(
PolygonFromText(' POLYGON( ( 2 2 , 3 2 , 7 5 , 2 0 , 2 2 ) ) ') ,
PolygonFromText(' POLYGON( ( 2 2 , 3 2 , 3 3 , 2 5 , 2 2 ) ) ') ) );
Returns POLYGON((2 0,2 2,3 2,2 2,2 5,3 3,3 2,7 5,2 0))
Note that the list includes "2 2,3 2,2 2"
whereas postgis returns the correct POLYGON((3 2,7 5,2 0,2 2,2 5,3 3,3 2))
Related branches
Changed in maria: | |
milestone: | none → 5.3 |
assignee: | nobody → Alexey Botchkov (holyfoot) |
Changed in maria: | |
milestone: | 5.3 → none |
Changed in maria: | |
status: | New → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.