22 | | * '''is as simple as PostGIS...''' |
23 | | * one table = one raster coverage (like a vector coverage) |
24 | | * one row = one tile or one raster object (like a vector coverage where one row = one geometry) |
25 | | * only one new type: RASTER (like the PostGIS GEOMETRY type) |
26 | | * each raster tile has a pixel size, a width and a height, a variable number of band, a pixel type per band and a nodata value per band. Everything essential to do base raster GIS operations. |
| 22 | The [wiki:WKTRaster WKT Raster] extension... |
| 23 | |
| 24 | '''is as simple as PostGIS...''' |
| 25 | * one table = one raster coverage (like a vector coverage) |
| 26 | * one row = one tile or one raster object (like a vector coverage where one row = one geometry) |
| 27 | * only one new type: RASTER (like the PostGIS GEOMETRY type) |
| 28 | * each raster tile has a pixel size, a width and a height, a variable number of band, a pixel type per band and a nodata value per band. Everything essential to do base raster GIS operations. |
| 29 | |
| 30 | '''is an extension of PostGIS to be installed separately''' |
| 31 | * merge with PostGIS might occur in the future... |
| 32 | |
| 33 | '''has an import/export mechanism similar to shp2pgsql''' |
| 34 | * raster2pgsql and pgsql2raster utilities allowing import/export of a single raster or a batch of raster into a tiled coverage. |
| 35 | |
| 36 | '''allows easy conversion from/to geometry/raster...''' |
| 37 | * RT_AsPolygon(raster) -> geometry |
| 38 | * RT_AsRaster(geometry, pixelsize) -> raster |
| 39 | |
| 40 | '''implements base GIS raster operations available in most GIS...''' |
| 41 | * RT_Resample(raster, pixelsize, method) -> raster |
| 42 | * RT_Clip(raster|geometry,geometry) -> same type as first argument |
| 43 | * RT_Reclass(raster|geometry,string) -> same type as first argument |
| 44 | * RT_MapAlgebra(raster|geometry, raster), mathematical expression, "raster"|"geometry") -> raster/geometry |
| 45 | * etc...) |
| 46 | |
| 47 | '''introduces raster/geometry seamless geometry constructors...''' |
| 48 | * so you don't have to bother whether the layers are in raster or vector form when using analysis functions. |
| 49 | * RT_Intersection(raster|geometry, raster|geometry, "raster"|"geometry") -> raster/geometry |
| 50 | * RT_Union(raster|geometry, raster|geometry, "raster"|"geometry") -> raster/geometry |
| 51 | * RT_Accum(raster set|geometry set, "raster"|"geometry") -> raster/geometry |
| 52 | * RT_Transform(raster|geometry, SRID) -> same type as input |
| 53 | * etc... |
| 54 | |
| 55 | '''and seamless geometry operators...''' |
| 56 | * RT_Intersects(raster|geometry, raster|geometry) -> boolean |
| 57 | * RT_Contains(raster|geometry A, raster|geometry B) -> boolean |
| 58 | * etc... |
| 59 | |
| 60 | '''allows raster storage INSIDE the database''' (as WKB) for efficient overlay analysis operations between vector and raster layers... |
| 61 | |
| 62 | '''or OUTSIDE the database''' (as JPEG or TIFF) so desktop and web applications can quickly access and load raster tiles and nevertheless benefits from the powerful PostGIS GiST spatial index. Every WKT Raster SQL functions working with in-the-db raster tiles work seamlessly with out-the-db raster tiles. |
| 63 | |
| 64 | '''introduces the concept of raster objects...''' |
| 65 | * geographic features are stored as variable size raster tiles instead of polygons. |
| 66 | * allows vector to raster conversion without lost of information. |
| 67 | |
| 68 | '''is much more simple than PGRaster and Oracle GeoRaster''' as WKT Raster supports... |
| 69 | * only one type (instead of two: SDO_GEORASTER & SDO_RASTER). In WKT Raster there is no differences between a raster and a tile: a tile is a raster and a raster is a tile. A coverage is a table of tiles |
| 70 | * no metadata (like PostGIS) |
| 71 | * no masks (you can build a mask as a band) |
| 72 | * no multiple dimensions (only two: x, y) |
| 73 | * no pyramids (reduced resolution coverages can be stored as a separate layer) |