[postgis-users] distance and intersection with 3d geometries

strk at refractions.net strk at refractions.net
Tue Sep 27 08:22:51 PDT 2005


The result you show is expected and intended.
In an overlay operation any Z value of input nodes
is taken into consideration for the output Z.

If the 0 in your second point is intended as a padding
value substitute it with a 2d point and the resulting Z
will be 1.

--strk;

On Tue, Sep 27, 2005 at 02:15:43PM +0200, Steffen Macke wrote:
> > Since GEOS-2.1.1 intersection() somehow supports 3d.
> 
> Below you find  a small example that illustrates the problem.
> Is this behaviour going to change in the near future? Being able to
> do three-dimensional intersection of points (or even better lines) would
> be a very useful feature.
> 
> hna=# select asewkt(intersection('POINT(1 1 1)', 'POINT(1 1 0)'));
>      asewkt
> ----------------
>  POINT(1 1 0.5)
> (1 row)
> 
> hna=# select postgis_full_version();
>                                          postgis_full_version
> 
> --------------------------------------------------------------------------------
> ----------------------
>  POSTGIS="1.0.4" GEOS="2.1.4" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS DBPROC="0
> .3.0" RELPROC="0.3.0"
> _______________________________________________
> 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