Statistics
| Revision:

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

History | View | Annotate | Download (44.8 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
GeoRasterFile
8
</TITLE>
9
10
<META NAME="keywords" CONTENT="org.cresques.io.GeoRasterFile 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="GeoRasterFile";
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/GeoFile.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../org/cresques/io/GeoRasterWriter.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="GeoRasterFile.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 GeoRasterFile</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"><B>org.cresques.io.GeoRasterFile</B>
91
</PRE>
92
<DL>
93
<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>
94
</DL>
95
<DL>
96
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/cresques/io/EcwFile.html" title="class in org.cresques.io">EcwFile</A>, <A HREF="../../../org/cresques/io/GdalFile.html" title="class in org.cresques.io">GdalFile</A>, <A HREF="../../../org/cresques/io/MapServerInputStream.html" title="class in org.cresques.io">MapServerInputStream</A>, <A HREF="../../../org/cresques/io/MrSidFile.html" title="class in org.cresques.io">MrSidFile</A>, <A HREF="../../../org/cresques/io/TifGeoRefFile.html" title="class in org.cresques.io">TifGeoRefFile</A></DD>
97
</DL>
98
<HR>
99
<DL>
100
<DT>public abstract class <B>GeoRasterFile</B><DT>extends <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></DL>
101
102
<P>
103
Manejador de ficheros raster georeferenciados.
104
105
 Esta clase abstracta es el ancestro de todas las clases que proporcionan
106
 soporte para ficheros raster georeferenciados.<br>
107
 Actua tambien como una 'Fabrica', ocultando al cliente la manera en que
108
 se ha implementado ese manejo. Una clase nueva que soportara un nuevo
109
 tipo de raster tendr?a que registrar su extensi?n o extensiones usando
110
 el m?todo @see registerExtension.<br>
111
<P>
112
113
<P>
114
<DL>
115
<DT><B>Author:</B></DT>
116
  <DD>"Luis W. Sevilla" <sevilla_lui@gva.es>*</DD>
117
</DL>
118
<HR>
119
120
<P>
121
<!-- ======== NESTED CLASS SUMMARY ======== -->
122
123
124
<!-- =========== FIELD SUMMARY =========== -->
125
126
<A NAME="field_summary"><!-- --></A>
127
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129
<TD COLSPAN=2><FONT SIZE="+2">
130
<B>Field Summary</B></FONT></TD>
131
</TR>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE>protected &nbsp;int</CODE></FONT></TD>
135
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#bandCount">bandCount</A></B></CODE>
136
137
<BR>
138
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N?mero de bandas de la imagen</TD>
139
</TR>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142
<CODE>protected &nbsp;int</CODE></FONT></TD>
143
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#bBandNr">bBandNr</A></B></CODE>
144
145
<BR>
146
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asignaci?n de banda del Azul a una banda de la imagen</TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
<CODE>static&nbsp;int</CODE></FONT></TD>
151
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#BLUE_BAND">BLUE_BAND</A></B></CODE>
152
153
<BR>
154
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag que representa a la banda del Azul</TD>
155
</TR>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
159
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#doTransparency">doTransparency</A></B></CODE>
160
161
<BR>
162
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
<CODE>protected &nbsp;int</CODE></FONT></TD>
167
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#gBandNr">gBandNr</A></B></CODE>
168
169
<BR>
170
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asignaci?n de banda del Verde a una banda de la imagen</TD>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
<CODE>static&nbsp;int</CODE></FONT></TD>
175
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#GREEN_BAND">GREEN_BAND</A></B></CODE>
176
177
<BR>
178
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag que representa a la banda del Verde</TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>protected &nbsp;int</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#rBandNr">rBandNr</A></B></CODE>
184
185
<BR>
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asignaci?n de banda del Rojo a una banda de la imagen</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>static&nbsp;int</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#RED_BAND">RED_BAND</A></B></CODE>
192
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag que representa a la banda del Rojo</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>protected &nbsp;<A HREF="../../../org/cresques/io/raster/PixelFilter.html" title="class in org.cresques.io.raster">PixelFilter</A></CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#tFilter">tFilter</A></B></CODE>
200
201
<BR>
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filtro para raster.
203
 </TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207
<CODE>protected &nbsp;java.awt.Component</CODE></FONT></TD>
208
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#updatable">updatable</A></B></CODE>
209
210
<BR>
211
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
212
</TR>
213
</TABLE>
214
&nbsp;<A NAME="fields_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A>
215
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
216
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
217
<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>
218
</TR>
219
<TR BGCOLOR="white" CLASS="TableRowColor">
220
<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>
221
</TR>
222
</TABLE>
223
&nbsp;
224
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
225
226
<A NAME="constructor_summary"><!-- --></A>
227
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229
<TD COLSPAN=2><FONT SIZE="+2">
230
<B>Constructor Summary</B></FONT></TD>
231
</TR>
232
<TR BGCOLOR="white" CLASS="TableRowColor">
233
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#GeoRasterFile(org.cresques.cts.IProjection, java.lang.String)">GeoRasterFile</A></B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
234
              java.lang.String&nbsp;name)</CODE>
