[postgis-devel] [topology] missing = operator for topogeometry
Rémi Cura
remi.cura at gmail.com
Wed Oct 23 07:30:25 PDT 2013
Oops my bad Sandro,
I just found this function in topology schema :
CREATE OR REPLACE FUNCTION topology.equals(tg1 topogeometry, tg2
topogeometry).
It does the same as topogeometry==topogeometry , but raise notices to warn
about why topogeom are different.
Cheers,
Rémi-C
2013/10/23 Sandro Santilli <strk at keybit.net>
> On Wed, Oct 23, 2013 at 02:32:16PM +0200, Rémi Cura wrote:
> > Ok I understand what you mean.
> > If I follow you the = operator should cast topogeom to geom and perform
> the
> > regular geom=geom operation?
>
> Or otherwise return the semantically equivalent result (bounding box
> equality).
> I guess the "not unique" postgresql message refers to there being multiple
> paths to get there following existing implicit casts.
>
> > I modified the = operator to become the topogeom==topogeom
>
> Good.
>
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20131023/a534e1b4/attachment.html>
More information about the postgis-devel
mailing list