[postgis-users] Create common vertexes between shared polygon boundaries in PostGis?

Sandro Santilli strk at keybit.net
Thu Apr 23 03:01:23 PDT 2015


On Thu, Apr 23, 2015 at 12:25:26PM +0300, Nick Ves wrote:
> Given two polygon tables L1 (blue) and L2 (red) that  share a common
> boundary but different vertexes how can one make the common boundary
> identical (they should share the same vertexes) ?
> 
>  reference picture:  http://i.stack.imgur.com/11Eq6.png

You can try ST_Snap(a,ST_Snap(b,a,tol),tol)

--strk;


More information about the postgis-users mailing list