Statistics
| Revision:

root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / io / GdalFile.html @ 2849

History | View | Annotate | Download (41.9 KB)

1 2849 nacho
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_03) on Fri Sep 02 13:43:21 CEST 2005 -->
6
<TITLE>
7
GdalFile
8
</TITLE>
9
10
<META NAME="keywords" CONTENT="org.cresques.io.GdalFile class">
11
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="GdalFile";
18
}
19
</SCRIPT>
20
21
</HEAD>
22
23
<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;<A HREF="../../../org/cresques/io/FileFolder.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../org/cresques/io/GdalWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="GdalFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67
68
</FONT></TD>
69
</TR>
70
<TR>
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75
</TR>
76
</TABLE>
77
<A NAME="skip-navbar_top"></A>
78
<!-- ========= END OF TOP NAVBAR ========= -->
79
80
<HR>
81
<!-- ======== START OF CLASS DATA ======== -->
82
<H2>
83
<FONT SIZE="-1">
84
org.cresques.io</FONT>
85
<BR>
86
Class GdalFile</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">org.cresques.io.GeoFile</A>
90
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">org.cresques.io.GeoRasterFile</A>
91
          <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.GdalFile</B>
92
</PRE>
93
<DL>
94
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/cresques/px/Extent.Has.html" title="interface in org.cresques.px">Extent.Has</A>, <A HREF="../../../org/cresques/geo/Projected.html" title="interface in org.cresques.geo">Projected</A></DD>
95
</DL>
96
<HR>
97
<DL>
98
<DT>public class <B>GdalFile</B><DT>extends <A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></DL>
99
100
<P>
101
<DL>
102
<DT><B>Author:</B></DT>
103
  <DD>Luis W. Sevilla</DD>
104
</DL>
105
<HR>
106
107
<P>
108
<!-- ======== NESTED CLASS SUMMARY ======== -->
109
110
111
<!-- =========== FIELD SUMMARY =========== -->
112
113
<A NAME="field_summary"><!-- --></A>
114
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116
<TD COLSPAN=2><FONT SIZE="+2">
117
<B>Field Summary</B></FONT></TD>
118
</TR>
119
<TR BGCOLOR="white" CLASS="TableRowColor">
120
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
<CODE>static&nbsp;int</CODE></FONT></TD>
122
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#BAND_HEIGHT">BAND_HEIGHT</A></B></CODE>
123
124
<BR>
125
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126
</TR>
127
<TR BGCOLOR="white" CLASS="TableRowColor">
128
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129
<CODE>protected &nbsp;org.cresques.io.GdalNative</CODE></FONT></TD>
130
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#file">file</A></B></CODE>
131
132
<BR>
133
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134
</TR>
135
</TABLE>
136
&nbsp;<A NAME="fields_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A>
137
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
139
<TD><B>Fields inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></B></TD>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#bandCount">bandCount</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#bBandNr">bBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#BLUE_BAND">BLUE_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#doTransparency">doTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#gBandNr">gBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#GREEN_BAND">GREEN_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#rBandNr">rBandNr</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#RED_BAND">RED_BAND</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#tFilter">tFilter</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#updatable">updatable</A></CODE></TD>
143
</TR>
144
</TABLE>
145
&nbsp;<A NAME="fields_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A>
146
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
148
<TD><B>Fields inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></B></TD>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#bytesReaded">bytesReaded</A>, <A HREF="../../../org/cresques/io/GeoFile.html#extent">extent</A>, <A HREF="../../../org/cresques/io/GeoFile.html#lineCnt">lineCnt</A></CODE></TD>
152
</TR>
153
</TABLE>
154
&nbsp;
155
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
156
157
<A NAME="constructor_summary"><!-- --></A>
158
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160
<TD COLSPAN=2><FONT SIZE="+2">
161
<B>Constructor Summary</B></FONT></TD>
162
</TR>
163
<TR BGCOLOR="white" CLASS="TableRowColor">
164
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#GdalFile(org.cresques.cts.IProjection, java.lang.String)">GdalFile</A></B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
165
         java.lang.String&nbsp;fName)</CODE>
