[postgis-tickets] [PostGIS] #5491: Upgrade from 3.1.1: ERROR: cannot drop function st_aspect(raster, integer, text, text, boolean) because other objects depend on it

PostGIS trac at osgeo.org
Mon Aug 28 14:56:56 PDT 2023


#5491: Upgrade from 3.1.1: ERROR:  cannot drop function
st_aspect(raster,integer,text,text,boolean) because other objects depend on
it
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 3.4.1
 Component:  build/upgrade/install  |    Version:  3.4.x
Resolution:                         |   Keywords:  raster
------------------------------------+---------------------------
Comment (by strk):

 Current signatures (2.1.0 to current master aka 3.5.0dev):
 {{{
 --1
 st_aspect(
  rast raster,
  nband integer,
  customextent raster,
  pixeltype text DEFAULT '32BF',
  units text DEFAULT 'DEGREES',
  interpolate_nodata boolean DEFAULT FALSE
 )
 --2
 st_aspect(
  rast raster,
  nband integer DEFAULT 1,
  pixeltype text DEFAULT '32BF',
  units text DEFAULT 'DEGREES',
  interpolate_nodata boolean DEFAULT FALSE
 )
 }}}

 stable-2.0 had instead only:
 {{{
 st_aspect(rast raster, band integer, pixeltype text)
 }}}

 Internal function being used is _st_aspect4ma which has current (2.1.0--
 master) signature
 {{{
 _st_aspect4ma(value double precision[][][], pos integer[][], VARIADIC
 userargs text[] DEFAULT NULL)
 }}}

 and stable-2.0 signature:
 {{{
 _st_aspect4ma(matrix float[][], nodatamode text, variadic args text[])
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5491#comment:2>
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-tickets mailing list