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

PostGIS trac at osgeo.org
Sat Oct 6 06:36:37 PDT 2012


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

Comment(by strk):

 Also, another concern I have is with the 2d/2d input. Current function
 returns 3d in any case (with Z set to zero) but I'm sure the user would
 want 2d in that case.

 I think having the first argument drive output makes the most sense:
  - 3d/3d -> 3d
  - 3d/2d -> 3d
  - 2d/3d -> 2d
  - 2d/2d -> 2d

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2034#comment:5>
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