[postgis-devel] Distance operator in presence of M

Sandro Santilli strk at keybit.net
Mon Jun 8 04:39:12 PDT 2015


On Sat, Jun 06, 2015 at 02:32:22AM +0200, HÃ¥vard Tveite wrote:

> To be able to do distance calculations on data with M
> values, we need to be able to transform the M value into
> a "compatible" dimension (resulting in a Euclidean space).
> When M is time, this transform could be based on a
> user-specified velocity (d=v*t).  In general, a
> user-specified function (as suggested by Greg) that does
> this transformation would be useful.  Or perhaps some
> pre-defined functions with user-specified parameters
> could work (d=a*M).

I was thinking we should just allow scaling M with the
existing ST_Scale function. That should do, right ?

See https://trac.osgeo.org/postgis/ticket/3062

--strk;



More information about the postgis-devel mailing list