166
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
169
</TR>
170
</TABLE>
171
&nbsp;
172
<!-- ========== METHOD SUMMARY =========== -->
173
174
<A NAME="method_summary"><!-- --></A>
175
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177
<TD COLSPAN=2><FONT SIZE="+2">
178
<B>Method Summary</B></FONT></TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>&nbsp;void</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#close()">close</A></B>()</CODE>
184
185
<BR>
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cierra el fichero y libera los recursos.</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>&nbsp;int</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getBlockSize()">getBlockSize</A></B>()</CODE>
192
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el tama?o de bloque</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getData(int, int, int)">getData</A></B>(int&nbsp;x,
200
        int&nbsp;y,
201
        int&nbsp;band)</CODE>
202
203
<BR>
204
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el valor del raster en la coordenada que se le pasa.
205
 </TD>
206
</TR>
207
<TR BGCOLOR="white" CLASS="TableRowColor">
208
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
210
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getGeogCS()">getGeogCS</A></B>()</CODE>
211
212
<BR>
213
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el sistema de coordenadas geograficas</TD>
214
</TR>
215
<TR BGCOLOR="white" CLASS="TableRowColor">
216
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217
<CODE>&nbsp;int</CODE></FONT></TD>
218
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getHeight()">getHeight</A></B>()</CODE>
219
220
<BR>
221
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el ancho de la imagen</TD>
222
</TR>
223
<TR BGCOLOR="white" CLASS="TableRowColor">
224
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225
<CODE>&nbsp;<A HREF="../../../org/cresques/io/raster/RasterBuf.html" title="class in org.cresques.io.raster">RasterBuf</A></CODE></FONT></TD>
226
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getRaster(int, int, org.cresques.cts.ICoordTrans)">getRaster</A></B>(int&nbsp;width,
227
          int&nbsp;height,
228
          <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</CODE>
229
230
<BR>
231
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
232
</TR>
233
<TR BGCOLOR="white" CLASS="TableRowColor">
234
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235
<CODE>&nbsp;int</CODE></FONT></TD>
236
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getUTM()">getUTM</A></B>()</CODE>
237
238
<BR>
239
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el n?mero de zona UTM</TD>
240
</TR>
241
<TR BGCOLOR="white" CLASS="TableRowColor">
242
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243
<CODE>&nbsp;<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A></CODE></FONT></TD>
244
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getView()">getView</A></B>()</CODE>
245
246
<BR>
247
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el extent asignado</TD>
248
</TR>
249
<TR BGCOLOR="white" CLASS="TableRowColor">
250
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251
<CODE>&nbsp;int</CODE></FONT></TD>
252
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getWidth()">getWidth</A></B>()</CODE>
253
254
<BR>
255
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el ancho de la imagen</TD>
256
</TR>
257
<TR BGCOLOR="white" CLASS="TableRowColor">
258
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259
<CODE>&nbsp;byte[]</CODE></FONT></TD>
260
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getWindow(int, int, int, int, int)">getWindow</A></B>(int&nbsp;ulX,
261
          int&nbsp;ulY,
262
          int&nbsp;sizeX,
263
          int&nbsp;sizeY,
264
          int&nbsp;band)</CODE>
