[PostGIS] #2116: [raster] ST_Value(rast, point) should have an option for when the geometry is at the edge of a pixel.
PostGIS
trac at osgeo.org
Sat Jun 20 12:33:57 PDT 2026
#2116: [raster] ST_Value(rast, point) should have an option for when the geometry
is at the edge of a pixel.
--------------------------+-----------------------------
Reporter: pracine | Owner: dustymugs
Type: enhancement | Status: closed
Priority: medium | Milestone: PostGIS Fund Me
Component: raster | Version: master
Resolution: fixed | Keywords:
--------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"47224001d6fdd5e6443a6db1114419fd5b7d5d81/git" 4722400/git]:
{{{#!CommitTicketReference repository="git"
revision="47224001d6fdd5e6443a6db1114419fd5b7d5d81"
Add ST_Value boundary resample modes
Add nearest-neighbor boundary resample modes for ST_Value so callers can
choose upper-left, upper-right, lower-left, or lower-right pixels when a
point lies on a pixel edge or corner.
Snap near-integer raster coordinates before applying boundary rounding,
and reject non-exact resample names instead of accepting prefixes.
Closes #2116
Closes https://github.com/postgis/postgis/pull/1039
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2116#comment:3>
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