[postgis-users] function xmin(geometry) is not unique
strk at refractions.net
strk at refractions.net
Fri Mar 4 00:08:21 PST 2005
On Thu, Mar 03, 2005 at 10:44:20PM -0800, Ron Mayer wrote:
>
> Queries that use "xmin(the_geom)" seem to have worked in earlier
> versions but recently seem to be failing with the error message
> "function xmin(geometry) is not unique".
>
> Is this expected, or am I doing something wrong. It's a clean
> install of postgresql and postgis and- well, the whole OS.
>
> The workaround "xmin(box2d(the_geom))" works fine for me; so
> it's not really a problem. Just a difference I noticed and I'm
> wondering why the change; or if its a problem of my environment.
We have two implicit casts:
geometry->box2d
geometry->box3d
The xmin() is defined for both...
A solution could be to drop the IMPLICIT geometry->box3d one...
--strk;
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list