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

PostGIS trac at osgeo.org
Sat Dec 2 11:03:57 PST 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.5.0
 Component:  raster       |    Version:  3.4.x
Resolution:               |   Keywords:
--------------------------+---------------------------
Comment (by latot):

 Hi! Get a touched param would be great! also the same thought about the
 default value.


 About the docs about GDALRasterizeGeometries I think needs to be improved.

 The brezenhams algorithms works only for pure lines, so is more likely
 pass over the center of the pixel would works for polygons, which leads me
 to two points, one would be what happens with points? and confirm if this
 is trully the behavior.

 Ideally get the behavior per type of geometry, if in geometry collection
 the function is applied on all internal geoms we would only need to know
 for basic ones, point, line, polygon.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5496#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