prepair permits us to easily repair "broken" GIS polygons according to the
international standard ISO19107 (Geographic information — Spatial schema).
Given one input polygon, it automatically repairs it and returns back a valid
polygon.