235
236
<BR>
237
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
238
</TR>
239
</TABLE>
240
&nbsp;
241
<!-- ========== METHOD SUMMARY =========== -->
242
243
<A NAME="method_summary"><!-- --></A>
244
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
246
<TD COLSPAN=2><FONT SIZE="+2">
247
<B>Method Summary</B></FONT></TD>
248
</TR>
249
<TR BGCOLOR="white" CLASS="TableRowColor">
250
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251
<CODE>abstract &nbsp;void</CODE></FONT></TD>
252
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#close()">close</A></B>()</CODE>
253
254
<BR>
255
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cierra el fichero y libera los recursos.</TD>
256
</TR>
257
<TR BGCOLOR="white" CLASS="TableRowColor">
258
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259
<CODE>static&nbsp;double[]</CODE></FONT></TD>
260
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#cornersToWorldFile(java.awt.geom.Point2D[], java.awt.Dimension)">cornersToWorldFile</A></B>(java.awt.geom.Point2D[]&nbsp;esq,
261
                   java.awt.Dimension&nbsp;size)</CODE>
262
263
<BR>
264
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calcula los par?metros de un worl file a partir de las esquinas del raster.
265
    1. </TD>
266
</TR>
267
<TR BGCOLOR="white" CLASS="TableRowColor">
268
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269
<CODE>static&nbsp;boolean</CODE></FONT></TD>
270
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#fileIsSupported(java.lang.String)">fileIsSupported</A></B>(java.lang.String&nbsp;fName)</CODE>
271
272
<BR>
273
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tipo de fichero soportado.
274
 </TD>
275
</TR>
276
<TR BGCOLOR="white" CLASS="TableRowColor">
277
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278
<CODE>&nbsp;int</CODE></FONT></TD>
279
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getAlpha()">getAlpha</A></B>()</CODE>
280
281
<BR>
282
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
283
</TR>
284
<TR BGCOLOR="white" CLASS="TableRowColor">
285
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286
<CODE>&nbsp;int</CODE></FONT></TD>
287
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getBand(int)">getBand</A></B>(int&nbsp;flag)</CODE>
288
289
<BR>
290
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el colorBand activo en la banda especificada.</TD>
291
</TR>
292
<TR BGCOLOR="white" CLASS="TableRowColor">
293
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294
<CODE>&nbsp;int</CODE></FONT></TD>
295
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getBandCount()">getBandCount</A></B>()</CODE>
296
297
<BR>
298
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
299
</TR>
300
<TR BGCOLOR="white" CLASS="TableRowColor">
301
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302
<CODE>abstract &nbsp;int</CODE></FONT></TD>
303
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getBlockSize()">getBlockSize</A></B>()</CODE>
304
305
<BR>
306
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
307
</TR>
308
<TR BGCOLOR="white" CLASS="TableRowColor">
309
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310
<CODE>static&nbsp;<A HREF="../../../org/cresques/px/PxContour.html" title="class in org.cresques.px">PxContour</A></CODE></FONT></TD>
311
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getContour(java.lang.String, java.lang.String, org.cresques.cts.IProjection)">getContour</A></B>(java.lang.String&nbsp;fName,
312
           java.lang.String&nbsp;name,
313
           <A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj)</CODE>
314
315
<BR>
316
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
317
</TR>
318
<TR BGCOLOR="white" CLASS="TableRowColor">
319
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320
<CODE>abstract &nbsp;java.lang.Object</CODE></FONT></TD>
321
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getData(int, int, int)">getData</A></B>(int&nbsp;x,
322
        int&nbsp;y,
323
        int&nbsp;band)</CODE>
324
325
<BR>
326
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el valor del raster en la coordenada que se le pasa.
327
 </TD>
328
</TR>
329
<TR BGCOLOR="white" CLASS="TableRowColor">
330
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
331
<CODE>&nbsp;int</CODE></FONT></TD>
332
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getDataType()">getDataType</A></B>()</CODE>
333
334
<BR>
335
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
336
</TR>
337
<TR BGCOLOR="white" CLASS="TableRowColor">
338
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339
<CODE>abstract &nbsp;int</CODE></FONT></TD>
340
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getHeight()">getHeight</A></B>()</CODE>
341
342
<BR>
343
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el ancho de la imagen</TD>
344
</TR>
345
<TR BGCOLOR="white" CLASS="TableRowColor">
346
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
347
<CODE>&nbsp;<A HREF="../../../org/cresques/px/IObjList.html" title="interface in org.cresques.px">IObjList</A></CODE></FONT></TD>
348
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getObjects()">getObjects</A></B>()</CODE>
349
350
<BR>
351
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
352
</TR>
353
<TR BGCOLOR="white" CLASS="TableRowColor">
354
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355
<CODE>&nbsp;boolean</CODE></FONT></TD>
356
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getTransparency()">getTransparency</A></B>()</CODE>
357
358
<BR>
359
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
360
</TR>
361
<TR BGCOLOR="white" CLASS="TableRowColor">
362
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363
<CODE>abstract &nbsp;<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A></CODE></FONT></TD>
364
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getView()">getView</A></B>()</CODE>
365
366
<BR>
367
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el extent asignado</TD>
368
</TR>
369
<TR BGCOLOR="white" CLASS="TableRowColor">
370
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
371
<CODE>abstract &nbsp;int</CODE></FONT></TD>
372
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWidth()">getWidth</A></B>()</CODE>
373
374
<BR>
375
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el ancho de la imagen</TD>
376
</TR>
377
<TR BGCOLOR="white" CLASS="TableRowColor">
378
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
379
<CODE>abstract &nbsp;byte[]</CODE></FONT></TD>
380
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#getWindow(int, int, int, int, int)">getWindow</A></B>(int&nbsp;ulX,
381
          int&nbsp;ulY,
