[postgis-devel] Topology: is ST_ModEdgesSplit spelled right?

strk strk at keybit.net
Tue Jan 18 02:35:48 PST 2011


On Tue, Jan 18, 2011 at 12:04:58AM -0500, Paragon Corporation wrote:
> Strk,
> 
> I was googling and the only document I could find on the web that covers the
> SQL MM topology functions is this one.
> 
> http://www.wiscorp.com/H2-2005-108r2-Topo-Routine-Details.pdf
> 
> Which I have been using for contrast and compare.

Yep, that's been used for development too.

> I notice they use this spelling:
> 
> ST_ModEdgeSplit
> 
> 
> But ours is spelled ST_ModeEdgesSplit

You mean ST_ModEdgesSplit I guess.

> In theory I can see why this one doesn't have an S but t ST_NewEdgesSplit
> does
> 
> Because in the Mod case the original edge is not destroyed but changed so
> you are getting one new edge where as second you destroy the existing  and
> create two new.
> 
> So which spelling is right?

I'd take the standard as being right by definition,
especially for the ST_ prefixed functions. 

I dubt anyone is using the topology in production, anyway better
keep the old, deprecating it, and add a new.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list