265
266
<BR>
267
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve los datos de una ventana solicitada</TD>
268
</TR>
269
<TR BGCOLOR="white" CLASS="TableRowColor">
270
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271
<CODE>&nbsp;boolean</CODE></FONT></TD>
272
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#getZone()">getZone</A></B>()</CODE>
273
274
<BR>
275
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la zona (Norte / Sur)</TD>
276
</TR>
277
<TR BGCOLOR="white" CLASS="TableRowColor">
278
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279
<CODE>&nbsp;<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></FONT></TD>
280
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#load()">load</A></B>()</CODE>
281
282
<BR>
283
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Carga un fichero raster. </TD>
284
</TR>
285
<TR BGCOLOR="white" CLASS="TableRowColor">
286
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287
<CODE>&nbsp;void</CODE></FONT></TD>
288
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</CODE>
289
290
<BR>
291
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reproyecci?n.</TD>
292
</TR>
293
<TR BGCOLOR="white" CLASS="TableRowColor">
294
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
295
<CODE>&nbsp;void</CODE></FONT></TD>
296
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#setBand(int, int)">setBand</A></B>(int&nbsp;flag,
297
        int&nbsp;bandNr)</CODE>
298
299
<BR>
300
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asocia un colorBand al rojo, verde o azul.</TD>
301
</TR>
302
<TR BGCOLOR="white" CLASS="TableRowColor">
303
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304
<CODE>protected &nbsp;void</CODE></FONT></TD>
305
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage&nbsp;image,
306
           int&nbsp;startX,
307
           int&nbsp;startY,
308
           int&nbsp;w,
309
           int&nbsp;h,
310
           int[]&nbsp;rgbArray,
311
           int&nbsp;offset,
312
           int&nbsp;scansize)</CODE>
313
314
<BR>
315
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna al objeto Image los valores con los dato de la imagen contenidos en el
316
 vector de enteros.</TD>
317
</TR>
318
<TR BGCOLOR="white" CLASS="TableRowColor">
319
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320
<CODE>protected &nbsp;void</CODE></FONT></TD>
321
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage&nbsp;image,
322
           int&nbsp;startX,
323
           int&nbsp;startY,
324
           int&nbsp;w,
325
           int&nbsp;h,
326
           int[]&nbsp;rgbArray,
327
           int&nbsp;offset,
328
           int&nbsp;scansize,
329
           int&nbsp;flags)</CODE>
330
331
<BR>
332
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
333
 con los dato de la imagen contenidos en el vector de enteros. </TD>
334
</TR>
335
<TR BGCOLOR="white" CLASS="TableRowColor">
336
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
337
<CODE>protected &nbsp;void</CODE></FONT></TD>
338
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)">setRGBLine</A></B>(java.awt.image.BufferedImage&nbsp;image,
339
           int&nbsp;startX,
340
           int&nbsp;startY,
341
           int&nbsp;w,
342
           int&nbsp;h,
343
           int[]&nbsp;rgbArray,
344
           int&nbsp;offset,
345
           int&nbsp;scansize,
346
           int&nbsp;origBand,
347
           int&nbsp;destBandFlag)</CODE>
348
349
<BR>
350
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
351
 con los dato de la imagen contenidos en el vector de enteros. </TD>
352
</TR>
353
<TR BGCOLOR="white" CLASS="TableRowColor">
354
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355
<CODE>&nbsp;void</CODE></FONT></TD>
356
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#setView(org.cresques.px.Extent)">setView</A></B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;e)</CODE>
357
358
<BR>
359
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna un nuevo Extent</TD>
360
</TR>
361
<TR BGCOLOR="white" CLASS="TableRowColor">
362
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363
<CODE>&nbsp;java.awt.Image</CODE></FONT></TD>
364
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></B>(int&nbsp;width,
365
            int&nbsp;height,
366
            <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</CODE>
367
368
<BR>
369
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actualiza la imagen</TD>
370
</TR>
371
<TR BGCOLOR="white" CLASS="TableRowColor">
372
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
373
<CODE>&nbsp;java.awt.Image</CODE></FONT></TD>
374
<TD><CODE><B><A HREF="../../../org/cresques/io/GdalFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></B>(int&nbsp;width,
375
            int&nbsp;height,
376
            <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp,
377
            java.awt.Image&nbsp;img,
378
            int&nbsp;origBand,
379
            int&nbsp;destBandFlag)</CODE>