382
          int&nbsp;sizeX,
383
          int&nbsp;sizeY,
384
          int&nbsp;band)</CODE>
385
386
<BR>
387
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
388
</TR>
389
<TR BGCOLOR="white" CLASS="TableRowColor">
390
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
391
<CODE>abstract &nbsp;<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></FONT></TD>
392
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#load()">load</A></B>()</CODE>
393
394
<BR>
395
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Carga un fichero raster. </TD>
396
</TR>
397
<TR BGCOLOR="white" CLASS="TableRowColor">
398
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
399
<CODE>static&nbsp;<A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A></CODE></FONT></TD>
400
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#openFile(org.cresques.cts.IProjection, java.lang.String)">openFile</A></B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
401
         java.lang.String&nbsp;fName)</CODE>
402
403
<BR>
404
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factoria para abrir distintos tipos de raster.</TD>
405
</TR>
406
<TR BGCOLOR="white" CLASS="TableRowColor">
407
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
409
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#printWF(java.lang.String, java.awt.geom.Point2D[], java.awt.Dimension)">printWF</A></B>(java.lang.String&nbsp;fName,
410
        java.awt.geom.Point2D[]&nbsp;esq,
411
        java.awt.Dimension&nbsp;sz)</CODE>
412
413
<BR>
414
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
415
</TR>
416
<TR BGCOLOR="white" CLASS="TableRowColor">
417
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
418
<CODE>static&nbsp;void</CODE></FONT></TD>
419
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#registerExtension(java.lang.String, java.lang.Class)">registerExtension</A></B>(java.lang.String&nbsp;ext,
420
                  java.lang.Class&nbsp;clase)</CODE>
421
422
<BR>
423
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registra una clase que soporta una extensi?n raster.</TD>
424
</TR>
425
<TR BGCOLOR="white" CLASS="TableRowColor">
426
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
427
<CODE>abstract &nbsp;void</CODE></FONT></TD>
428
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.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>
429
430
<BR>
431
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reproyecci?n.</TD>
432
</TR>
433
<TR BGCOLOR="white" CLASS="TableRowColor">
434
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
435
<CODE>static&nbsp;void</CODE></FONT></TD>
436
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#saveWF(java.lang.String, java.lang.String)">saveWF</A></B>(java.lang.String&nbsp;fName,
437
       java.lang.String&nbsp;data)</CODE>
438
439
<BR>
440
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
441
</TR>
442
<TR BGCOLOR="white" CLASS="TableRowColor">
443
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
444
<CODE>&nbsp;void</CODE></FONT></TD>
445
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setAlpha(int)">setAlpha</A></B>(int&nbsp;alpha)</CODE>
446
447
<BR>
448
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
449
</TR>
450
<TR BGCOLOR="white" CLASS="TableRowColor">
451
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
452
<CODE>&nbsp;void</CODE></FONT></TD>
453
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setBand(int, int)">setBand</A></B>(int&nbsp;flag,
454
        int&nbsp;bandNr)</CODE>
455
456
<BR>
457
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asocia un colorBand al rojo, verde o azul.</TD>
458
</TR>
459
<TR BGCOLOR="white" CLASS="TableRowColor">
460
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
461
<CODE>&nbsp;void</CODE></FONT></TD>
462
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setDataType(int)">setDataType</A></B>(int&nbsp;dataType)</CODE>
463
464
<BR>
465
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
466
</TR>
467
<TR BGCOLOR="white" CLASS="TableRowColor">
468
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
469
<CODE>&nbsp;void</CODE></FONT></TD>
470
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(boolean)">setTransparency</A></B>(boolean&nbsp;t)</CODE>
471
472
<BR>
473
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
474
</TR>
475
<TR BGCOLOR="white" CLASS="TableRowColor">
476
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
477
<CODE>&nbsp;void</CODE></FONT></TD>
478
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setTransparency(int)">setTransparency</A></B>(int&nbsp;t)</CODE>
479
480
<BR>
481
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna un valor de transparencia</TD>
482
</TR>
483
<TR BGCOLOR="white" CLASS="TableRowColor">
484
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
485
<CODE>&nbsp;void</CODE></FONT></TD>
486
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#setUpdatable(java.awt.Component)">setUpdatable</A></B>(java.awt.Component&nbsp;c)</CODE>
487
488
<BR>
489
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
490
</TR>
491
<TR BGCOLOR="white" CLASS="TableRowColor">
492
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
493
<CODE>abstract &nbsp;void</CODE></FONT></TD>
494
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.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>
495
496
<BR>
497
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Asigna un nuevo Extent</TD>
498
</TR>
499
<TR BGCOLOR="white" CLASS="TableRowColor">
500
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
501
<CODE>abstract &nbsp;java.awt.Image</CODE></FONT></TD>
502
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans)">updateImage</A></B>(int&nbsp;width,
503
            int&nbsp;height,
