[postgis-devel] [PostGIS] #1648: [raster] ST_AsRaster unexpected result

PostGIS trac at osgeo.org
Mon Mar 5 12:52:37 PST 2012


#1648: [raster] ST_AsRaster unexpected result
----------------------+-----------------------------------------------------
 Reporter:  jomarlla  |       Owner:  pracine      
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  raster    |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by jomarlla):

 Im using GDAL 1.9 release packaged from grass project repository
 http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.1/i586/

 POSTGIS="2.0.0beta2SVN" GEOS="3.3.2-CAPI-1.7.2" PROJ="Rel. 4.7.1, 23
 September 2009" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.7.8"


 Didnt try GDAL trunk.
 If the trunk version is already working maybe this ticket should be
 closed. Right now I can not build GDAL trunk to check it out  by myself.

 An easier way to check it:

 select st_count(st_asraster ('POLYGON ((11 11, 21 11, 26 21, 16 21, 11
 11))'::geometry, 1.5::double precision, 2::double precision, 11, 11,
 '8BUI', 100, -1, 0, 0, true));
  st_count
 ----------
        40

 You are getting 42 while Im getting 40.

 Maybe some more people can try it with other gdal versions?

 regards,

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1648#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-devel mailing list