[postgis-devel] [PostGIS] #1635: [raster] Operator does not exist: raster ~ geometry
PostGIS
trac at osgeo.org
Fri Mar 2 12:47:14 PST 2012
#1635: [raster] Operator does not exist: raster ~ geometry
---------------------+------------------------------------------------------
Reporter: nicklas | Owner: pracine
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 2.0.0
Component: raster | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by pracine):
Replying to [comment:29 strk]:
> Don't forget to update utils/postgis_restore.pl to have the new
signatures in the final list!
> (granted, not an easy task).
>
> Easy way: create and spatially-enable database temp; pg_dump -Fc temp >
temp.dump; postgis_restore.pl -v temp.dump 2> log > /dev/null; grep ^KEEP
log | grep raster
>
> Then copy & paste the output by the end of postgis_restore.pl dropping
the "KEEP: " prefix, and sort.
ok. I did the whole process. I get:
{{{
$ grep ^KEEP log | grep raster
KEEP: FUNCTION geometry_raster_contain(geometry, raster)
KEEP: FUNCTION geometry_raster_overlap(geometry, raster)
KEEP: FUNCTION postgis_raster_scripts_installed()
KEEP: FUNCTION raster_geometry_contain(raster, geometry)
KEEP: FUNCTION raster_geometry_overlap(raster, geometry)
KEEP: FUNCTION st_clip(raster, geometry, double precision[], boolean)
KEEP: FUNCTION st_clip(raster, integer, geometry, double precision[],
boolean)
KEEP: FUNCTION st_geotransform(raster)
KEEP: FUNCTION st_intersection(raster, raster, double precision[])
KEEP: FUNCTION st_intersection(raster, raster, double precision)
KEEP: FUNCTION st_intersection(raster, raster, text, double precision[])
KEEP: FUNCTION st_intersection(raster, raster, text, double precision)
KEEP: FUNCTION st_intersection(raster, integer, raster, integer, double
precision[])
KEEP: FUNCTION st_intersection(raster, integer, raster, integer, double
precision)
KEEP: FUNCTION st_intersection(raster, integer, raster, integer, text,
double precision[])
KEEP: FUNCTION st_intersection(raster, integer, raster, integer, text,
double precision)
KEEP: FUNCTION st_setgeotransform(raster, double precision, double
precision, double precision, double precision, double precision, double
precision)
}}}
If I understand well I should have seen only me new functions. so there
seem to be missing more entries in postgis_restore.pl. Right?
Also I saw many lines starting with FUNCION instead of FUNCTION. Looks
like a typo.
I add just the one I added...
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1635#comment:33>
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