Opened 9 years ago

Last modified 3 years ago

#1765 new defect

Incorrect ST_Extent example in README_Raster.txt

Reported by: mloskot Owned by: robe
Priority: medium Milestone: PostGIS Fund Me
Component: documentation Version: 2.0.x
Keywords: extent Cc:

Description

Using PostgreSQL 9.1 x86 on Windows 7

SELECT postgis_raster_lib_build_date(), postgis_raster_lib_version();

"2012-04-03 23:11:11";"2.0.0 r9605"

README_Raster.txt includes the following SQL:

SELECT ST_Extent(rast) FROM rt_test

which obviously leads to

ERROR:  function st_extent(raster) does not exist
LINE 1: SELECT ST_Extent(rast) FROM rt_test
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

Apparently, correct command should read

SELECT ST_Extent(rast::geometry) FROM rt_test

Change History (1)

comment:1 Changed 3 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.