Skip to content

History / reverse_polygon

Revisions

  • Document the winding-order operators (GeoDMS #302) New pages for reverse_polygon, fix_winding_order, fix_polygon and has_correct_winding, listed under a "Ring order (winding)" heading in polygon-operators. Point-order-in-polygons: replace the "check the sign of area()" advice with has_correct_winding, and add a symptom-to-operator table. The sign test is kept but demoted, because it only catches a feature whose rings are ALL flipped; one flipped lake makes the total too large rather than negative. Also spells out why reversing the whole point sequence does not work on a multi-polygon. Area: the same caveat, where readers of that page will hit it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

    @MaartenHilferink MaartenHilferink committed Aug 25, 2026