504
            <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</CODE>
505
506
<BR>
507
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actualiza la imagen</TD>
508
</TR>
509
<TR BGCOLOR="white" CLASS="TableRowColor">
510
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
511
<CODE>abstract &nbsp;java.awt.Image</CODE></FONT></TD>
512
<TD><CODE><B><A HREF="../../../org/cresques/io/GeoRasterFile.html#updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)">updateImage</A></B>(int&nbsp;width,
513
            int&nbsp;height,
514
            <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp,
515
            java.awt.Image&nbsp;img,
516
            int&nbsp;origBand,
517
            int&nbsp;destBand)</CODE>
518
519
<BR>
520
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actualiza la/s banda/s especificadas en la imagen.</TD>
521
</TR>
522
</TABLE>
523
&nbsp;<A NAME="methods_inherited_from_class_org.cresques.io.GeoFile"><!-- --></A>
524
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
525
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
526
<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>
527
</TR>
528
<TR BGCOLOR="white" CLASS="TableRowColor">
529
<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>
530
</TR>
531
</TABLE>
532
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
533
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
534
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
535
<TD><B>Methods inherited from class java.lang.Object</B></TD>
536
</TR>
537
<TR BGCOLOR="white" CLASS="TableRowColor">
538
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
539
</TR>
540
</TABLE>
541
&nbsp;
542
<P>
543
544
<!-- ============ FIELD DETAIL =========== -->
545
546
<A NAME="field_detail"><!-- --></A>
547
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
548
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
549
<TD COLSPAN=1><FONT SIZE="+2">
550
<B>Field Detail</B></FONT></TD>
551
</TR>
552
</TABLE>
553
554
<A NAME="RED_BAND"><!-- --></A><H3>
555
RED_BAND</H3>
556
<PRE>
557
public static final int <B>RED_BAND</B></PRE>
558
<DL>
559
<DD>Flag que representa a la banda del Rojo
560
<P>
561
<DL>
562
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.GeoRasterFile.RED_BAND">Constant Field Values</A></DL>
563
</DL>
564
<HR>
565
566
<A NAME="GREEN_BAND"><!-- --></A><H3>
567
GREEN_BAND</H3>
568
<PRE>
569
public static final int <B>GREEN_BAND</B></PRE>
570
<DL>
571
<DD>Flag que representa a la banda del Verde
572
<P>
573
<DL>
574
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.GeoRasterFile.GREEN_BAND">Constant Field Values</A></DL>
575
</DL>
576
<HR>
577
578
<A NAME="BLUE_BAND"><!-- --></A><H3>
579
BLUE_BAND</H3>
580
<PRE>
581
public static final int <B>BLUE_BAND</B></PRE>
582
<DL>
583
<DD>Flag que representa a la banda del Azul
584
<P>
585
<DL>
586
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.GeoRasterFile.BLUE_BAND">Constant Field Values</A></DL>
587
</DL>
588
<HR>
589
590
<A NAME="updatable"><!-- --></A><H3>
591
updatable</H3>
592
<PRE>
593
protected java.awt.Component <B>updatable</B></PRE>
594
<DL>
595
<DL>
596
</DL>
597
</DL>
598
<HR>
599
600
<A NAME="doTransparency"><!-- --></A><H3>
601
doTransparency</H3>
602
<PRE>
603
protected boolean <B>doTransparency</B></PRE>
604
<DL>
605
<DL>
606
</DL>
607
</DL>
608
<HR>
609
610
<A NAME="tFilter"><!-- --></A><H3>
611
tFilter</H3>
612
<PRE>
613
protected <A HREF="../../../org/cresques/io/raster/PixelFilter.html" title="class in org.cresques.io.raster">PixelFilter</A> <B>tFilter</B></PRE>
614
<DL>
615
<DD>Filtro para raster.
616
 Permite eliminar la franja inutil alrededor de un raster girado o de
617
 un mosaico de borde irregular.
618
619
 Funciona bien solo con raster en tonos de gris, porque se basa que
620
 el valor del pixel no supere un determinado valor 'umbral' que se
621
 le pasa al constructor.
622
623
 Desarrollado para 'limpiar' los bordes de los mosaicos del SIG
624
 Oleicola. Para ese caso los par?metros del constructo son:
625
 PixelFilter(0x10ffff00, 0xff000000, 0xf0f0f0);
