[postgis-users] Expanding a geometry

Nicolas Ribot nicky666 at gmail.com
Fri Sep 22 01:34:09 PDT 2006


Hi list,

Is there an easy way to produce an expanded polygon (not only its bbox) ?
By expanded polygon, I mean a resulting polygon which geometry is the
same as the input one, but just "scaled" (no rounded corners like the
result of buffer()). (edges remain parallel, and distance between
initial polygon edges and resulting polygon is constant)

Are scale() or affine() able to produce a valid result, even with
complex polygons (holes, multipolygon ?)

Thank you
Nicolas



More information about the postgis-users mailing list