380
381
<BR>
382
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actualiza la/s banda/s especificadas en la imagen.</TD>
383
</TR>
384
</TABLE>
385
&nbsp;<A NAME="methods_inherited_from_class_org.cresques.io.GeoRasterFile"><!-- --></A>
386
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
387
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
388
<TD><B>Methods inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></B></TD>
389
</TR>
390
<TR BGCOLOR="white" CLASS="TableRowColor">
391
<TD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#cornersToWorldFile(java.awt.geom.Point2D[], java.awt.Dimension)">cornersToWorldFile</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#fileIsSupported(java.lang.String)">fileIsSupported</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getAlpha()">getAlpha</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getBand(int)">getBand</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getBandCount()">getBandCount</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getContour(java.lang.String, java.lang.String, org.cresques.cts.IProjection)">getContour</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getDataType()">getDataType</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getObjects()">getObjects</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#getTransparency()">getTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#openFile(org.cresques.cts.IProjection, java.lang.String)">openFile</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#printWF(java.lang.String, java.awt.geom.Point2D[], java.awt.Dimension)">printWF</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#registerExtension(java.lang.String, java.lang.Class)">registerExtension</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#saveWF(java.lang.String, java.lang.String)">saveWF</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setAlpha(int)">setAlpha</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setDataType(int)">setDataType</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(boolean)">setTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(int)">setTransparency</A>, <A HREF="../../../org/cresques/io/GeoRasterFile.html#setUpdatable(java.awt.Component)">setUpdatable</A></CODE></TD>
392
</TR>
393
</TABLE>
394
&nbsp;<A NAME="methods_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A>
395
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
396
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
397
<TD><B>Methods inherited from class org.cresques.io.<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></B></TD>
398
</TR>
399
<TR BGCOLOR="white" CLASS="TableRowColor">
400
<TD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#filterWS(java.lang.String)">filterWS</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getExtent()">getExtent</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getFileSize()">getFileSize</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getName()">getName</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getProjection()">getProjection</A>, <A HREF="../../../org/cresques/io/GeoFile.html#getTime()">getTime</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setFileSize(long)">setFileSize</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setName(java.lang.String)">setName</A>, <A HREF="../../../org/cresques/io/GeoFile.html#setProjection(org.cresques.cts.IProjection)">setProjection</A></CODE></TD>
401
</TR>
402
</TABLE>
403
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
404
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
405
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
406
<TD><B>Methods inherited from class java.lang.Object</B></TD>
407
</TR>
408
<TR BGCOLOR="white" CLASS="TableRowColor">
409
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
410
</TR>
411
</TABLE>
412
&nbsp;
413
<P>
414
415
<!-- ============ FIELD DETAIL =========== -->
416
417
<A NAME="field_detail"><!-- --></A>
418
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
419
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
420
<TD COLSPAN=1><FONT SIZE="+2">
421
<B>Field Detail</B></FONT></TD>
422
</TR>
423
</TABLE>
424
425
<A NAME="BAND_HEIGHT"><!-- --></A><H3>
426
BAND_HEIGHT</H3>
427
<PRE>
428
public static final int <B>BAND_HEIGHT</B></PRE>
429
<DL>
430
<DL>
431
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.GdalFile.BAND_HEIGHT">Constant Field Values</A></DL>
432
</DL>
433
<HR>
434
435
<A NAME="file"><!-- --></A><H3>
436
file</H3>
437
<PRE>
438
protected org.cresques.io.GdalNative <B>file</B></PRE>
439
<DL>
440
<DL>
441
</DL>
442
</DL>
443
444
<!-- ========= CONSTRUCTOR DETAIL ======== -->
445
446
<A NAME="constructor_detail"><!-- --></A>
447
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
448
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
449
<TD COLSPAN=1><FONT SIZE="+2">
450
<B>Constructor Detail</B></FONT></TD>
451
</TR>
452
</TABLE>
453
454
<A NAME="GdalFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3>
455
GdalFile</H3>
456
<PRE>
457
public <B>GdalFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
458
                java.lang.String&nbsp;fName)</PRE>
