Opened 12 years ago
Closed 12 years ago
#1989 closed defect (fixed)
[raster] ST_Clip() does not clip properly in some cases
Reported by: | pracine | Owned by: | pracine |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.0.2 |
Component: | raster | Version: | 2.0.x |
Keywords: | history | Cc: |
Description
This line, in rtpostgis.sql.in.c:
geomrast := ST_AsRaster(geom, rast, ST_BandPixelType(rast, band), 1, newnodataval);
Should look like this:
geomrast := ST_AsRaster(ST_Intersection(geom, rast::geometry), rast, ST_BandPixelType(rast, band), 1, newnodataval);
Change History (2)
comment:1 by , 12 years ago
Priority: | medium → high |
---|
comment:2 by , 12 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed for 2.0 in r10549. Fixed for -trunk in r10551