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

Jessica M Salmon jmsalmon at fs.fed.us
Tue May 23 08:54:43 PDT 2006


Thanks Paul & strk. I shut down our processing for a couple of hours this
morning and upgraded. The new distance() results look great. Thanks for
finding & fixing the problem so quickly.
-Meghan


                                                                           
             Paul Ramsey                                                   
             <pramsey at refracti                                             
             ons.net>                                                   To 
             Sent by:                  PostGIS Users Discussion            
             postgis-users-bou         <postgis-users at postgis.refractions. 
             nces at postgis.refr         net>                                
             actions.net                                                cc 
                                                                           
                                                                   Subject 
             05/22/2006 10:05          Re: [postgis-users] am I            
             AM                        misunderstanding distance() or a    
                                       bug?                                
                                                                           
             Please respond to                                             
               PostGIS Users                                               
                Discussion                                                 
             <postgis-users at po                                             
             stgis.refractions                                             
                   .net>                                                   
                                                                           
                                                                           




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

_______________________________________________
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