「Displaying GeoRaster」の版間の差分

提供: OSGeo.JP Wiki
移動: 案内検索
(ページの作成: <H3> Displaying GeoRaster </H3> <P> Finally, by selecting a GeoRaster from the list of Raster Data Table and Raster Id's, the raster image will be loaded into QGIS. <P> The Se…)
 
(ページの置換: '--~~~~このページは削除予定です。')
 
行1: 行1:
<H3>
+
--[[利用者:Sanak|Sanak]] 2009年10月5日 (月) 14:12 (UTC)このページは削除予定です。
Displaying GeoRaster
+
</H3>
+
 
+
<P>
+
Finally, by selecting a GeoRaster from the list of Raster Data Table and Raster Id's, the raster image will be
+
loaded into QGIS.
+
 
+
<P>
+
The Select Oracle Spatial GeoRaster dialog window can be closed now and next time it opens it will keep the same
+
connection, and will show the same previous list of subdataset making it very easy to open up another image
+
from the same context.
+
 
+
<P>
+
<SPAN  CLASS="textbf">Note:</SPAN> GeoRasters that contains pyramids will display much faster but the pyramids need to be generated
+
outside of QGIS using Oracle PL/SQL or gdaladdo.
+
 
+
<P>
+
The following is example using gdaladdo:
+
 
+
<P>
+
<PRE>
+
gdaladdo georaster:scott/tiger@orcl,georaster\_table,georaster,georid=6 -r
+
nearest 2 4 6 8 16 32
+
</PRE>
+
 
+
<P>
+
This is an example using PL/SQL:  
+
cd ..
+
<PRE>
+
$ sqlplus scott/tiger
+
SQL&gt; DECLARE
+
    gr sdo_georaster;
+
BEGIN
+
    SELECT image INTO gr FROM cities WHERE id = 1 FOR UPDATE;
+
    sdo_geor.generatePyramid(gr, 'rLevel=5, resampling=NN');
+
    UPDATE cities SET image = gr WHERE id = 1;
+
    COMMIT;
+
END;
+
/
+
</PRE>
+
 
+
<P>
+
<BR><HR>
+

2009年10月5日 (月) 23:12時点における最新版

--Sanak 2009年10月5日 (月) 14:12 (UTC)このページは削除予定です。