[postgis-tickets] [PostGIS] #2312: [raster] st_circle
PostGIS
trac at osgeo.org
Thu May 9 11:50:34 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):
I've all ready written a function but have yet to test, that takes the map
algebra window in and returns only the cells that fall within a r1,R2,
thetaStart, thetaEnd:
{{{
_st_focal( value double precision[][][],z integer, r1 integer, R2
integer, thetaStart double precision, thetaEnd double precision)
}}}
I ticked these functions as separate functions, we could use st_focal for
all of them as they are really subsets of each other.
Yes, it could be implemented as a mask. Then the focal function would be
something like:
{{{
_st_focal( value double precision[][][],mask double precision[][][] )
}}}
It may be faster?
Thanks,
Nathan
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2312#comment:4>
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