ST_MakeEmptyRaster(int, int, float8, float8, float8) non existent ?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ST_MakeEmptyRaster(int, int, float8, float8, float8) non existent ?

Sandro Santilli-2
According to the manual,
ST_MakeEmptyRaster(int,int,float8,float8,float8)
should exist, but:

strk=# select st_memsize(ST_MakeEmpyRaster(255,255,0.0,0.0,1.0));
ERROR:  function st_makeempyraster(integer, integer, numeric, numeric, numeric) does not exist

PostGIS full verison is:

POSTGIS="2.3.0dev r14738" GEOS="3.6.0dev-CAPI-1.10.0 r4149"
 SFCGAL="1.2.0" PROJ="Rel. 4.8.0, 6 March 2012"
 GDAL="GDAL 2.1.0dev, released 2015/99/99"
 LIBXML="2.9.1"
 LIBJSON="0.12"
 TOPOLOGY (topology procs from "2.3.0dev r14627" need upgrade)
 RASTER
 (sfcgal procs from "2.3.0dev r14627" need upgrade)

Any idea ? Is the manual wrong ?
http://postgis.net/docs/manual-dev/RT_ST_MakeEmptyRaster.html

--

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html
_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel
Reply | Threaded
Open this post in threaded view
|

Re: ST_MakeEmptyRaster(int, int, float8, float8, float8) non existent ?

Sandro Santilli-2
Indeed I cannot find the definition of the documented function in
rtpostgis.sql, so filed it as a bug here:
https://trac.osgeo.org/postgis/ticket/3505

How come "make check" doesn't catch this on adding comments ?

--strk;

On Fri, Mar 18, 2016 at 10:41:25AM +0100, Sandro Santilli wrote:

> According to the manual,
> ST_MakeEmptyRaster(int,int,float8,float8,float8)
> should exist, but:
>
> strk=# select st_memsize(ST_MakeEmpyRaster(255,255,0.0,0.0,1.0));
> ERROR:  function st_makeempyraster(integer, integer, numeric, numeric, numeric) does not exist
>
> PostGIS full verison is:
>
> POSTGIS="2.3.0dev r14738" GEOS="3.6.0dev-CAPI-1.10.0 r4149"
>  SFCGAL="1.2.0" PROJ="Rel. 4.8.0, 6 March 2012"
>  GDAL="GDAL 2.1.0dev, released 2015/99/99"
>  LIBXML="2.9.1"
>  LIBJSON="0.12"
>  TOPOLOGY (topology procs from "2.3.0dev r14627" need upgrade)
>  RASTER
>  (sfcgal procs from "2.3.0dev r14627" need upgrade)
>
> Any idea ? Is the manual wrong ?
> http://postgis.net/docs/manual-dev/RT_ST_MakeEmptyRaster.html
>
> --
>
>   ()   Free GIS & Flash consultant/developer
>   /\   http://strk.keybit.net/services.html
_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel
Reply | Threaded
Open this post in threaded view
|

Re: ST_MakeEmptyRaster(int, int, float8, float8, float8) non existent ?

Sandro Santilli-2
On Fri, Mar 18, 2016 at 10:45:43AM +0100, Sandro Santilli wrote:
> Indeed I cannot find the definition of the documented function in

Sorry, I just found a typo in my query and evidently in my search
string too, everything works as expected. Sorry for the noise.

--strk;

_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel