Changes between Version 117 and Version 118 of WKTRaster/SpecificationWorking01


Ignore:
Timestamp:
Apr 1, 2010, 8:02:03 AM (14 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking01

    v117 v118  
    537537      DZ: After discussion, will drop the variant that copies the pixel size from a raster parameter.
    538538
    539 '''ST_SetNoDataValue(raster, band, value)'''
     539'''ST_SetBandNoDataValue(raster, band, value)'''
    540540 Set the data value that corresponds to NODATA in the given raster and band.
    541541
    542 '''ST_HasNoDataValue(raster, band)'''
     542'''ST_BandHasNoDataValue(raster, band)'''
    543543 Return true if the value stored as a NODATA value must be interpreted as a real NODATA value.
     544
     545'''ST_SetBandHasNoDataValue(raster, band)'''
     546 Set the NODATA value as a real NODATA value.
    544547
    545548'''ST_SetGeoReference(raster, georef)'''
     
    550553 If this method does not recieve a georeference string with 6 parameters (or if one of the parameters is not numeric), it raises an exception "st_setgeoreference requires a string with 6 floating point values". If this method recieves a null raster, it does nothing, and returns a null raster.
    551554
    552 '''ST_SetRotation(raster, rotation)'''
    553  Variant 1: ST_SetRotation(raster, rotationx, rotation y)
    554 
    555  ~~Variant 2: ST_SetRotation(raster, raster)~~
    556 
    557  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.~~
     555'''ST_SetSkew(raster, skewx, skewy)'''
     556 Variant 1: ST_SetSkew(raster, skew)
     557
     558 Set the skewx and the skewy of the raster's georeference. Variant 1 sets the X and Y skew to the same value.
    558559
    559560 '''Open Question:'''
    560   DZ: Should there be corresponding methods for X/Y rotations in addition to this general method?  ST_SetXRotation(...) and ST_SetYRotation(...)?
     561  DZ: Should there be corresponding methods for X/Y skews in addition to this general method?  ST_SetSkewX(...) and ST_SetSkewY(...)?
    561562    DZ: No, follow the pattern for ST_SetPixelSize
     563
     564'''ST_SetRotation(raster, angle)'''
     565
     566 Set the rotation of the raster. This method actually derive values for pixelsizex, pixelsizey, skewx and skewy based on the provided rotation angle.
     567
     568 '''Open Question:'''
     569  PR: The angle should be provided in radian or in degree?
    562570
    563571'''ST_SetUpperLeft(raster, left, top)'''