[postgis-devel] [PostGIS] #478: [wktraster] There seems to be an offset in ST_Envelope or ST_Box2D

PostGIS trac at osgeo.org
Fri Apr 2 09:50:12 PDT 2010


#478: [wktraster] There seems to be an offset in ST_Envelope or ST_Box2D
------------------------+---------------------------------------------------
  Reporter:  robe       |       Owner:  pracine        
      Type:  defect     |      Status:  new            
  Priority:  medium     |   Milestone:  WKTRaster 0.1.6
 Component:  wktraster  |     Version:  trunk          
Resolution:             |    Keywords:                 
------------------------+---------------------------------------------------
Comment (by robe):

 Jorge,

 For to get that image in OpenJump
 1) I used the File->open file and pointed at the wonderpostgis_banner.png
 image
 2) Then I did an ad hoc query by going to Layer -> Run Data Store Query
 (Create a postgis connection first)

 Then type query

 {{{
 SELECT ST_AsBinary(ST_Envelope(rast))
 FROM wonderpostgis;
 }}}


 Let me know if any of that is unclear.

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