[postgis-devel] type agg_samealignment does not exist
Salvatore Larosa
lrssvtml at gmail.com
Tue Jun 26 02:11:33 PDT 2012
Hi,
Il giorno lun, 25/06/2012 alle 15.00 -0700, dustymugs ha scritto:
> Salvatore,
>
> I'm guessing you're looking to move up from PostGIS 2.0.x to PostGIS
> -trunk? If so, you can't use rtpostgis_upgrade_20_minor.sql as-is since
> that upgrade file is for upgrading within the 2.0 code base.
>
> Since you're trying to use -trunk, I'm assuming you don't mind some
> risk. You can still use rtpostgis_upgrade_20_minor.sql with the
> following modification though...
>
> Look for the following function:
>
> CREATE OR REPLACE FUNCTION _st_samealignment_transfn(agg
> agg_samealignment, rast raster)
>
> Before that line, provide the following:
>
> CREATE TYPE agg_samealignment AS (
> refraster raster,
> aligned boolean
> );
>
> That should take care of the agg_samealignment missing issue.
>
> -bborie
This is a great hint! Thanks a lot!
I upgraded with your changes and everything went well!
Now postgis_full_version():
"POSTGIS="2.1.0SVN r9983" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23
September 2009" GDAL="GDAL 1.9.1, released 2012/05/15" LIBXML="2.8.0"
TOPOLOGY RASTER"
But, meanwhile, I only tried to compile 2.0.1 and then I removed it with
make uninstall but I get this con Mapserver:
Error (ERROR: could not access file "$ libdir/postgis-2.0": No such file
or directory
--
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode
More information about the postgis-devel
mailing list