[postgis-tickets] [PostGIS] #2229: [raster] Instability with st_intersection/st_intersects

PostGIS trac at osgeo.org
Wed Mar 13 08:01:35 PDT 2013


#2229: [raster] Instability with st_intersection/st_intersects
----------------------+-----------------------------------------------------
  Reporter:  kib      |       Owner:  dustymugs
      Type:  defect   |      Status:  closed   
  Priority:  high     |   Milestone:           
 Component:  raster   |     Version:  2.0.x    
Resolution:  invalid  |    Keywords:           
----------------------+-----------------------------------------------------

Comment(by pracine):

 Replying to [comment:19 pracine]:
 > > A little strange though with the null values:
 >
 > The NULL come out because I didn't set a band number in
 ST_PixelAsPolygons or ST_Clip. Just set 1 as band number in one or the
 other and NULL won't come out.

 Wrong. ST_PixelAsPolygon returns all pixel NULL or not. So just add a
 WHERE clause.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2229#comment:20>
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-tickets mailing list