[postgis-tickets] [PostGIS] #3029: Cleanup duplication of ST_Intersection(raster, geometry) function

PostGIS trac at osgeo.org
Mon Feb 2 08:06:13 PST 2015


#3029: Cleanup duplication of ST_Intersection(raster, geometry) function
--------------------+-------------------------------------------------------
 Reporter:  strk    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 As mentioned in #3028 there are two candidate versions to call for a
 ST_Intersection(raster,geometry). One takes 2 arguments, the other takes 3
 but the third is optional. I woudln't be surprised to have an ERROR at
 runtime when trying to call them (but I hadn't tried). In any case one of
 the two seems useless and could as well be removed, or the one with a
 third argument should mark it as non-optional.

 Whatever makes the least problem on upgrade should be done.

 Usually (from the ancient past) I preferred _never_ to use DEFAULT
 arguments, giving precedence to full backward compatibility and easy-to-
 upgrade (create or replace). But the horse are likely already out here :)

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