626
<P>
627
<DL>
628
</DL>
629
</DL>
630
<HR>
631
632
<A NAME="rBandNr"><!-- --></A><H3>
633
rBandNr</H3>
634
<PRE>
635
protected int <B>rBandNr</B></PRE>
636
<DL>
637
<DD>Asignaci?n de banda del Rojo a una banda de la imagen
638
<P>
639
<DL>
640
</DL>
641
</DL>
642
<HR>
643
644
<A NAME="gBandNr"><!-- --></A><H3>
645
gBandNr</H3>
646
<PRE>
647
protected int <B>gBandNr</B></PRE>
648
<DL>
649
<DD>Asignaci?n de banda del Verde a una banda de la imagen
650
<P>
651
<DL>
652
</DL>
653
</DL>
654
<HR>
655
656
<A NAME="bBandNr"><!-- --></A><H3>
657
bBandNr</H3>
658
<PRE>
659
protected int <B>bBandNr</B></PRE>
660
<DL>
661
<DD>Asignaci?n de banda del Azul a una banda de la imagen
662
<P>
663
<DL>
664
</DL>
665
</DL>
666
<HR>
667
668
<A NAME="bandCount"><!-- --></A><H3>
669
bandCount</H3>
670
<PRE>
671
protected int <B>bandCount</B></PRE>
672
<DL>
673
<DD>N?mero de bandas de la imagen
674
<P>
675
<DL>
676
</DL>
677
</DL>
678
679
<!-- ========= CONSTRUCTOR DETAIL ======== -->
680
681
<A NAME="constructor_detail"><!-- --></A>
682
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
683
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
684
<TD COLSPAN=1><FONT SIZE="+2">
685
<B>Constructor Detail</B></FONT></TD>
686
</TR>
687
</TABLE>
688
689
<A NAME="GeoRasterFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3>
690
GeoRasterFile</H3>
691
<PRE>
692
public <B>GeoRasterFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
693
                     java.lang.String&nbsp;name)</PRE>
694
<DL>
695
<DD>Constructor
696
<P>
697
<DT><B>Parameters:</B><DD><CODE>proj</CODE> - Proyecci?n<DD><CODE>name</CODE> - Nombre del fichero de imagen.</DL>
698
699
<!-- ============ METHOD DETAIL ========== -->
700
701
<A NAME="method_detail"><!-- --></A>
702
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
703
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
704
<TD COLSPAN=1><FONT SIZE="+2">
705
<B>Method Detail</B></FONT></TD>
706
</TR>
707
</TABLE>
708
709
<A NAME="openFile(org.cresques.cts.IProjection, java.lang.String)"><!-- --></A><H3>
710
openFile</H3>
711
<PRE>
712
public static <A HREF="../../../org/cresques/io/GeoRasterFile.html" title="class in org.cresques.io">GeoRasterFile</A> <B>openFile</B>(<A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj,
713
                                     java.lang.String&nbsp;fName)</PRE>
714
<DL>
715
<DD>Factoria para abrir distintos tipos de raster.
716
<P>
717
<DD><DL>
718
<DT><B>Parameters:</B><DD><CODE>proj</CODE> - Proyecci?n en la que est? el raster.<DD><CODE>fName</CODE> - Nombre del fichero.
719
<DT><B>Returns:</B><DD>GeoRasterFile, o null si hay problemas.</DL>
720
</DD>
721
</DL>
722
<HR>
723
724
<A NAME="registerExtension(java.lang.String, java.lang.Class)"><!-- --></A><H3>
725
registerExtension</H3>
726
<PRE>
727
public static void <B>registerExtension</B>(java.lang.String&nbsp;ext,
728
                                     java.lang.Class&nbsp;clase)</PRE>
729
<DL>
730
<DD>Registra una clase que soporta una extensi?n raster.
731
<P>
732
<DD><DL>
733
<DT><B>Parameters:</B><DD><CODE>ext</CODE> - extensi?n soportada.<DD><CODE>clase</CODE> - clase que la soporta.</DL>
734
</DD>
735
</DL>
736
<HR>
737
738
<A NAME="fileIsSupported(java.lang.String)"><!-- --></A><H3>
739
fileIsSupported</H3>
740
<PRE>
741
public static boolean <B>fileIsSupported</B>(java.lang.String&nbsp;fName)</PRE>
742
<DL>
743
<DD>Tipo de fichero soportado.
744
 Devuelve true si el tipo de fichero (extension) est? soportado, si no
745
 devuelve false.
746
<P>
747
<DD><DL>
748
<DT><B>Parameters:</B><DD><CODE>fName</CODE> - Fichero raster
749
<DT><B>Returns:</B><DD>true si est? soportado, si no false.</DL>
750
</DD>
751
</DL>
752
<HR>
753
754
<A NAME="load()"><!-- --></A><H3>
755
load</H3>
756
<PRE>
757
public abstract <A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A> <B>load</B>()</PRE>
758
<DL>
759
<DD>Carga un fichero raster. Puede usarse para calcular el extent e instanciar
760
 un objeto de este tipo.
761
<P>
762
<DD><DL>
763
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#load()">load</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></DL>
764
</DD>
765
<DD><DL>
766
</DL>
767
</DD>
768
</DL>
769
<HR>
770
771
<A NAME="close()"><!-- --></A><H3>
772
close</H3>
773
<PRE>
774
public abstract void <B>close</B>()</PRE>
775
<DL>
776
<DD>Cierra el fichero y libera los recursos.
777
<P>
778
<DD><DL>
779
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#close()">close</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></DL>
780
</DD>
781
<DD><DL>
782
</DL>
783
</DD>
784
</DL>
785
<HR>
786
787
<A NAME="getContour(java.lang.String, java.lang.String, org.cresques.cts.IProjection)"><!-- --></A><H3>
788
getContour</H3>
789
<PRE>
790
public static <A HREF="../../../org/cresques/px/PxContour.html" title="class in org.cresques.px">PxContour</A> <B>getContour</B>(java.lang.String&nbsp;fName,
791
                                   java.lang.String&nbsp;name,
792
                                   <A HREF="../../../org/cresques/cts/IProjection.html" title="interface in org.cresques.cts">IProjection</A>&nbsp;proj)</PRE>
