Ticket #1497 (closed enhancement: fixed)
Optimize ST_AddEdge{Mod,New}Face detection of face splitting
| Reported by: | strk | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | topology | Version: | trunk |
| Keywords: | Cc: |
Description
The current code in ST_AddEdge*Face uses ST_Polygonize to see if the newly added edge splits a face. The polygonization is the bottleneck.
By using GetRingEdge? instead, we could do it a lot faster. The same function could even be used to update left_face/right_face thus completely dropping the AddFace? call.
Change History
Note: See
TracTickets for help on using
tickets.
