Changes between Version 115 and Version 116 of WKTRaster/SpecificationWorking01


Ignore:
Timestamp:
Feb 22, 2010, 12:13:25 PM (14 years ago)
Author:
dzwarg
Comment:

Updated st_georeference working spec

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking01

    v115 v116  
    115115== '''Objective 0.1.6d - Being able to get all the properties of a raster (all the “Get” functions).''' ==
    116116
    117 '''ST_SRID(raster|geometry) -> integer'''[[BR]]
    118 Return the SRID associated with the raster.
    119 
    120 '''ST_Width(raster) -> integer'''[[BR]]
    121 Return the width of the raster.
    122 
    123 '''ST_Height(raster) -> integer'''[[BR]]
    124 Return the height of the raster.
    125 
    126 '''ST_PixelSizeX(raster) -> float64'''[[BR]]
    127 Return the georeference's X pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
    128 
    129 '''ST_PixelSizeY(raster) -> float64'''[[BR]]
    130 Return the georeference's Y pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
    131 
    132 '''ST_RotationX(raster) -> float64'''[[BR]]
    133 Return the georeference's X rotation.
    134 
    135 '''ST_RotationY(raster) -> float64'''[[BR]]
    136 Return the georeference's Y rotation. [http://en.wikipedia.org/wiki/World_file See].
    137 
    138 '''ST_UpperLeftX(raster) -> float64'''[[BR]]
    139 Return the georeference's X-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
    140 
    141 '''ST_UpperLeftY(raster) -> float64'''[[BR]]
    142 Return the georeference's Y-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
    143 
    144 '''ST_GeoReference(raster) -> string'''[[BR]]
    145 Return 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].
    146 
    147 '''ST_NumBands(raster) -> integer'''[[BR]]
    148 Return the number of band included in the raster.
    149 
    150 '''ST_BandPixelType(raster, integer) -> string'''[[BR]]
    151 Return 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:
     117'''ST_SRID(raster|geometry) -> integer'''
     118 Return the SRID associated with the raster.
     119
     120'''ST_Width(raster) -> integer'''
     121 Return the width of the raster.
     122
     123'''ST_Height(raster) -> integer'''
     124 Return the height of the raster.
     125
     126'''ST_PixelSizeX(raster) -> float64'''
     127 Return the georeference's X pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
     128
     129'''ST_PixelSizeY(raster) -> float64'''
     130 Return the georeference's Y pixel size of the raster. [http://en.wikipedia.org/wiki/World_file See].
     131
     132'''ST_RotationX(raster) -> float64'''
     133 Return the georeference's X rotation.
     134
     135'''ST_RotationY(raster) -> float64'''
     136 Return the georeference's Y rotation. [http://en.wikipedia.org/wiki/World_file See].
     137
     138'''ST_UpperLeftX(raster) -> float64'''
     139 Return the georeference's X-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
     140
     141'''ST_UpperLeftY(raster) -> float64'''
     142 Return the georeference's Y-coordinate of the center of the upper left pixel. [http://en.wikipedia.org/wiki/World_file See].
     143
     144'''ST_GeoReference(raster, 'ESRI'|'GDAL') -> string'''
     145 Return 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].
     146
     147'''ST_NumBands(raster) -> integer'''
     148 Return the number of band included in the raster.
     149
     150'''ST_BandPixelType(raster, integer) -> string'''
     151 Return 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:
    152152  * '''1BB''' - 1-bit boolean
    153153  * '''2BUI''' - 2-bit unsigned integer
     
    163163  * '''64BF''' - 64-bit float
    164164
    165 '''ST_BandNoDataValue(raster, integer) -> float32'''[[BR]]
    166 Return 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.
     165'''ST_BandNoDataValue(raster, integer) -> float32'''
     166 Return 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.
    167167
    168168----