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

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

 > > 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
 > }}}

 I meant "WHERE NOT (d52_2012112701_4).val IS NULL".

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