793
<DL>
794
<DD><DL>
795
</DL>
796
</DD>
797
</DL>
798
<HR>
799
800
<A NAME="getWidth()"><!-- --></A><H3>
801
getWidth</H3>
802
<PRE>
803
public abstract int <B>getWidth</B>()</PRE>
804
<DL>
805
<DD>Obtiene el ancho de la imagen
806
<P>
807
<DD><DL>
808
809
<DT><B>Returns:</B><DD>Ancho de la imagen</DL>
810
</DD>
811
</DL>
812
<HR>
813
814
<A NAME="getHeight()"><!-- --></A><H3>
815
getHeight</H3>
816
<PRE>
817
public abstract int <B>getHeight</B>()</PRE>
818
<DL>
819
<DD>Obtiene el ancho de la imagen
820
<P>
821
<DD><DL>
822
823
<DT><B>Returns:</B><DD>Ancho de la imagen</DL>
824
</DD>
825
</DL>
826
<HR>
827
828
<A NAME="reProject(org.cresques.cts.ICoordTrans)"><!-- --></A><H3>
829
reProject</H3>
830
<PRE>
831
public abstract void <B>reProject</B>(<A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</PRE>
832
<DL>
833
<DD>Reproyecci?n.
834
<P>
835
<DD><DL>
836
<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/GeoFile.html#reProject(org.cresques.cts.ICoordTrans)">reProject</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></DL>
837
</DD>
838
<DD><DL>
839
<DT><B>Parameters:</B><DD><CODE>rp</CODE> - Coordenadas de la transformaci?n</DL>
840
</DD>
841
</DL>
842
<HR>
843
844
<A NAME="setView(org.cresques.px.Extent)"><!-- --></A><H3>
845
setView</H3>
846
<PRE>
847
public abstract void <B>setView</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;e)</PRE>
848
<DL>
849
<DD>Asigna un nuevo Extent
850
<P>
851
<DD><DL>
852
<DT><B>Parameters:</B><DD><CODE>e</CODE> - Extent</DL>
853
</DD>
854
</DL>
855
<HR>
856
857
<A NAME="getView()"><!-- --></A><H3>
858
getView</H3>
859
<PRE>
860
public abstract <A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A> <B>getView</B>()</PRE>
861
<DL>
862
<DD>Obtiene el extent asignado
863
<P>
864
<DD><DL>
865
866
<DT><B>Returns:</B><DD>Extent</DL>
867
</DD>
868
</DL>
869
<HR>
870
871
<A NAME="setTransparency(boolean)"><!-- --></A><H3>
872
setTransparency</H3>
873
<PRE>
874
public void <B>setTransparency</B>(boolean&nbsp;t)</PRE>
875
<DL>
876
<DD><DL>
877
</DL>
878
</DD>
879
</DL>
880
<HR>
881
882
<A NAME="setTransparency(int)"><!-- --></A><H3>
883
setTransparency</H3>
884
<PRE>
885
public void <B>setTransparency</B>(int&nbsp;t)</PRE>
886
<DL>
887
<DD>Asigna un valor de transparencia
888
<P>
889
<DD><DL>
890
<DT><B>Parameters:</B><DD><CODE>t</CODE> - Valor de transparencia</DL>
891
</DD>
892
</DL>
893
<HR>
894
895
<A NAME="getTransparency()"><!-- --></A><H3>
896
getTransparency</H3>
897
<PRE>
898
public boolean <B>getTransparency</B>()</PRE>
899
<DL>
900
<DD><DL>
901
</DL>
902
</DD>
903
</DL>
904
<HR>
905
906
<A NAME="setAlpha(int)"><!-- --></A><H3>
907
setAlpha</H3>
908
<PRE>
909
public void <B>setAlpha</B>(int&nbsp;alpha)</PRE>
910
<DL>
911
<DD><DL>
912
</DL>
913
</DD>
914
</DL>
915
<HR>
916
917
<A NAME="getAlpha()"><!-- --></A><H3>
918
getAlpha</H3>
919
<PRE>
920
public int <B>getAlpha</B>()</PRE>
921
<DL>
922
<DD><DL>
923
</DL>
924
</DD>
925
</DL>
926
<HR>
927
928
<A NAME="setUpdatable(java.awt.Component)"><!-- --></A><H3>
929
setUpdatable</H3>
930
<PRE>
931
public void <B>setUpdatable</B>(java.awt.Component&nbsp;c)</PRE>
932
<DL>
933
<DD><DL>
934
</DL>
935
</DD>
936
</DL>
937
<HR>
938
939
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans)"><!-- --></A><H3>
940
updateImage</H3>
941
<PRE>
942
public abstract java.awt.Image <B>updateImage</B>(int&nbsp;width,
943
                                           int&nbsp;height,
944
                                           <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp)</PRE>
