PostGIS Raster : Extending PostgreSQL for The Support of ... - CoDE
PostGIS Raster : Extending PostgreSQL for The Support of ... - CoDE
PostGIS Raster : Extending PostgreSQL for The Support of ... - CoDE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Attribute in<strong>for</strong>mation<br />
Table 4.1: <strong>PostGIS</strong> <strong>Raster</strong> structure.<br />
Description Storage<br />
version <strong>Raster</strong> <strong>for</strong>mat version unsigned 16 bit<br />
integer<br />
band number Number <strong>of</strong> raster bands stored in<br />
the raster<br />
unsigned 16 bit<br />
integer<br />
width Width <strong>of</strong> the raster unsigned 16 bit<br />
integer<br />
heigh Height <strong>of</strong> the raster unsigned 16 bit<br />
integer<br />
Georeference in<strong>for</strong>mation<br />
Description Storage<br />
pixelsizex Pixel size in the x-direction in the<br />
same map units as the coordinate<br />
system<br />
pixelsizey Pixel size in the y-direction in the<br />
same map units as the coordinate<br />
system<br />
upperleftx X-coordinate <strong>of</strong> the center <strong>of</strong> the upper<br />
left pixel<br />
upperlefty Y-coordinate <strong>of</strong> the center <strong>of</strong> the upper<br />
left pixel<br />
64 bit double<br />
64 bit double<br />
64 bit double<br />
64 bit double<br />
rotationx Rotation about x-axis 64 bit double<br />
rotationy Rotation about y-axis 64 bit double<br />
srid Y-coordinate <strong>of</strong> the center <strong>of</strong> the upper<br />
left pixel<br />
32 bit integer<br />
Band in<strong>for</strong>mation<br />
(one set per band)<br />
Description Storage<br />
is<strong>of</strong>fline Flag specifying if raster data is<br />
stored in the database or as a file<br />
in the file system<br />
1 bit<br />
hasnodatavalue Flag specifying if nodatavalue exists<br />
or not<br />
1 bit<br />
pixeltype Pixel type <strong>of</strong> the band 4 bits<br />
nodatavalue Nodata value <strong>of</strong> the band Depend on band<br />
pixel type<br />
Band data (one<br />
set per band) <strong>for</strong><br />
in-db raster<br />
Description Storage<br />
values[] An array <strong>of</strong> pixel values Depends on band<br />
pixel type and size<br />
Band data (one<br />
set per band) <strong>for</strong><br />
out-db raster<br />
Description Storage<br />
bandnumber Number <strong>of</strong> the out-db band unsigned 8 bit integer<br />
path Path to the out-db raster file string<br />
28