459
<DL>
460
</DL>
461
462
<!-- ============ METHOD DETAIL ========== -->
463
464
<A NAME="method_detail"><!-- --></A>
465
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
466
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
467
<TD COLSPAN=1><FONT SIZE="+2">
468
<B>Method Detail</B></FONT></TD>
469
</TR>
470
</TABLE>
471
472
<A NAME="load()"><!-- --></A><H3>
473
load</H3>
474
<PRE>
475
public <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A> <B>load</B>()</PRE>
476
<DL>
477
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
478
<DD>Carga un fichero raster. Puede usarse para calcular el extent e instanciar
479
 un objeto de este tipo.
480
<P>
481
<DD><DL>
482
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#load()">load</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
483
</DD>
484
<DD><DL>
485
</DL>
486
</DD>
487
</DL>
488
<HR>
489
490
<A NAME="close()"><!-- --></A><H3>
491
close</H3>
492
<PRE>
493
public void <B>close</B>()</PRE>
494
<DL>
495
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
496
<DD>Cierra el fichero y libera los recursos.
497
<P>
498
<DD><DL>
499
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#close()">close</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
500
</DD>
501
<DD><DL>
502
</DL>
503
</DD>
504
</DL>
505
<HR>
506
507
<A NAME="setBand(int, int)"><!-- --></A><H3>
508
setBand</H3>
509
<PRE>
510
public void <B>setBand</B>(int&nbsp;flag,
511
                    int&nbsp;bandNr)</PRE>
