[postgis-devel] [PostGIS] #1199: [raster] ST_AsRaster problem with scale being < 1.
PostGIS
trac at osgeo.org
Sat Sep 17 08:06:13 PDT 2011
#1199: [raster] ST_AsRaster problem with scale being < 1.
----------------------------+-----------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
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);
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1199>
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-devel
mailing list