Statistics
| Revision:

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

History | View | Annotate | Download (22.2 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
ShpFileHeader
8
</TITLE>
9
10
<META NAME="keywords" CONTENT="org.cresques.io.ShpFileHeader 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="ShpFileHeader";
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/ShpFile.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../org/cresques/io/TifGeoRefFile.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="ShpFileHeader.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 ShpFileHeader</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.ShpFileHeader</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>ShpFileHeader</B><DT>extends java.lang.Object</DL>
94
95
<P>
96
Procesa la cabecera de un .shp
97
<P>
98
99
<P>
100
<DL>
101
<DT><B>Author:</B></DT>
102
  <DD>"Luis W. Sevilla" <sevilla_lui@gva.es>* @author administrador</DD>
103
</DL>
104
<HR>
105
106
<P>
107
<!-- ======== NESTED CLASS SUMMARY ======== -->
108
109
110
<!-- =========== FIELD SUMMARY =========== -->
111
112
<A NAME="field_summary"><!-- --></A>
113
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115
<TD COLSPAN=2><FONT SIZE="+2">
116
<B>Field Summary</B></FONT></TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120
<CODE>static&nbsp;int</CODE></FONT></TD>
121
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_MULTIPATCH">SHAPE_MULTIPATCH</A></B></CODE>
122
123
<BR>
124
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128
<CODE>static&nbsp;int</CODE></FONT></TD>
129
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_MULTIPOINT">SHAPE_MULTIPOINT</A></B></CODE>
130
131
<BR>
132
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
133
</TR>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE>static&nbsp;int</CODE></FONT></TD>
137
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_MULTIPOINTM">SHAPE_MULTIPOINTM</A></B></CODE>
138
139
<BR>
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE>static&nbsp;int</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_MULTIPOINTZ">SHAPE_MULTIPOINTZ</A></B></CODE>
146
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE>static&nbsp;int</CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_NULL">SHAPE_NULL</A></B></CODE>
154
155
<BR>
156
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shape Type
157
 Value Shape Type
158
 0 Null Shape
159
 1 Point
160
 3 PolyLine
161
 5 Polygon
162
 8 MultiPoint
163
 11 PointZ
164
 13 PolyLineZ
165
 15 PolygonZ
166
 18 MultiPointZ
167
 21 PointM
168
 23 PolyLineM
169
 25 PolygonM
170
 28 MultiPointM
171
 31 MultiPatch</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>static&nbsp;int</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POINT">SHAPE_POINT</A></B></CODE>
177
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>static&nbsp;int</CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POINTM">SHAPE_POINTM</A></B></CODE>
185
186
<BR>
187
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
188
</TR>
189
<TR BGCOLOR="white" CLASS="TableRowColor">
190
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191
<CODE>static&nbsp;int</CODE></FONT></TD>
192
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POINTZ">SHAPE_POINTZ</A></B></CODE>
193
194
<BR>
195
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199
<CODE>static&nbsp;int</CODE></FONT></TD>
200
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYGON">SHAPE_POLYGON</A></B></CODE>
201
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207
<CODE>static&nbsp;int</CODE></FONT></TD>
208
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYGONM">SHAPE_POLYGONM</A></B></CODE>
209
210
<BR>
211
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215
<CODE>static&nbsp;int</CODE></FONT></TD>
216
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYGONZ">SHAPE_POLYGONZ</A></B></CODE>
217
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>static&nbsp;int</CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYLINE">SHAPE_POLYLINE</A></B></CODE>
225
226
<BR>
227
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>static&nbsp;int</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYLINEM">SHAPE_POLYLINEM</A></B></CODE>
233
234
<BR>
235
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
236
</TR>
237
<TR BGCOLOR="white" CLASS="TableRowColor">
238
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
<CODE>static&nbsp;int</CODE></FONT></TD>
240
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#SHAPE_POLYLINEZ">SHAPE_POLYLINEZ</A></B></CODE>
241
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
244
</TR>
245
</TABLE>
246
&nbsp;
247
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
248
249
<A NAME="constructor_summary"><!-- --></A>
250
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
251
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
252
<TD COLSPAN=2><FONT SIZE="+2">
253
<B>Constructor Summary</B></FONT></TD>
254
</TR>
255
<TR BGCOLOR="white" CLASS="TableRowColor">
256
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#ShpFileHeader()">ShpFileHeader</A></B>()</CODE>
257
258
<BR>
259
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ShapeFileHeader constructor comment.</TD>
260
</TR>
261
</TABLE>
262
&nbsp;
263
<!-- ========== METHOD SUMMARY =========== -->
264
265
<A NAME="method_summary"><!-- --></A>
266
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
267
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
268
<TD COLSPAN=2><FONT SIZE="+2">
269
<B>Method Summary</B></FONT></TD>
270
</TR>
271
<TR BGCOLOR="white" CLASS="TableRowColor">
272
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273
<CODE>&nbsp;int</CODE></FONT></TD>
274
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#getFileCode()">getFileCode</A></B>()</CODE>
275
276
<BR>
277
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the file code.</TD>
278
</TR>
279
<TR BGCOLOR="white" CLASS="TableRowColor">
280
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281
<CODE>&nbsp;java.awt.geom.Rectangle2D.Double</CODE></FONT></TD>
282
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#getFileExtents()">getFileExtents</A></B>()</CODE>
283
284
<BR>
285
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the extents of the shape file.</TD>
286
</TR>
287
<TR BGCOLOR="white" CLASS="TableRowColor">
288
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289
<CODE>&nbsp;int</CODE></FONT></TD>
290
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#getFileLength()">getFileLength</A></B>()</CODE>
291
292
<BR>
293
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the number of 16 bit words in the shape file as recorded in the header</TD>
294
</TR>
295
<TR BGCOLOR="white" CLASS="TableRowColor">
296
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
297
<CODE>&nbsp;int</CODE></FONT></TD>
298
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#getHeaderLength()">getHeaderLength</A></B>()</CODE>
299
300
<BR>
301
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the length of the header in 16 bit words..</TD>
302
</TR>
303
<TR BGCOLOR="white" CLASS="TableRowColor">
304
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305
<CODE>&nbsp;int</CODE></FONT></TD>
306
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#getVersion()">getVersion</A></B>()</CODE>
307
308
<BR>
309
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the version of the file.</TD>
310
</TR>
311
<TR BGCOLOR="white" CLASS="TableRowColor">
312
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
313
<CODE>&nbsp;void</CODE></FONT></TD>
314
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#readHeader(java.nio.ByteBuffer)">readHeader</A></B>(java.nio.ByteBuffer&nbsp;in)</CODE>
315
316
<BR>
317
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read the header from the shape file.</TD>
318
</TR>
319
<TR BGCOLOR="white" CLASS="TableRowColor">
320
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
321
<CODE>&nbsp;void</CODE></FONT></TD>
322
<TD><CODE><B><A HREF="../../../org/cresques/io/ShpFileHeader.html#setWarnings(boolean)">setWarnings</A></B>(boolean&nbsp;inWarning)</CODE>
323
324
<BR>
325
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print warnings to system.out.</TD>
326
</TR>
327
</TABLE>
328
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
329
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
330
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
331
<TD><B>Methods inherited from class java.lang.Object</B></TD>
332
</TR>
333
<TR BGCOLOR="white" CLASS="TableRowColor">
334
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
335
</TR>
336
</TABLE>
337
&nbsp;
338
<P>
339
340
<!-- ============ FIELD DETAIL =========== -->
341
342
<A NAME="field_detail"><!-- --></A>
343
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
344
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
345
<TD COLSPAN=1><FONT SIZE="+2">
346
<B>Field Detail</B></FONT></TD>
347
</TR>
348
</TABLE>
349
350
<A NAME="SHAPE_NULL"><!-- --></A><H3>
351
SHAPE_NULL</H3>
352
<PRE>
353
public static final int <B>SHAPE_NULL</B></PRE>
354
<DL>
355
<DD>Shape Type
356
 Value Shape Type
357
 0 Null Shape
358
 1 Point
359
 3 PolyLine
360
 5 Polygon
361
 8 MultiPoint
362
 11 PointZ
363
 13 PolyLineZ
364
 15 PolygonZ
365
 18 MultiPointZ
366
 21 PointM
367
 23 PolyLineM
368
 25 PolygonM
369
 28 MultiPointM
370
 31 MultiPatch
371
<P>
372
<DL>
373
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_NULL">Constant Field Values</A></DL>
374
</DL>
375
<HR>
376
377
<A NAME="SHAPE_POINT"><!-- --></A><H3>
378
SHAPE_POINT</H3>
379
<PRE>
380
public static final int <B>SHAPE_POINT</B></PRE>
381
<DL>
382
<DL>
383
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POINT">Constant Field Values</A></DL>
384
</DL>
385
<HR>
386
387
<A NAME="SHAPE_POLYLINE"><!-- --></A><H3>
388
SHAPE_POLYLINE</H3>
389
<PRE>
390
public static final int <B>SHAPE_POLYLINE</B></PRE>
391
<DL>
392
<DL>
393
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYLINE">Constant Field Values</A></DL>
394
</DL>
395
<HR>
396
397
<A NAME="SHAPE_POLYGON"><!-- --></A><H3>
398
SHAPE_POLYGON</H3>
399
<PRE>
400
public static final int <B>SHAPE_POLYGON</B></PRE>
401
<DL>
402
<DL>
403
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYGON">Constant Field Values</A></DL>
404
</DL>
405
<HR>
406
407
<A NAME="SHAPE_MULTIPOINT"><!-- --></A><H3>
408
SHAPE_MULTIPOINT</H3>
409
<PRE>
410
public static final int <B>SHAPE_MULTIPOINT</B></PRE>
411
<DL>
412
<DL>
413
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_MULTIPOINT">Constant Field Values</A></DL>
414
</DL>
415
<HR>
416
417
<A NAME="SHAPE_POINTZ"><!-- --></A><H3>
418
SHAPE_POINTZ</H3>
419
<PRE>
420
public static final int <B>SHAPE_POINTZ</B></PRE>
421
<DL>
422
<DL>
423
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POINTZ">Constant Field Values</A></DL>
424
</DL>
425
<HR>
426
427
<A NAME="SHAPE_POLYLINEZ"><!-- --></A><H3>
428
SHAPE_POLYLINEZ</H3>
429
<PRE>
430
public static final int <B>SHAPE_POLYLINEZ</B></PRE>
431
<DL>
432
<DL>
433
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYLINEZ">Constant Field Values</A></DL>
434
</DL>
435
<HR>
436
437
<A NAME="SHAPE_POLYGONZ"><!-- --></A><H3>
438
SHAPE_POLYGONZ</H3>
439
<PRE>
440
public static final int <B>SHAPE_POLYGONZ</B></PRE>
441
<DL>
442
<DL>
443
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYGONZ">Constant Field Values</A></DL>
444
</DL>
445
<HR>
446
447
<A NAME="SHAPE_MULTIPOINTZ"><!-- --></A><H3>
448
SHAPE_MULTIPOINTZ</H3>
449
<PRE>
450
public static final int <B>SHAPE_MULTIPOINTZ</B></PRE>
451
<DL>
452
<DL>
453
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_MULTIPOINTZ">Constant Field Values</A></DL>
454
</DL>
455
<HR>
456
457
<A NAME="SHAPE_POINTM"><!-- --></A><H3>
458
SHAPE_POINTM</H3>
459
<PRE>
460
public static final int <B>SHAPE_POINTM</B></PRE>
461
<DL>
462
<DL>
463
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POINTM">Constant Field Values</A></DL>
464
</DL>
465
<HR>
466
467
<A NAME="SHAPE_POLYLINEM"><!-- --></A><H3>
468
SHAPE_POLYLINEM</H3>
469
<PRE>
470
public static final int <B>SHAPE_POLYLINEM</B></PRE>
471
<DL>
472
<DL>
473
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYLINEM">Constant Field Values</A></DL>
474
</DL>
475
<HR>
476
477
<A NAME="SHAPE_POLYGONM"><!-- --></A><H3>
478
SHAPE_POLYGONM</H3>
479
<PRE>
480
public static final int <B>SHAPE_POLYGONM</B></PRE>
481
<DL>
482
<DL>
483
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_POLYGONM">Constant Field Values</A></DL>
484
</DL>
485
<HR>
486
487
<A NAME="SHAPE_MULTIPOINTM"><!-- --></A><H3>
488
SHAPE_MULTIPOINTM</H3>
489
<PRE>
490
public static final int <B>SHAPE_MULTIPOINTM</B></PRE>
491
<DL>
492
<DL>
493
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_MULTIPOINTM">Constant Field Values</A></DL>
494
</DL>
495
<HR>
496
497
<A NAME="SHAPE_MULTIPATCH"><!-- --></A><H3>
498
SHAPE_MULTIPATCH</H3>
499
<PRE>
500
public static final int <B>SHAPE_MULTIPATCH</B></PRE>
501
<DL>
502
<DL>
503
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.cresques.io.ShpFileHeader.SHAPE_MULTIPATCH">Constant Field Values</A></DL>
504
</DL>
505
506
<!-- ========= CONSTRUCTOR DETAIL ======== -->
507
508
<A NAME="constructor_detail"><!-- --></A>
509
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
510
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
511
<TD COLSPAN=1><FONT SIZE="+2">
512
<B>Constructor Detail</B></FONT></TD>
513
</TR>
514
</TABLE>
515
516
<A NAME="ShpFileHeader()"><!-- --></A><H3>
517
ShpFileHeader</H3>
518
<PRE>
519
public <B>ShpFileHeader</B>()</PRE>
520
<DL>
521
<DD>ShapeFileHeader constructor comment.
522
<P>
523
</DL>
524
525
<!-- ============ METHOD DETAIL ========== -->
526
527
<A NAME="method_detail"><!-- --></A>
528
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
529
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
530
<TD COLSPAN=1><FONT SIZE="+2">
531
<B>Method Detail</B></FONT></TD>
532
</TR>
533
</TABLE>
534
535
<A NAME="getFileCode()"><!-- --></A><H3>
536
getFileCode</H3>
537
<PRE>
538
public int <B>getFileCode</B>()</PRE>
539
<DL>
540
<DD>Return the file code.
541
<P>
542
<DD><DL>
543
</DL>
544
</DD>
545
</DL>
546
<HR>
547
548
<A NAME="getVersion()"><!-- --></A><H3>
549
getVersion</H3>
550
<PRE>
551
public int <B>getVersion</B>()</PRE>
552
<DL>
553
<DD>Return the version of the file.
554
<P>
555
<DD><DL>
556
</DL>
557
</DD>
558
</DL>
559
<HR>
560
561
<A NAME="getFileExtents()"><!-- --></A><H3>
562
getFileExtents</H3>
563
<PRE>
564
public java.awt.geom.Rectangle2D.Double <B>getFileExtents</B>()</PRE>
565
<DL>
566
<DD>Get the extents of the shape file.
567
<P>
568
<DD><DL>
569
</DL>
570
</DD>
571
</DL>
572
<HR>
573
574
<A NAME="setWarnings(boolean)"><!-- --></A><H3>
575
setWarnings</H3>
576
<PRE>
577
public void <B>setWarnings</B>(boolean&nbsp;inWarning)</PRE>
578
<DL>
579
<DD>Print warnings to system.out.
580
<P>
581
<DD><DL>
582
</DL>
583
</DD>
584
</DL>
585
<HR>
586
587
<A NAME="getHeaderLength()"><!-- --></A><H3>
588
getHeaderLength</H3>
589
<PRE>
590
public int <B>getHeaderLength</B>()</PRE>
591
<DL>
592
<DD>Return the length of the header in 16 bit words..
593
<P>
594
<DD><DL>
595
</DL>
596
</DD>
597
</DL>
598
<HR>
599
600
<A NAME="getFileLength()"><!-- --></A><H3>
601
getFileLength</H3>
602
<PRE>
603
public int <B>getFileLength</B>()</PRE>
604
<DL>
605
<DD>Return the number of 16 bit words in the shape file as recorded in the header
606
<P>
607
<DD><DL>
608
</DL>
609
</DD>
610
</DL>
611
<HR>
612
613
<A NAME="readHeader(java.nio.ByteBuffer)"><!-- --></A><H3>
614
readHeader</H3>
615
<PRE>
616
public void <B>readHeader</B>(java.nio.ByteBuffer&nbsp;in)</PRE>
617
<DL>
618
<DD>Read the header from the shape file.
619
<P>
620
<DD><DL>
621
</DL>
622
</DD>
623
</DL>
624
<!-- ========= END OF CLASS DATA ========= -->
625
<HR>
626
627
628
<!-- ======= START OF BOTTOM NAVBAR ====== -->
629
<A NAME="navbar_bottom"><!-- --></A>
630
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
631
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
632
<TR>
633
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
634
<A NAME="navbar_bottom_firstrow"><!-- --></A>
635
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
636
  <TR ALIGN="center" VALIGN="top">
637
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
638
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
639
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
640
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
641
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
642
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
643
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
644
  </TR>
645
</TABLE>
646
</TD>
647
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
648
</EM>
649
</TD>
650
</TR>
651
652
<TR>
653
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
654
&nbsp;<A HREF="../../../org/cresques/io/ShpFile.html" title="class in org.cresques.io"><B>PREV CLASS</B></A>&nbsp;
655
&nbsp;<A HREF="../../../org/cresques/io/TifGeoRefFile.html" title="class in org.cresques.io"><B>NEXT CLASS</B></A></FONT></TD>
656
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
657
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
658
&nbsp;<A HREF="ShpFileHeader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
659
&nbsp;<SCRIPT type="text/javascript">
660
  <!--
661
  if(window==top) {
662
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
663
  }
664
  //-->
665
</SCRIPT>
666
<NOSCRIPT>
667
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
668
</NOSCRIPT>
669
670
</FONT></TD>
671
</TR>
672
<TR>
673
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
674
  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>
675
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
676
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>
677
</TR>
678
</TABLE>
679
<A NAME="skip-navbar_bottom"></A>
680
<!-- ======== END OF BOTTOM NAVBAR ======= -->
681
682
<HR>
683
684
</BODY>
685
</HTML>