[Mobilitydb-users] Query regarding upcasting and downcasting tgeompoint datatype

Esteban Zimanyi estebanzimanyi at gmail.com
Sat Jun 19 00:52:06 PDT 2021


Dear Sharath

We could implement such a function, it would not be very complicated.
However, could you please elaborate a little more about your requirements
because already some of the MobilityDB functions take into account the Z
dimension only if *both* arguments are in 3D.

Esteban

On Sat, Jun 19, 2021 at 9:40 AM Sharath S Bhargav <shrthsbhargav96 at gmail.com>
wrote:

> Hello,
>
> Is it possible to downcast a tgeompoint which uses PointZ to a tgeompoint
> which uses Point datatype by ignoring the Z component?
> Is there any direct function which does this?
>
> Is it possible to do the reverse i.e convert a 2D tgeompoint to 3D
> tgeompoint by ingesting the Z component from another column or something
> like that?
>
> --
> Regards,
> Sharath
>
> _______________________________________________
> Mobilitydb-users mailing list
> Mobilitydb-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mobilitydb-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mobilitydb-users/attachments/20210619/c0dd8aa8/attachment.html>


More information about the Mobilitydb-users mailing list