512
<DL>
513
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
514
<DD>Asocia un colorBand al rojo, verde o azul.
515
<P>
516
<DD><DL>
517
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#setBand(int, int)">setBand</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
518
</DD>
519
<DD><DL>
520
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - cual (o cuales) de las bandas.</DL>
521
</DD>
522
</DL>
523
<HR>
524
525
<A NAME="setView(org.cresques.px.Extent)"><!-- --></A><H3>
526
setView</H3>
527
<PRE>
528
public void <B>setView</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;e)</PRE>
529
<DL>
530
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
531
<DD>Asigna un nuevo Extent
532
<P>
533
<DD><DL>
534
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#setView(org.cresques.px.Extent)">setView</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
535
</DD>
536
<DD><DL>
537
<DT><B>Parameters:</B><DD><CODE>e</CODE> - Extent</DL>
538
</DD>
539
</DL>
540
<HR>
541
542
<A NAME="getView()"><!-- --></A><H3>
543
getView</H3>
544
<PRE>
545
public <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> <B>getView</B>()</PRE>
546
<DL>
547
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
548
<DD>Obtiene el extent asignado
549
<P>
550
<DD><DL>
551
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getView()">getView</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
552
</DD>
553
<DD><DL>
554
555
<DT><B>Returns:</B><DD>Extent</DL>
556
</DD>
557
</DL>
558
<HR>
559
560
<A NAME="getWidth()"><!-- --></A><H3>
561
getWidth</H3>
562
<PRE>
563
public int <B>getWidth</B>()</PRE>
564
<DL>
565
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
566
<DD>Obtiene el ancho de la imagen
567
<P>
568
<DD><DL>
569
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWidth()">getWidth</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
570
</DD>
571
<DD><DL>
572
573
<DT><B>Returns:</B><DD>Ancho de la imagen</DL>
574
</DD>
575
</DL>
576
<HR>
577
578
<A NAME="getHeight()"><!-- --></A><H3>
579
getHeight</H3>
580
<PRE>
581
public int <B>getHeight</B>()</PRE>
582
<DL>
583
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
584
<DD>Obtiene el ancho de la imagen
585
<P>
586
<DD><DL>
587
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getHeight()">getHeight</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
588
</DD>
589
<DD><DL>
590
591
<DT><B>Returns:</B><DD>Ancho de la imagen</DL>
592
</DD>
593
</DL>
594
<HR>
595
596
<A NAME="reProject(org.cresques.cts.ICoordTrans)"><!-- --></A><H3>
597
reProject</H3>
598
<PRE>
599
public void <B>reProject</B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</PRE>
600
<DL>
601
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
602
<DD>Reproyecci?n.
603
<P>
604
<DD><DL>
605
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/geo/Projected.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></CODE> in interface <CODE><A HREF="../../../org/cresques/geo/Projected.html" title="interface in org.cresques.geo">Projected</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
606
</DD>
607
<DD><DL>
608
<DT><B>Parameters:</B><DD><CODE>rp</CODE> - Coordenadas de la transformaci?n</DL>
609
</DD>
610
</DL>
611
<HR>
612
613
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3>
614
updateImage</H3>
615
<PRE>
616
public java.awt.Image <B>updateImage</B>(int&nbsp;width,
617
                                  int&nbsp;height,
618
                                  <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</PRE>
619
<DL>
620
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
621
<DD>Actualiza la imagen
622
<P>
623
<DD><DL>
624
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
625
</DD>
626
<DD><DL>
627
<DT><B>Parameters:</B><DD><CODE>width</CODE> - ancho<DD><CODE>height</CODE> - alto<DD><CODE>rp</CODE> - Reproyecci?n
628
<DT><B>Returns:</B><DD>img</DL>
629
</DD>
630
</DL>
631
<HR>
632
633
<A NAME="getRaster(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3>
634
getRaster</H3>
635
<PRE>
636
public <A HREF="../../../org/cresques/io/raster/RasterBuf.html" title="class in org.cresques.io.raster">RasterBuf</A> <B>getRaster</B>(int&nbsp;width,
637
                           int&nbsp;height,
638
                           <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</PRE>
639
<DL>
640
<DD><DL>
641
</DL>
642
</DD>
643
</DL>
644
<HR>
645
646
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int)"><!-- --></A><H3>
647
setRGBLine</H3>
648
<PRE>
649
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage&nbsp;image,
650
                          int&nbsp;startX,
651
                          int&nbsp;startY,
652
                          int&nbsp;w,
653
                          int&nbsp;h,
654
                          int[]&nbsp;rgbArray,
655
                          int&nbsp;offset,
656
                          int&nbsp;scansize)</PRE>
657
<DL>
658
<DD>Asigna al objeto Image los valores con los dato de la imagen contenidos en el
659
 vector de enteros.
660
<P>
661
<DD><DL>
662
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada p</DL>
663
</DD>
664
</DL>
665
<HR>
666
667
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int)"><!-- --></A><H3>
668
setRGBLine</H3>
669
<PRE>
670
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage&nbsp;image,
671
                          int&nbsp;startX,
672
                          int&nbsp;startY,
673
                          int&nbsp;w,
674
                          int&nbsp;h,
675
                          int[]&nbsp;rgbArray,
676
                          int&nbsp;offset,
677
                          int&nbsp;scansize,
678
                          int&nbsp;flags)</PRE>
679
<DL>
680
<DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
681
 con los dato de la imagen contenidos en el vector de enteros. De los valores RGB
682
 que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La
683
 banda correspondiente a flags es sustituida por los datos del vector.
684
<P>
685
<DD><DL>
686
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada paso<DD><CODE>flags</CODE> - banda que se va a sustituir (Ctes de GeoRasterFile)</DL>
687
</DD>
688
</DL>
689
<HR>
690
691
<A NAME="setRGBLine(java.awt.image.BufferedImage, int, int, int, int, int[], int, int, int, int)"><!-- --></A><H3>
692
setRGBLine</H3>
693
<PRE>
694
protected void <B>setRGBLine</B>(java.awt.image.BufferedImage&nbsp;image,
695
                          int&nbsp;startX,
696
                          int&nbsp;startY,
697
                          int&nbsp;w,
698
                          int&nbsp;h,
699
                          int[]&nbsp;rgbArray,
700
                          int&nbsp;offset,
701
                          int&nbsp;scansize,
702
                          int&nbsp;origBand,
703
                          int&nbsp;destBandFlag)</PRE>
