[postgis-devel] [PostGIS] #730: Raster is broken -- no casts

PostGIS trac at osgeo.org
Thu Dec 23 18:24:19 PST 2010


#730: Raster is broken -- no casts
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pramsey      
     Type:  defect          |      Status:  new          
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by robe):

 Paul,

 No this doesn't fix this particular problem.  I see now that this is
 because raster folks are trying to use deprecated functions you took out.

 I should have been paying closer attention to the errors in install.  (You
 fix might fix the second issue I mentioned).

 Anyrate this is what I get when trying to install raster (all in
 rtpostgis.sql)


 {{{
 psql:share/contrib/postgis-2.0/rtpostgis.sql:947: ERROR:  function
 st_box2d(raster) does not exist
 CREATE CAST
 CREATE CAST
 psql:share/contrib/postgis-2.0/rtpostgis.sql:962: ERROR:  function
 geometry_overleft(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_overleft($1::geometry, $2::geometry)...
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:967: ERROR:  function
 geometry_overright(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_overright($1::geometry, $2::geometry...
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:972: ERROR:  function
 geometry_left(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_left($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:977: ERROR:  function
 geometry_right(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_right($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:982: ERROR:  function
 geometry_overabove(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_overabove($1::geometry, $2::geometry...
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:987: ERROR:  function
 geometry_overbelow(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_overbelow($1::geometry, $2::geometry...
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:992: ERROR:  function
 geometry_above(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_above($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:997: ERROR:  function
 geometry_below(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_below($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1002: ERROR:  function
 geometry_same(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_same($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1007: ERROR:  function
 geometry_contained(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_contained($1::geometry, $2::geometry...
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1012: ERROR:  function
 geometry_contain(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_contain($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1017: ERROR:  function
 geometry_overlap(geometry, geometry) does not exist
 LINE 3:     AS 'select geometry_overlap($1::geometry, $2::geometry)'
                        ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1027: ERROR:  function
 st_left(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1033: ERROR:  function
 st_overleft(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1039: ERROR:  function
 st_below(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1045: ERROR:  function
 st_overbelow(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1051: ERROR:  function
 st_overlap(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1057: ERROR:  function
 st_overright(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1063: ERROR:  function
 st_right(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1069: ERROR:  function
 st_overabove(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1075: ERROR:  function
 st_above(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1081: ERROR:  function
 st_same(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1087: ERROR:  function
 st_contained(raster, raster) does not exist
 psql:share/contrib/postgis-2.0/rtpostgis.sql:1093: ERROR:  function
 st_contain(raster, raster) does not exist
 }}}

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