[postgis-users] distance function only supports 2d?

Paul Ramsey pramsey at refractions.net
Wed Feb 4 07:22:24 PST 2004


Check the functions list, or postgis.sql. The default is 2d, but there 
is a 3d variant in there somewhere.
P

On Wednesday, February 4, 2004, at 01:53 AM, strk wrote:

> falko.steinmetz wrote:
>> Hi,
>>
>> is it possible, that the distance function only support 2d?
>> I use postgis 0.8.1 and when I calculate the distance between the
>> points 24/33/20 and 0/0/0 I get 40.80 - the distance between
>> 24/33 and 0/0.
>> Is this a bug or doesn't the function support 3d points?
>
> AFAICT only 2d distance is supported.
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the postgis-users mailing list