[postgis-devel] [PostGIS] #960: Start reducing number of functions by using defaults

PostGIS trac at osgeo.org
Wed May 18 03:57:48 PDT 2011

#960: Start reducing number of functions by using defaults
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
 I figure I would break this out into two separate parts -- one for raster
 and one for core PostGIS.

 I'll be starting with PostGIS, but will write that in a separate ticket.

 I did decide that even though the raster functions are not written as
 such, that I can go ahead and start documenting them as if they did use
 default arguments.  Down side is those other protos will not have
 PostgreSQL help comments generated (which is just as well because I want
 to remove them anyway)

 So here is an example:


 I am using [] for optional (though I guess with arrays its a bit confusing
 especially this one because of the liberal use of input arrays).  I'm open
 to how we represent optional args.

 Sadly I was only able to slash 6 of the 10 permutations of ST_AsTIFF we
 have (hypothetically speaking since the documentation is a prototype of
 what the functions should be at this point).

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