Ticket #960 (closed defect: fixed)
[raster] Start reducing number of functions by using defaults
| Reported by: | robe | Owned by: | pracine |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | raster | Version: | trunk |
| Keywords: | Cc: |
Description
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:
http://www.postgis.org/documentation/manual-svn/RT_ST_AsTIFF.html
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).
