Changes between Version 65 and Version 66 of WKTRaster/SpecificationWorking01
- Timestamp:
- 12/16/09 12:02:59 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationWorking01
v65 v66 190 190 '''Function definitions for WKT Raster 0.1.6''' 191 191 192 '''ST_Box2D(raster) -> BOX2D''' - Returns a BOX2D representing the maximum extents of the geometry. 192 '''ST_Box2D(raster) -> BOX2D''' - Returns a BOX2D representing the extent of the raster. 193 194 If the raster is rotated, the result is a box2d enclosing the rotated raster. 193 195 194 196 The only difference with ST_Envelope(raster) is that ST_Box2D(raster) returns a BOX2D, not a geometry. 195 197 196 This function replaces ST_Raster_to_box2d() and should be used for the "raster AS box2d" cast. It should also be used instead of ST_raster_envelope when creating indexes in gdal2wktraster.py (to be tested).198 This function replaces ST_Raster_to_box2d() and should be used for the "raster AS box2d" cast. It should also be used instead of ST_raster_envelope() when creating indexes in gdal2wktraster.py (to be tested). 197 199 198 200 '''ST_Envelope(raster) -> polygon geometry''' - Returns the minimum bounding box for the supplied raster, as a geometry. 199 201 200 If the ras er is rotated, the envelope is a non-rotated box enclosing the rotated raster.202 If the raster is rotated, the envelope is a non-rotated box enclosing the rotated raster. 201 203 202 204 The only difference with ST_Box2D(raster) is that ST_Envelope(raster) returns a geometry, not a BOX2D.