[postgis-devel] [PostGIS] #2032: Higher dimension support for ST_ClosestPoint

PostGIS trac at osgeo.org
Fri Oct 5 10:38:16 PDT 2012

#2032: Higher dimension support for ST_ClosestPoint
 Reporter:  strk         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  postgis      |     Version:  2.0.x        
 Keywords:               |  
 When you look for "the closest point" I think you want a point with all
 dimensions in it. At least Z, if the first geometry had one.

 What's the closest point to
 'POINT(6 0)' on
 'LINESTRING(0 0 0, 10 0 40)' ?

 I think it should be 'POINT(5 20)', and not 'POINT(5 0)'

Ticket URL: <http://trac.osgeo.org/postgis/ticket/2032>
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-devel mailing list