Changes between Version 8 and Version 9 of WKTRaster/SpecificationFinal01
- Timestamp:
- 06/19/09 09:06:57 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationFinal01
v8 v9 52 52 == '''Objective 0.1.6d - Being able to get all the properties of a raster (all the “Get” functions).''' == 53 53 54 ''' RT_SRID(raster|geometry) -> integer'''[[BR]]54 '''ST_SRID(raster|geometry) -> integer'''[[BR]] 55 55 Return the SRID associated with the raster. 56 56 57 ''' RT_Width(raster) -> integer'''[[BR]]57 '''ST_Width(raster) -> integer'''[[BR]] 58 58 Return the width of the raster. 59 59 60 ''' RT_Height(raster) -> integer'''[[BR]]60 '''ST_Height(raster) -> integer'''[[BR]] 61 61 Return the height of the raster. 62 62 63 ''' RT_PixelSizeX(raster) -> float64'''[[BR]]63 '''ST_PixelSizeX(raster) -> float64'''[[BR]] 64 64 Return the georeference's X pixel size of the raster. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 65 65 66 ''' RT_PixelSizeY(raster) -> float64'''[[BR]]66 '''ST_PixelSizeY(raster) -> float64'''[[BR]] 67 67 Return the georeference's Y pixel size of the raster. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 68 68 69 ''' RT_RotationX(raster) -> float64'''[[BR]]69 '''ST_RotationX(raster) -> float64'''[[BR]] 70 70 Return the georeference's X rotation. 71 71 72 ''' RT_RotationY(raster) -> float64'''[[BR]]72 '''ST_RotationY(raster) -> float64'''[[BR]] 73 73 Return the georeference's Y rotation. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 74 74 75 ''' RT_UpperLeftX(raster) -> float64'''[[BR]]75 '''ST_UpperLeftX(raster) -> float64'''[[BR]] 76 76 Return the georeference's X-coordinate of the upper left corner of the upper left pixel. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 77 77 78 ''' RT_UpperLeftY(raster) -> float64'''[[BR]]78 '''ST_UpperLeftY(raster) -> float64'''[[BR]] 79 79 Return the georeference's Y-coordinate of the upper left corner of the upper left pixel. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 80 80 81 ''' RT_ESRIWorldFile(raster) -> string'''[[BR]]81 '''ST_ESRIWorldFile(raster) -> string'''[[BR]] 82 82 Return the georeference of the raster as a string representing the 6 doubles (separated by a carriage return) of an equivalent ESRI World File . [http://en.wikipedia.org/wiki/World_file See]. 83 83 84 ''' RT_GDALGeoTransform(raster) -> string'''[[BR]]84 '''ST_GDALGeoTransform(raster) -> string'''[[BR]] 85 85 Return the georeference of the raster as a string representing the 6 doubles (separated by a carriage return) used by GDAL to georeference a raster. [http://www.gdal.org/classGDALDataset.html#f9593cc241e7d140f5f3c4798a43a668 See]. 86 86 87 ''' RT_NumBands(raster) -> integer'''[[BR]]87 '''ST_NumBands(raster) -> integer'''[[BR]] 88 88 Return the number of band included in the raster. 89 89 90 ''' RT_BandPixelType(raster, integer) -> string'''[[BR]]90 '''ST_BandPixelType(raster, integer) -> string'''[[BR]] 91 91 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: 92 92 * '''1BB''' - 1-bit boolean … … 103 103 * '''64BF''' - 64-bit float 104 104 105 ''' RT_BandNoDataValue(raster, integer) -> float32'''[[BR]]105 '''ST_BandNoDataValue(raster, integer) -> float32'''[[BR]] 106 106 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. 107 107