[postgis-devel] Looking for a good ST_ChangeEdgeGeom semantic

strk strk at keybit.net
Fri Feb 17 06:07:49 PST 2012


On Thu, Feb 16, 2012 at 08:48:38PM +0100, Andrea Peri wrote:

> If the starting situation was this:  (were 'o' are node not vertex)
> 
>     o--------------o
>     |              |
>     o------E1------o
>     |              |
>     |              |
>     |              |
>     o              o
>     |              |
>     |              |
>     |              |
>     o--------------o
> 
> 
> this other should be allowed with a ST_ChangeEdgeGeom ?
> 
>     o--------------o
>     |              |
>     o              o
>     |              |
>     |              |
>     |              |
>     o-----E1-------o
>     |              |
>     |              |
>     |              |
>     o--------------o
> 

This is explicitly forbidden by SQL/MM.
The new shape must have the same starting and ending nodes.

I think the rationale of this function is that you change the
shape attribute w/out modifying the topology as a whole.

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net
  `-o------'




More information about the postgis-devel mailing list