Changes between Version 8 and Version 9 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
02/21/10 10:23:20 (15 years ago)
Author:
dzwarg
Comment:

Added more notes about ST_SetPixelSize

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v8 v9  
    2929  Why is this method different from ST_SetHeight/ST_SetWidth (which are not in the spec)?
    3030
    31 '''ST_SetPixelSize(raster)'''
    32  Set the pixel size (cell size) on the specified raster.
     31'''ST_SetPixelSize(raster, pixelsize)'''
     32 Variant 1: ST_SetPixelSize(raster, xsize, ysize)
     33
     34 Variant 2: ST_SetPixelSize(raster, raster)
     35
     36 Set the pixel size (cell size) on the specified raster. The base method sets the X and Y pixel size to the same value. The first variant sets the pixel sizes to the individually specified x and y sizes.  The second variant sets the pixel size to the pixel size of the 2nd raster parameter.
     37
     38 '''Open Question:'''
     39  Should there be corresponding methods for X/Y sizes?  ST_SetXPixelSize(...) and ST_SetYPixelSize(...)
    3340
    3441'''ST_SetNoDataValue(raster, band, value)'''[[BR]]