[postgis-tickets] [PostGIS] #3244: ST_3DClosestPoint returns garbage in Z for 3dz-2d arg

PostGIS trac at osgeo.org
Tue Aug 18 07:53:23 PDT 2015


#3244: ST_3DClosestPoint returns garbage in Z for 3dz-2d arg
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  high     |  Milestone:  PostGIS 2.2.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 {{{
 strk=# select ST_AsText(ST_3DClosestPoint('POINT(0 0 0)', 'POINT(0 0)'));
 NOTICE:  One or both of the geometries is missing z-value. The unknown
 z-value will be regarded as 'any value'
     st_astext
 -----------------
  POINT Z (0 0 0)
 (1 row)

 strk=# select ST_AsText(ST_3DClosestPoint('POINT(0 0)', 'POINT(0 0 0)'));
 NOTICE:  One or both of the geometries is missing z-value. The unknown
 z-value will be regarded as 'any value'
              st_astext
 ------------------------------------
  POINT Z (0 0 1.17549435082229e-38)
 (1 row)
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3244>
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