704
<DL>
705
<DD>Asigna al objeto Image la mezcla entre los valores que ya tiene y los valores
706
 con los dato de la imagen contenidos en el vector de enteros. De los valores RGB
707
 que ya contiene se mantienen las bandas que no coinciden con el valor de flags. La
708
 banda correspondiente a flags es sustituida por los datos del vector.
709
<P>
710
<DD><DL>
711
<DT><B>Parameters:</B><DD><CODE>image</CODE> - imagen con los datos actuales<DD><CODE>startX</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>startY</CODE> - inicio de la posici?n en X dentro de la imagen<DD><CODE>w</CODE> - Ancho de la imagen<DD><CODE>h</CODE> - Alto de la imagen<DD><CODE>rgbArray</CODE> - vector que contiene la banda que se va a sustituir<DD><CODE>offset</CODE> - desplazamiento<DD><CODE>scansize</CODE> - tama?o de imagen recorrida por cada paso<DD><CODE>origBand</CODE> - Banda origen del GeoRasterFile<DD><CODE>destBandFlag</CODE> - banda que se va a sustituir (Ctes de GeoRasterFile)</DL>
712
</DD>
713
</DL>
714
<HR>
715
716
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)"><!-- --></A><H3>
717
updateImage</H3>
718
<PRE>
719
public java.awt.Image <B>updateImage</B>(int&nbsp;width,
720
                                  int&nbsp;height,
721
                                  <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp,
722
                                  java.awt.Image&nbsp;img,
723
                                  int&nbsp;origBand,
724
                                  int&nbsp;destBandFlag)</PRE>
725
<DL>
726
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
727
<DD>Actualiza la/s banda/s especificadas en la imagen.
728
<P>
729
<DD><DL>
730
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
731
</DD>
732
<DD><DL>
733
<DT><B>Parameters:</B><DD><CODE>width</CODE> - ancho<DD><CODE>height</CODE> - alto<DD><CODE>rp</CODE> - reproyecci?n<DD><CODE>img</CODE> - imagen
734
<DT><B>Returns:</B><DD>img</DL>
735
</DD>
736
</DL>
737
<HR>
738
739
<A NAME="getData(int, int, int)"><!-- --></A><H3>
740
getData</H3>
741
<PRE>
742
public java.lang.Object <B>getData</B>(int&nbsp;x,
743
                                int&nbsp;y,
744
                                int&nbsp;band)</PRE>
745
<DL>
746
<DD><B>Description copied from class: <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></B></DD>
747
<DD>Obtiene el valor del raster en la coordenada que se le pasa.
748
 El valor ser? Double, Int, Byte, etc. dependiendo del tipo de
749
 raster.
750
<P>
751
<DD><DL>
752
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getData(int, int, int)">getData</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
753
</DD>
754
<DD><DL>
755
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y
756
<DT><B>Returns:</B><DD></DL>
757
</DD>
758
</DL>
759
<HR>
760
761
<A NAME="getWindow(int, int, int, int, int)"><!-- --></A><H3>
762
getWindow</H3>
763
<PRE>
764
public byte[] <B>getWindow</B>(int&nbsp;ulX,
765
                        int&nbsp;ulY,
766
                        int&nbsp;sizeX,
767
                        int&nbsp;sizeY,
768
                        int&nbsp;band)</PRE>
