Ticket #1199 (closed defect: wontfix)

Opened 20 months ago

Last modified 20 months ago

[raster] ST_AsRaster problem with scale being < 1.

Reported by: dustymugs Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: trunk
Keywords: Cc:

Description

The following fails to properly burn the specified value to the generated raster. If both scales are >= 1, there are no problems. Need to see how gdal_rasterize utility works around the problem.

SELECT ST_Value(ST_AsRaster(ST_MakePoint(0, 0), 0.1, 0.1), 1, 1);
SELECT ST_Value(ST_AsRaster(ST_MakeLine(ARRAY[
	ST_MakePoint(0, 0),
	ST_MakePoint(1, 0)
]), 0.1, 0.1), 1, 1);

Change History

Changed 20 months ago by dustymugs

  • status changed from new to closed
  • resolution set to wontfix

Can't fix as testing identical geometries with PostGIS and gdal_rasterize showed that the behavior displayed in PostGIS matched that of gdal_rasterize. Might be a gdal bug?

Changed 20 months ago by dustymugs

Further testing after upgrading GDAL to trunk r23097 showed that this problem resolved itself with the latest revision.

Note: See TracTickets for help on using tickets.