[postgis-devel] [PostGIS] #651: [raster] ST_makeemptyraster inconsistent with documentation

PostGIS trac at osgeo.org
Tue Oct 26 13:42:41 PDT 2010


#651: [raster] ST_makeemptyraster inconsistent with documentation
----------------------------+-----------------------------------------------
 Reporter:  etiennebr       |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 1.5.3
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 To recreate this box
 BOX(0 0,100 100)
 one would expect to use the upper left corner (as documented[1])


 {{{
 select  st_box2d(ST_MakeEmptyRaster(100, 100, 0, 100, 1)) as upperl,
         st_box2d(ST_MakeEmptyRaster(100, 100, 0, 0, 1)) as lowerl;
 }}}

 but it is in fact the lower left corner, wich I personnaly prefer.

 On a personal touch, I must say I am new to PostGIS raster, but I'd like
 to add I couldn't understand from the documentation what ipx, ipy, scalex,
 scaley, skewx, skewy where standing for and what were their effects.

 [1] http://postgis.refractions.net/documentation/manual-
 svn/RT_ST_MakeEmptyRaster.html

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/651>
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