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

PostGIS trac at osgeo.org
Thu Mar 14 03:40:23 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 kib):

 Replying to [comment:20 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.
 OK - I will just have to clip in SQL too :-/ (I have NODATA so nulls are a
 valid result)
 {{{
 where lon between 14.8 and 15 and lat between 54.8 and 55.0
 }}}
 Thanks for helping out!

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