Changes between Version 1 and Version 2 of WKTRaster/SpecificationFinal01


Ignore:
Timestamp:
Apr 16, 2009, 8:35:44 AM (15 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationFinal01

    v1 v2  
    5454
    5555----
     56== '''Objective 0.1.6d - Being able to get all the properties of a raster (all the “Get” functions).''' ==
     57
     58'''RT_SRID(raster|geometry) -> integer'''[[BR]]
     59Return the SRID associated with the raster.
     60
     61'''RT_Width(raster) -> integer'''[[BR]]
     62Return the width of the raster.
     63
     64'''RT_Height(raster) -> integer'''[[BR]]
     65Return the height of the raster.
     66
     67'''RT_PixelSizeX(raster) -> float64'''[[BR]]
     68Return the georeference's X pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
     69
     70'''RT_PixelSizeY(raster) -> float64'''[[BR]]
     71Return the georeference's Y pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
     72
     73'''RT_RotationX(raster) -> float64'''[[BR]]
     74Return the georeference's X rotation.
     75
     76'''RT_RotationY(raster) -> float64'''[[BR]]
     77Return the georeference's Y rotation. [http://en.wikipedia.org/wiki/World_file See].
     78
     79'''RT_UpperLeftX(raster) -> float64'''[[BR]]
     80Return the georeference's X-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
     81
     82'''RT_UpperLeftY(raster) -> float64'''[[BR]]
     83Return the georeference's Y-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
     84
     85'''RT_GeoReference(raster) -> string'''[[BR]]
     86Return the georeference of the raster as a string representing the 6 doubles of an equivalent world file (including the carriage return). [http://en.wikipedia.org/wiki/World_file See].
     87
     88'''RT_NumBands(raster) -> integer'''[[BR]]
     89Return the number of band included in the raster.
     90
     91'''RT_BandPixelType(raster, integer) -> string'''[[BR]]
     92Return the pixel type of the specified 1-based Nth band of raster. Band index is 1-based. The function returns one of the following values:
     93  * '''1BB''' - 1-bit boolean
     94  * '''2BUI''' - 2-bit unsigned integer
     95  * '''4BUI''' - 4-bit unsigned integer
     96  * '''8BSI''' - 8-bit signed integer
     97  * '''8BUI''' - 8-bit unsigned integer
     98  * '''16BSI''' - 16-bit signed integer
     99  * '''16BUI''' - 16-bit unsigned integer
     100  * '''32BSI''' - 32-bit signed integer
     101  * '''32BUI''' - 32-bit unsigned integer
     102  * '''16BF''' - 16-bit float
     103  * '''32BF''' - 32-bit float
     104  * '''64BF''' - 64-bit float
     105
     106'''RT_BandNoDataValue(raster, integer) -> float32'''[[BR]]
     107Return the !NoDataValue of the specified  1-based Nth band of raster. Band index is 1-based. The value is always returned as a float32 even if the pixel type is integer.
     108
     109----