945
<DL>
946
<DD>Actualiza la imagen
947
<P>
948
<DD><DL>
949
<DT><B>Parameters:</B><DD><CODE>width</CODE> - ancho<DD><CODE>height</CODE> - alto<DD><CODE>rp</CODE> - Reproyecci?n
950
<DT><B>Returns:</B><DD>img</DL>
951
</DD>
952
</DL>
953
<HR>
954
955
<A NAME="getData(int, int, int)"><!-- --></A><H3>
956
getData</H3>
957
<PRE>
958
public abstract java.lang.Object <B>getData</B>(int&nbsp;x,
959
                                         int&nbsp;y,
960
                                         int&nbsp;band)</PRE>
961
<DL>
962
<DD>Obtiene el valor del raster en la coordenada que se le pasa.
963
 El valor ser? Double, Int, Byte, etc. dependiendo del tipo de
964
 raster.
965
<P>
966
<DD><DL>
967
<DT><B>Parameters:</B><DD><CODE>x</CODE> - coordenada X<DD><CODE>y</CODE> - coordenada Y
968
<DT><B>Returns:</B><DD></DL>
969
</DD>
970
</DL>
971
<HR>
972
973
<A NAME="updateImage(int, int, org.cresques.cts.ICoordTrans, java.awt.Image, int, int)"><!-- --></A><H3>
974
updateImage</H3>
975
<PRE>
976
public abstract java.awt.Image <B>updateImage</B>(int&nbsp;width,
977
                                           int&nbsp;height,
978
                                           <A HREF="../../../org/cresques/cts/ICoordTrans.html" title="interface in org.cresques.cts">ICoordTrans</A>&nbsp;rp,
979
                                           java.awt.Image&nbsp;img,
980
                                           int&nbsp;origBand,
981
                                           int&nbsp;destBand)</PRE>
982
<DL>
983
<DD>Actualiza la/s banda/s especificadas en la imagen.
984
<P>
985
<DD><DL>
986
<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
987
<DT><B>Returns:</B><DD>img</DL>
988
</DD>
989
</DL>
990
<HR>
991
992
<A NAME="getBandCount()"><!-- --></A><H3>
993
getBandCount</H3>
994
<PRE>
995
public int <B>getBandCount</B>()</PRE>
996
<DL>
997
<DD><DL>
998
</DL>
999
</DD>
1000
</DL>
1001
<HR>
1002
1003
<A NAME="setBand(int, int)"><!-- --></A><H3>
1004
setBand</H3>
1005
<PRE>
1006
public void <B>setBand</B>(int&nbsp;flag,
1007
                    int&nbsp;bandNr)</PRE>
1008
<DL>
1009
<DD>Asocia un colorBand al rojo, verde o azul.
1010
<P>
1011
<DD><DL>
1012
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - cual (o cuales) de las bandas.</DL>
1013
</DD>
1014
</DL>
1015
<HR>
1016
1017
<A NAME="getBand(int)"><!-- --></A><H3>
1018
getBand</H3>
1019
<PRE>
1020
public int <B>getBand</B>(int&nbsp;flag)</PRE>
1021
<DL>
1022
<DD>Devuelve el colorBand activo en la banda especificada.
1023
<P>
1024
<DD><DL>
1025
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - banda.</DL>
1026
</DD>
1027
</DL>
1028
<HR>
1029
1030
<A NAME="getDataType()"><!-- --></A><H3>
1031
getDataType</H3>
1032
<PRE>
1033
public int <B>getDataType</B>()</PRE>
1034
<DL>
1035
<DD><DL>
1036
1037
<DT><B>Returns:</B><DD>Returns the dataType.</DL>
1038
</DD>
1039
</DL>
1040
<HR>
1041
1042
<A NAME="setDataType(int)"><!-- --></A><H3>
1043
setDataType</H3>
1044
<PRE>
1045
public void <B>setDataType</B>(int&nbsp;dataType)</PRE>
1046
<DL>
1047
<DD><DL>
1048
<DT><B>Parameters:</B><DD><CODE>dataType</CODE> - The dataType to set.</DL>
1049
</DD>
1050
</DL>
1051
<HR>
1052
1053
<A NAME="getObjects()"><!-- --></A><H3>
1054
getObjects</H3>
1055
<PRE>
1056
public <A HREF="../../../org/cresques/px/IObjList.html" title="interface in org.cresques.px">IObjList</A> <B>getObjects</B>()</PRE>
1057
<DL>
1058
<DD><DL>
1059
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/cresques/io/GeoFile.html#getObjects()">getObjects</A></CODE> in class <CODE><A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io">GeoFile</A></CODE></DL>
1060
</DD>
1061
<DD><DL>
1062
</DL>
1063
</DD>
1064
</DL>
1065
<HR>
1066
1067
<A NAME="cornersToWorldFile(java.awt.geom.Point2D[], java.awt.Dimension)"><!-- --></A><H3>
1068
cornersToWorldFile</H3>
1069
<PRE>
1070
public static double[] <B>cornersToWorldFile</B>(java.awt.geom.Point2D[]&nbsp;esq,
1071
                                          java.awt.Dimension&nbsp;size)</PRE>
