Changes between Version 12 and Version 13 of WKTRaster/SpecificationWorking03


Ignore:
Timestamp:
02/22/10 07:59:31 (15 years ago)
Author:
dzwarg
Comment:

Added ST_SetRotation and ST_SetUpperLeft

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking03

    v12 v13  
    3333  DZ: Should there be corresponding methods for X/Y sizes?  ST_SetXPixelSize(...) and ST_SetYPixelSize(...)
    3434    PR: In addition to ST_SetPixelSize(raster, xsize, ysize) or in replacement of?
     35      DZ: In addition to?
    3536
    3637  PR: Could you provide a full SQL example of ST_SetPixelSize(raster, raster)? And in general of a function getting arguments for the first raster from another raster (like the below ST_Resample(raster, method, raster))
    37 
    38 '''ST_SetNoDataValue(raster, band, value)'''[[BR]]
     38    DZ: A SQL example for this is in the regression tests in patch #431: test/regress/rt_set_properties.sql, line 52. I can come up with some more examples, if needed.
     39
     40'''ST_SetNoDataValue(raster, band, value)'''
     41 Set the data value that corresponds to NODATA in the given raster and band.
     42
    3943'''ST_SetGeoReference(raster, string)'''
    40  
     44
     45'''ST_SetRotation(raster, rotation)'''
     46 Variant 1: ST_SetRotation(raster, rotationx, rotation y)
     47
     48 Variant 2: ST_SetRotation(raster, raster)
     49
     50 Set the rotation of the raster. The base method sets the X and Y rotation to the same value. The first variant sets the rotation to the individually specified x and y rotations. The second variant sets the rotation to the rotation taken from the 2nd raster parameter.
     51
     52 '''Open Question:'''
     53  DZ: Should there be corresponding methods for X/Y rotations in addition to this general method?  ST_SetXRotation(...) and ST_SetYRotation(...)?
     54
     55'''ST_SetUpperLeft(raster, left, top)'''
     56 Variant 1: ST_SetUpperLeft(raster, raster)'''
     57
     58 Set the location of the upper left pixel (cell). The base method sets the X and Y coordinates to the individually specified left and top coordinates.  The first variant sets the upper left coordinate to the upper left coordinate taken from the 2nd raster parameter.
     59
     60 '''Open Question:'''
     61  DZ: Should there be corresponding methods for X/Y rotations in addition to this general method?  ST_SetUpperLeftX(...) and ST_SetUpperLeftY()?
     62
    4163----
    4264== '''Objective B03b - Being able to reproject a raster.''' ==