[postgis-devel] [PostGIS] #1212: [raster]: st_intersects signature change - documentation out of synch

PostGIS trac at osgeo.org
Wed Sep 28 09:15:04 PDT 2011


#1212: [raster]: st_intersects signature change - documentation out of synch
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by robe):

 We are slaves when debugging and masters when coding.  The more
 permutations you have the harder it is to determine what went wrong so you
 must balance your slave/master duality.

 I'm missing your point here Pierre

 I'm saying keep the rast1,nband1,rast2,nband2

 But the other one: get rid of nband1 and nband2 at the end of it.  It's
 not even consisten with your intersection and violates your convention.

 I thought you assumed that if no band is specified then band1 is assumed

 So ST_Intersection(raster1,raster2) --- means first band of both.

 But of course I'm pretty fine with your getting rid of that, though will
 probably break some code.

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