How to calculate length of path data without diagonals?

Поиск
Список
Период
Сортировка
От Romain Billoir
Тема How to calculate length of path data without diagonals?
Дата
Msg-id AANLkTikJ2UUT9cg6i=GZvOo4QYYO3NdVPEk2taU1r1bP@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to calculate length of path data without diagonals?  (John R Pierce <pierce@hogranch.com>)
Re: How to calculate length of path data without diagonals?  (Stephen Cook <sclists@gmail.com>)
Список pgsql-general
Hi, i need to calculate some length of path without diagonal. Some examples:
length((5,5),(6,6))) returns 1.41. I need 2: 5,5 to 5,6 + 5,6 to 6,6.

Is that possible?

В списке pgsql-general по дате отправления:

Предыдущее
От: Reto Schöning
Дата:
Сообщение: Re: "could not accept SSPI security context"
Следующее
От: John R Pierce
Дата:
Сообщение: Re: How to calculate length of path data without diagonals?