[postgis-tickets] [PostGIS] #5496: ST_Clip(raster, geom) include new method to pixel selection: touch

PostGIS trac at osgeo.org
Tue Aug 29 08:36:10 PDT 2023


#5496: ST_Clip(raster, geom) include new method to pixel selection: touch
-------------------------+---------------------------
 Reporter:  latot        |      Owner:  robe
     Type:  enhancement  |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 3.4.1
Component:  raster       |    Version:  3.4.x
 Keywords:               |
-------------------------+---------------------------
 Hi all, actually ST_Clip does not always return all the pixels that
 intersect with the geometries, I think would be great to have a param to
 be able to select all the pixes that the geometry touches.

 I was thinking initially, a param to "if_touches = true", but then... what
 happens if in the future there is other implementations of how to select
 pixels? for that, maybe is good to have a param like "method" to choose
 the one we want to use.

 No idea which would be the best case, because I don't know if there is a
 simpler way to send custom params to all the "methods" that can be
 developed.

 But maybe this last part is a separate issue, I just think is good to have
 consideration on it.

 Thx!
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5496>
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