[postgis-users] am I misunderstanding distance() or a bug?

Paul Ramsey pramsey at refractions.net
Mon May 22 09:05:37 PDT 2006


Just PostGIS HEAD in this case (because the distance() function is a  
pure PostGIS function)... admittedly, a hard thing to determine  
without a priori knowledge...

<http://postgis.refractions.net/postgis-cvs.tar.gz>

On 22-May-06, at 8:25 AM, Jessica M Salmon wrote:

> strk-
>
> Thanks! That's kinda funny, that it wasn't commutative.
>
> So, I'm new to this side of things. Do I need HEAD/geos or just
> HEAD/postgis?
>
> -Meghan
>
>
>
>              strk at refractions.
>              net
>              Sent  
> by:                                                   To
>              postgis-users-bou         PostGIS Users Discussion
>              nces at postgis.refr         <postgis- 
> users at postgis.refractions.
>              actions.net               net>
>                                                                        
>   cc
>                                        postgis- 
> devel at postgis.refractions.n
>              05/22/2006 07:12          et
>              AM                                                     
> Subject
>                                        Re: [postgis-users] am I
>                                        misunderstanding distance()  
> or a
>              Please respond to         bug?
>                PostGIS Users
>                 Discussion
>              <postgis-users at po
>              stgis.refractions
>                    .net>
>
>
>
>
>
>
> I've found the bug.
> I wonder how is it possible that no one noticed this before!
>
> A side effect of the bug is that distance(a,b) can be different
> from distance(b,a).
> This applies to your testcase (urgh).
>
> http://postgis.refractions.net/bugs/bug.php?op=show&bugid=108
>
> If you can give a try to current head you should find it fixed.
>
> Thanks for your report.
>
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
> _______________________________________________
> 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