From b2846cb81a12e09606c685d273ecbd126f11c768 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Wed, 14 Apr 2010 13:16:09 +0000 Subject: [PATCH] Fix typo git-svn-id: http://svn.osgeo.org/postgis/trunk@5546 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_wktraster.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/reference_wktraster.xml b/doc/reference_wktraster.xml index 9fa00f3cf..2d432323b 100644 --- a/doc/reference_wktraster.xml +++ b/doc/reference_wktraster.xml @@ -1012,11 +1012,11 @@ FROM dummy_rast; Returns the value of a given band in a given columnx, rowy pixel. Band numbers start at 1. Note that although the X and Ys of these are not in coordinates of the spatial system, you can get that by the following relationship. - Coordinate upper left of a row column + Coordinate upper left ppoint of a row column is: ST_SetSRID(ST_Point(ST_UpperLeftX(rast) + ST_PixelSizeX(rast)*columnx, ST_UpperRightY(rast) + ST_PixelSizeX(rast)*columny), ST_SRID(rast)) - If you want the pixel box instead of the upper left point, you can use the ST_MakeEnvelop function and + If you want the pixel box instead of the upper left point, you can use the ST_MakeEnvelope function and translate it every x,y. Also note that many of these examples particular the intersection example can be more simply done with the planned functions that are not currently available. -- 2.40.0