[postgis-devel] [PostGIS] #490: [raster] raster casts to geometry and box2d should be assignment not implicit?

PostGIS trac at osgeo.org
Thu Jan 13 11:54:03 PST 2011


#490: [raster] raster casts to geometry and box2d should be assignment not
implicit?
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  robe         
     Type:  defect          |      Status:  new          
 Priority:  low             |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by robe):

 It's fine.  I was more bothered by the autocast.  Actually the main reason
 I was bothered is going to be more of an issue anyway.  I think we'll just
 have to change people's behavior relying on autocasts as now that we have
 3 versions of ST_Intersection  .. anybody typing in '', '':geometry etc.
 is going to get an ambiguous function error message as I already
 experienced with topology.

 The hack we put in place when we introduced geography by defining an
 ST_Intersection(text,text) and others so that unknowns fall into that
 function will only get us so far and I'd much prefer people just not
 relying on them so we don't have the issue in the first place.

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