[postgis-users] Expanding a geometry

"R. Müller" r.mueller at unicomp-berlin.de
Fri Sep 22 03:32:01 PDT 2006


scale() and affine() should do that.
the transform-process doesn't depend on complexity of geometry. it 
should work for every geometry, since it is just a transforming of 
single point the geometry consists of.
the topology will not change during transforming.
postgis does the same while transforming from one coordinate system to 
another.

regards

ronald


Nicolas Ribot wrote:
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 

-- 
*********************************************************
*M-Unicomp GmbH
*
*Dipl.-Ing. Ronald Müller
*Softwareentwicklung
*
*Plauener Straße 163-165, Haus 11
*13053 Berlin
*
*fon   : +49 ( 0 ) 30  / 98 69 61 54
*mobil : +49 ( 0 ) 172 / 93 95 00 4
*fax   : +49 ( 0 ) 30  / 98 69 61 55
*email : r.mueller at unicomp-berlin.de
*web   : www.unicomp-berlin.de
********************************************************



More information about the postgis-users mailing list