1072
<DL>
1073
<DD>Calcula los par?metros de un worl file a partir de las esquinas del raster.
1074
    1. X pixel size A
1075
    2. X rotation term D
1076
    3. Y rotation term B
1077
    4. Y pixel size E
1078
    5. X coordinate of upper left corner C
1079
    6. Y coordinate of upper left corner F
1080
 where the real-world coordinates x',y' can be calculated from
1081
 the image coordinates x,y with the equations
1082
  x' = Ax + By + C and y' = Dx + Ey + F.
1083
  The signs of the first 4 parameters depend on the orientation
1084
  of the image. In the usual case where north is more or less
1085
  at the top of the image, the X pixel size will be positive
1086
  and the Y pixel size will be negative. For a south-up image,
1087
  these signs would be reversed.
1088
1089
 You can calculate the World file parameters yourself based
1090
 on the corner coordinates. The X and Y pixel sizes can be
1091
  determined simply by dividing the distance between two
1092
  adjacent corners by the number of columns or rows in the image.
1093
  The rotation terms are calculated with these equations:
1094
1095
  # B = (A * number_of_columns + C - lower_right_x') / number_of_rows * -1
1096
  # D = (E * number_of_rows + F - lower_right_y') / number_of_columns * -1
1097
<P>
1098
<DD><DL>
1099
1100
<DT><B>Returns:</B><DD></DL>
1101
</DD>
1102
</DL>
1103
<HR>
1104
1105
<A NAME="printWF(java.lang.String, java.awt.geom.Point2D[], java.awt.Dimension)"><!-- --></A><H3>
1106
printWF</H3>
1107
<PRE>
1108
public static java.lang.String <B>printWF</B>(java.lang.String&nbsp;fName,
1109
                                       java.awt.geom.Point2D[]&nbsp;esq,
1110
                                       java.awt.Dimension&nbsp;sz)</PRE>
1111
<DL>
1112
<DD><DL>
1113
</DL>
1114
</DD>
1115
</DL>
1116
<HR>
1117
1118
<A NAME="saveWF(java.lang.String, java.lang.String)"><!-- --></A><H3>
1119
saveWF</H3>
1120
<PRE>
1121
public static void <B>saveWF</B>(java.lang.String&nbsp;fName,
1122
                          java.lang.String&nbsp;data)
1123
                   throws java.io.IOException</PRE>
1124
<DL>
1125
<DD><DL>
1126
1127
<DT><B>Throws:</B>
1128
<DD><CODE>java.io.IOException</CODE></DL>
1129
</DD>
1130
</DL>
1131
<HR>
1132
1133
<A NAME="getWindow(int, int, int, int, int)"><!-- --></A><H3>
1134
getWindow</H3>
1135
<PRE>
1136
public abstract byte[] <B>getWindow</B>(int&nbsp;ulX,
1137
                                 int&nbsp;ulY,
1138
                                 int&nbsp;sizeX,
1139
                                 int&nbsp;sizeY,
1140
                                 int&nbsp;band)</PRE>
1141
<DL>
1142
<DD><DL>
1143
</DL>
1144
</DD>
1145
</DL>
1146
<HR>
1147
1148
<A NAME="getBlockSize()"><!-- --></A><H3>
1149
getBlockSize</H3>
1150
<PRE>
1151
public abstract int <B>getBlockSize</B>()</PRE>
1152
<DL>
1153
<DD><DL>
1154
</DL>
1155
</DD>
1156
</DL>
1157
<!-- ========= END OF CLASS DATA ========= -->
1158
<HR>
1159
1160
1161
<!-- ======= START OF BOTTOM NAVBAR ====== -->
1162
<A NAME="navbar_bottom"><!-- --></A>
1163
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1164
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1165
<TR>
1166
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1167
<A NAME="navbar_bottom_firstrow"><!-- --></A>
1168
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1169
  <TR ALIGN="center" VALIGN="top">
1170
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1171
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1172
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1173
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1174
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1175
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1176
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1177
  </TR>
1178
</TABLE>
1179
</TD>
1180
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1181
</EM>
1182
</TD>
1183
</TR>
1184
1185
<TR>
1186
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1187
&nbsp;<A HREF="../../../org/cresques/io/GeoFile.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
1188
&nbsp;<A HREF="../../../org/cresques/io/GeoRasterWriter.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD>
1189
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1190
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1191
&nbsp;<A HREF="GeoRasterFile.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1192
&nbsp;<SCRIPT type="text/javascript">
1193
  <!--
1194
  if(window==top) {
1195
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1196
  }
1197
  //-->
1198
</SCRIPT>
1199
<NOSCRIPT>
1200
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1201
</NOSCRIPT>
1202
1203
</FONT></TD>
1204
</TR>
1205
<TR>
1206
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1207
  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>
1208
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1209
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>
1210
</TR>
1211
</TABLE>
1212
<A NAME="skip-navbar_bottom"></A>
1213
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1214
1215
<HR>
1216
1217
</BODY>
1218
</HTML>