[postgis-tickets] [PostGIS] #2034: ST_3DClosestPoint with mixed dimensionality in input values

PostGIS trac at osgeo.org
Tue May 26 03:11:57 PDT 2015


#2034: ST_3DClosestPoint with mixed dimensionality in input values
--------------------------+---------------------------
  Reporter:  nicklas      |      Owner:  nicklas
      Type:  enhancement  |     Status:  new
  Priority:  high         |  Milestone:  PostGIS 2.2.0
 Component:  postgis      |    Version:  trunk
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by strk):

 I noticed ST_3DDistance() is also assuming Z=0 for 2D input, that one
 should also be changed, right ?

 select st_3ddistance('POINT(0 0)'::geometry, 'POINT(0 0 2)'::geometry); --
 2

 should instead be 0

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2034#comment:19>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list