[postgis-tickets] [PostGIS] #2312: [raster] st_circle

PostGIS trac at osgeo.org
Tue May 14 01:29:23 PDT 2013


#2312: [raster] st_circle
-------------------------+--------------------------------------------------
 Reporter:  nclay        |       Owner:  dustymugs     
     Type:  enhancement  |      Status:  new           
 Priority:  medium       |   Milestone:  PostGIS Future
Component:  raster       |     Version:  trunk         
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by nclay):

 Mangled VARIADIC? I am calling map algebra as follows:
 {{{
 RETURN ST_MapAlgebra(
                         ARRAY[ROW(_rast, _nband)]::rastbandarg[],
                         '_st_focal4ma(double precision[][][], integer[][],
 text[])'::regprocedure,
                         _pixtype,
                         _extenttype, _customextent,
                         r1, r1,VARIADIC ARRAY[ROW(_mask,op)]::text[]);
 }}}

 Yet inside st_focal4ma I am getting the following for userargs:
 {{{
 userarg
 {"(\"{{{NULL,NULL,NULL,1,1,1,1,NULL,NULL,NULL},{NULL,1,1,1,1,1,1,1,1,NULL},{NULL,1,1,1,1,1,1,1,1,NULL},{1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1},{NULL,1,1,1,1,1,1,1,1,NULL},{NULL,1,1,1,1,1,1,1,1,NULL},{NULL,NULL,NULL,1,1,1,1,NULL,NULL,NULL}}}\",var)"}
 }}}

 This is not a valid array, is this of my doing, a bug or expected?

 Thanks,

 Nathan

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