769
<DL>
770
<DD>Devuelve los datos de una ventana solicitada
771
<P>
772
<DD><DL>
773
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWindow(int, int, int, int, int)">getWindow</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
774
</DD>
775
<DD><DL>
776
<DT><B>Parameters:</B><DD><CODE>ulX</CODE> - coordenada X superior izda.<DD><CODE>ulY</CODE> - coordenada Y superior derecha.<DD><CODE>sizeX</CODE> - tama?o en X de la ventana.<DD><CODE>sizeY</CODE> - tama?o en Y de la ventana.<DD><CODE>band</CODE> - Banda solicitada.</DL>
777
</DD>
778
</DL>
779
<HR>
780
781
<A NAME="getZone()"><!-- --></A><H3>
782
getZone</H3>
783
<PRE>
784
public boolean <B>getZone</B>()</PRE>
785
<DL>
786
<DD>Obtiene la zona (Norte / Sur)
787
<P>
788
<DD><DL>
789
790
<DT><B>Returns:</B><DD>true si la zona es norte y false si es sur</DL>
791
</DD>
792
</DL>
793
<HR>
794
795
<A NAME="getUTM()"><!-- --></A><H3>
796
getUTM</H3>
797
<PRE>
798
public int <B>getUTM</B>()</PRE>
799
<DL>
800
<DD>Devuelve el n?mero de zona UTM
801
<P>
802
<DD><DL>
803
804
<DT><B>Returns:</B><DD>N?mero de zona</DL>
805
</DD>
806
</DL>
807
<HR>
808
809
<A NAME="getGeogCS()"><!-- --></A><H3>
810
getGeogCS</H3>
811
<PRE>
812
public java.lang.String <B>getGeogCS</B>()</PRE>
813
<DL>
814
<DD>Obtiene el sistema de coordenadas geograficas
815
<P>
816
<DD><DL>
817
818
<DT><B>Returns:</B><DD>Sistema de coordenadas geogr?ficas</DL>
819
</DD>
820
</DL>
821
<HR>
822
823
<A NAME="getBlockSize()"><!-- --></A><H3>
824
getBlockSize</H3>
825
<PRE>
826
public int <B>getBlockSize</B>()</PRE>
827
<DL>
828
<DD>Devuelve el tama?o de bloque
829
<P>
830
<DD><DL>
831
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html#getBlockSize()">getBlockSize</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></DL>
832
</DD>
833
<DD><DL>
834
835
<DT><B>Returns:</B><DD>Tama?o de bloque</DL>
836
</DD>
837
</DL>
838
<!-- ========= END OF CLASS DATA ========= -->
839
<HR>
840
841
842
<!-- ======= START OF BOTTOM NAVBAR ====== -->
843
<A NAME="navbar_bottom"><!-- --></A>
844
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
845
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
846
<TR>
847
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
848
<A NAME="navbar_bottom_firstrow"><!-- --></A>
849
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
850
  <TR ALIGN="center" VALIGN="top">
851
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
852
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
853
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
854
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
855
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
856
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
857
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
858
  </TR>
859
</TABLE>
860
</TD>
861
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
862
</EM>
863
</TD>
864
</TR>
865
866
<TR>
867
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
868
&nbsp;<A HREF="../../../org/cresques/io/FileFolder.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
869
&nbsp;<A HREF="../../../org/cresques/io/GdalWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD>
870
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
871
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
872
&nbsp;<A HREF="GdalFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
873
&nbsp;<SCRIPT type="text/javascript">
874
  <!--
875
  if(window==top) {
876
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
877
  }
878
  //-->
879
</SCRIPT>
880
<NOSCRIPT>
881
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
882
</NOSCRIPT>
883
884
</FONT></TD>
885
</TR>
886
<TR>
887
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
888
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
889
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
890
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
891
</TR>
892
</TABLE>
893
<A NAME="skip-navbar_bottom"></A>
894
<!-- ======== END OF BOTTOM NAVBAR ======= -->
895
896
<HR>
897
898
</BODY>
899
</HTML>