[postgis-users] Rounding the angle of the polygon

Attila Csipa plists at prometheus.org.yu
Fri Jan 18 06:26:46 PST 2008


On Thursday 17 January 2008 09:32:08 Witteveen, Eduard wrote:
> 	Is there a way to round the angle of the corners to 90 degrees of a
> polygon, where the corner is between 85 and 95 degrees? If this can't be
> done in (pl)sql, what would be "the way" to do this?

From what you say this won't be easy - you can't change the angles 
of 'corners' unless you are altering the coords of the points (if you want to 
preserve straight sides for your polygons, that is). And if ARE changing the 
coordinates of the points, can you decide which points are on correct 
locations and which ones are skewed ?



More information about the postgis-users mailing list