shp 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +34 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE +28 -0
  6. data/README.md +30 -0
  7. data/Rakefile +23 -0
  8. data/ext/shp/base.hpp +113 -0
  9. data/ext/shp/dbf.cpp +381 -0
  10. data/ext/shp/dbf.hpp +44 -0
  11. data/ext/shp/extconf.rb +13 -0
  12. data/ext/shp/shape_object.cpp +58 -0
  13. data/ext/shp/shape_object.hpp +27 -0
  14. data/ext/shp/shapefile.cpp +299 -0
  15. data/ext/shp/shapefile.hpp +35 -0
  16. data/ext/shp/shapelib/.cvsignore +15 -0
  17. data/ext/shp/shapelib/ChangeLog +450 -0
  18. data/ext/shp/shapelib/HOWTO-RELEASE +16 -0
  19. data/ext/shp/shapelib/LICENSE.LGPL +483 -0
  20. data/ext/shp/shapelib/Makefile +113 -0
  21. data/ext/shp/shapelib/README +41 -0
  22. data/ext/shp/shapelib/README.tree +172 -0
  23. data/ext/shp/shapelib/contrib/.cvsignore +12 -0
  24. data/ext/shp/shapelib/contrib/Makefile +66 -0
  25. data/ext/shp/shapelib/contrib/ShapeFileII.pas +234 -0
  26. data/ext/shp/shapelib/contrib/Shape_PointInPoly.cpp +238 -0
  27. data/ext/shp/shapelib/contrib/Shape_PointInPoly_README.txt +59 -0
  28. data/ext/shp/shapelib/contrib/csv2shp.c +558 -0
  29. data/ext/shp/shapelib/contrib/dbfcat.c +166 -0
  30. data/ext/shp/shapelib/contrib/dbfinfo.c +106 -0
  31. data/ext/shp/shapelib/contrib/makefile.vc +34 -0
  32. data/ext/shp/shapelib/contrib/my_nan.h +46 -0
  33. data/ext/shp/shapelib/contrib/shpcat.c +100 -0
  34. data/ext/shp/shapelib/contrib/shpcentrd.c +159 -0
  35. data/ext/shp/shapelib/contrib/shpdata.c +129 -0
  36. data/ext/shp/shapelib/contrib/shpdxf.c +340 -0
  37. data/ext/shp/shapelib/contrib/shpfix.c +110 -0
  38. data/ext/shp/shapelib/contrib/shpgeo.c +1595 -0
  39. data/ext/shp/shapelib/contrib/shpgeo.h +154 -0
  40. data/ext/shp/shapelib/contrib/shpinfo.c +113 -0
  41. data/ext/shp/shapelib/contrib/shpproj.c +260 -0
  42. data/ext/shp/shapelib/contrib/shpsort.c +605 -0
  43. data/ext/shp/shapelib/contrib/shpsort.txt +44 -0
  44. data/ext/shp/shapelib/contrib/shpwkb.c +123 -0
  45. data/ext/shp/shapelib/contrib/tests/shpproj.sh +38 -0
  46. data/ext/shp/shapelib/dbfopen.c +2221 -0
  47. data/ext/shp/shapelib/makefile.vc +86 -0
  48. data/ext/shp/shapelib/makeshape.sh +21 -0
  49. data/ext/shp/shapelib/mkdist.sh +37 -0
  50. data/ext/shp/shapelib/mkinstalldirs +38 -0
  51. data/ext/shp/shapelib/mkrelease.sh +55 -0
  52. data/ext/shp/shapelib/safileio.c +286 -0
  53. data/ext/shp/shapelib/shapefil.h +647 -0
  54. data/ext/shp/shapelib/shapelib.def +46 -0
  55. data/ext/shp/shapelib/shpopen.c +2388 -0
  56. data/ext/shp/shapelib/shptree.c +1187 -0
  57. data/ext/shp/shapelib/shputils.c +1072 -0
  58. data/ext/shp/shapelib/stream1.out +1465 -0
  59. data/ext/shp/shapelib/stream1.sh +28 -0
  60. data/ext/shp/shapelib/stream2.out +530 -0
  61. data/ext/shp/shapelib/stream2.sh +11 -0
  62. data/ext/shp/shapelib/stream3.out +37 -0
  63. data/ext/shp/shapelib/web/.cvsignore +2 -0
  64. data/ext/shp/shapelib/web/codepage.html +403 -0
  65. data/ext/shp/shapelib/web/dbf_api.html +436 -0
  66. data/ext/shp/shapelib/web/index.html +235 -0
  67. data/ext/shp/shapelib/web/license.html +78 -0
  68. data/ext/shp/shapelib/web/manifest.html +87 -0
  69. data/ext/shp/shapelib/web/release.html +80 -0
  70. data/ext/shp/shapelib/web/shapelib-tools.html +352 -0
  71. data/ext/shp/shapelib/web/shp_api.html +376 -0
  72. data/ext/shp/shp.cpp +19 -0
  73. data/ext/shp/shp.hpp +47 -0
  74. data/lib/shp.rb +35 -0
  75. data/lib/shp/version.rb +3 -0
  76. data/shp.gemspec +23 -0
  77. data/spec/shp_spec.rb +127 -0
  78. metadata +176 -0
@@ -0,0 +1,28 @@
1
+ #!/bin/sh
2
+
3
+ EG_DATA=/u/www/projects/shapelib/eg_data
4
+
5
+ echo -------------------------------------------------------------------------
6
+ echo Test 1: dump anno.shp
7
+ echo -------------------------------------------------------------------------
8
+ ./shpdump $EG_DATA/anno.shp | head -250
9
+
10
+ echo -------------------------------------------------------------------------
11
+ echo Test 2: dump brklinz.shp
12
+ echo -------------------------------------------------------------------------
13
+ ./shpdump $EG_DATA/brklinz.shp | head -500
14
+
15
+ echo -------------------------------------------------------------------------
16
+ echo Test 3: dump polygon.shp
17
+ echo -------------------------------------------------------------------------
18
+ ./shpdump $EG_DATA/polygon.shp | head -500
19
+
20
+ echo -------------------------------------------------------------------------
21
+ echo Test 4: dump pline.dbf - uses new F field type
22
+ echo -------------------------------------------------------------------------
23
+ ./dbfdump -m -h $EG_DATA/pline.dbf | head -50
24
+
25
+ echo -------------------------------------------------------------------------
26
+ echo Test 5: NULL Shapes.
27
+ echo -------------------------------------------------------------------------
28
+ ./shpdump $EG_DATA/csah.dbf | head -150
@@ -0,0 +1,530 @@
1
+ -----------------------------------------------------------------------
2
+ Test 2/0
3
+ -----------------------------------------------------------------------
4
+ Shapefile Type: NullShape # of Shapes: 2
5
+
6
+ File Bounds: (0,0,0,0)
7
+ to (10,20,0,0)
8
+
9
+ Shape:0 (NullShape) nVertices=0, nParts=0
10
+ Bounds:(0,0, 0)
11
+ to (0,0, 0)
12
+
13
+ Shape:1 (NullShape) nVertices=0, nParts=0
14
+ Bounds:(0,0, 0)
15
+ to (0,0, 0)
16
+ -----------------------------------------------------------------------
17
+ Test 2/1
18
+ -----------------------------------------------------------------------
19
+ Shapefile Type: Point # of Shapes: 2
20
+
21
+ File Bounds: (1,2,0,0)
22
+ to (10,20,0,0)
23
+
24
+ Shape:0 (Point) nVertices=1, nParts=0
25
+ Bounds:(1,2, 0)
26
+ to (1,2, 0)
27
+ (1,2, 0)
28
+
29
+ Shape:1 (Point) nVertices=1, nParts=0
30
+ Bounds:(10,20, 0)
31
+ to (10,20, 0)
32
+ (10,20, 0)
33
+ -----------------------------------------------------------------------
34
+ Test 2/2
35
+ -----------------------------------------------------------------------
36
+ Shapefile Type: PointZ # of Shapes: 2
37
+
38
+ File Bounds: (1,2,3,4)
39
+ to (10,20,30,40)
40
+
41
+ Shape:0 (PointZ) nVertices=1, nParts=0
42
+ Bounds:(1,2, 3, 4)
43
+ to (1,2, 3, 4)
44
+ (1,2, 3, 4)
45
+
46
+ Shape:1 (PointZ) nVertices=1, nParts=0
47
+ Bounds:(10,20, 30, 40)
48
+ to (10,20, 30, 40)
49
+ (10,20, 30, 40)
50
+ -----------------------------------------------------------------------
51
+ Test 2/3
52
+ -----------------------------------------------------------------------
53
+ Shapefile Type: PointM # of Shapes: 2
54
+
55
+ File Bounds: (1,2,0,4)
56
+ to (10,20,0,40)
57
+
58
+ Shape:0 (PointM) nVertices=1, nParts=0
59
+ Bounds:(1,2, 0, 4)
60
+ to (1,2, 0, 4)
61
+ (1,2, 0, 4)
62
+
63
+ Shape:1 (PointM) nVertices=1, nParts=0
64
+ Bounds:(10,20, 0, 40)
65
+ to (10,20, 0, 40)
66
+ (10,20, 0, 40)
67
+ -----------------------------------------------------------------------
68
+ Test 2/4
69
+ -----------------------------------------------------------------------
70
+ Shapefile Type: MultiPoint # of Shapes: 3
71
+
72
+ File Bounds: (1.15,2.25,0,0)
73
+ to (24.15,25.25,0,0)
74
+
75
+ Shape:0 (MultiPoint) nVertices=4, nParts=0
76
+ Bounds:(1.15,2.25, 0)
77
+ to (4.15,5.25, 0)
78
+ (1.15,2.25, 0)
79
+ (2.15,3.25, 0)
80
+ (3.15,4.25, 0)
81
+ (4.15,5.25, 0)
82
+
83
+ Shape:1 (MultiPoint) nVertices=4, nParts=0
84
+ Bounds:(11.15,12.25, 0)
85
+ to (14.15,15.25, 0)
86
+ (11.15,12.25, 0)
87
+ (12.15,13.25, 0)
88
+ (13.15,14.25, 0)
89
+ (14.15,15.25, 0)
90
+
91
+ Shape:2 (MultiPoint) nVertices=4, nParts=0
92
+ Bounds:(21.15,22.25, 0)
93
+ to (24.15,25.25, 0)
94
+ (21.15,22.25, 0)
95
+ (22.15,23.25, 0)
96
+ (23.15,24.25, 0)
97
+ (24.15,25.25, 0)
98
+ -----------------------------------------------------------------------
99
+ Test 2/5
100
+ -----------------------------------------------------------------------
101
+ Shapefile Type: MultiPointZ # of Shapes: 3
102
+
103
+ File Bounds: (1.15,2.25,3.35,4.45)
104
+ to (24.15,25.25,26.35,27.45)
105
+
106
+ Shape:0 (MultiPointZ) nVertices=4, nParts=0
107
+ Bounds:(1.15,2.25, 3.35, 4.45)
108
+ to (4.15,5.25, 6.35, 7.45)
109
+ (1.15,2.25, 3.35, 4.45)
110
+ (2.15,3.25, 4.35, 5.45)
111
+ (3.15,4.25, 5.35, 6.45)
112
+ (4.15,5.25, 6.35, 7.45)
113
+
114
+ Shape:1 (MultiPointZ) nVertices=4, nParts=0
115
+ Bounds:(11.15,12.25, 13.35, 14.45)
116
+ to (14.15,15.25, 16.35, 17.45)
117
+ (11.15,12.25, 13.35, 14.45)
118
+ (12.15,13.25, 14.35, 15.45)
119
+ (13.15,14.25, 15.35, 16.45)
120
+ (14.15,15.25, 16.35, 17.45)
121
+
122
+ Shape:2 (MultiPointZ) nVertices=4, nParts=0
123
+ Bounds:(21.15,22.25, 23.35, 24.45)
124
+ to (24.15,25.25, 26.35, 27.45)
125
+ (21.15,22.25, 23.35, 24.45)
126
+ (22.15,23.25, 24.35, 25.45)
127
+ (23.15,24.25, 25.35, 26.45)
128
+ (24.15,25.25, 26.35, 27.45)
129
+ -----------------------------------------------------------------------
130
+ Test 2/6
131
+ -----------------------------------------------------------------------
132
+ Shapefile Type: MultiPointM # of Shapes: 3
133
+
134
+ File Bounds: (1.15,2.25,0,4.45)
135
+ to (24.15,25.25,0,27.45)
136
+
137
+ Shape:0 (MultiPointM) nVertices=4, nParts=0
138
+ Bounds:(1.15,2.25, 0, 4.45)
139
+ to (4.15,5.25, 0, 7.45)
140
+ (1.15,2.25, 0, 4.45)
141
+ (2.15,3.25, 0, 5.45)
142
+ (3.15,4.25, 0, 6.45)
143
+ (4.15,5.25, 0, 7.45)
144
+
145
+ Shape:1 (MultiPointM) nVertices=4, nParts=0
146
+ Bounds:(11.15,12.25, 0, 14.45)
147
+ to (14.15,15.25, 0, 17.45)
148
+ (11.15,12.25, 0, 14.45)
149
+ (12.15,13.25, 0, 15.45)
150
+ (13.15,14.25, 0, 16.45)
151
+ (14.15,15.25, 0, 17.45)
152
+
153
+ Shape:2 (MultiPointM) nVertices=4, nParts=0
154
+ Bounds:(21.15,22.25, 0, 24.45)
155
+ to (24.15,25.25, 0, 27.45)
156
+ (21.15,22.25, 0, 24.45)
157
+ (22.15,23.25, 0, 25.45)
158
+ (23.15,24.25, 0, 26.45)
159
+ (24.15,25.25, 0, 27.45)
160
+ -----------------------------------------------------------------------
161
+ Test 2/7
162
+ -----------------------------------------------------------------------
163
+ Shapefile Type: Arc # of Shapes: 4
164
+
165
+ File Bounds: (0,0,0,0)
166
+ to (100,100,0,0)
167
+
168
+ Shape:0 (Arc) nVertices=5, nParts=1
169
+ Bounds:(1,1, 0)
170
+ to (2,2, 0)
171
+ (1,1, 0) Ring
172
+ (2,1, 0)
173
+ (2,2, 0)
174
+ (1,2, 0)
175
+ (1,1, 0)
176
+
177
+ Shape:1 (Arc) nVertices=5, nParts=1
178
+ Bounds:(1,4, 0)
179
+ to (2,5, 0)
180
+ (1,4, 0) Ring
181
+ (2,4, 0)
182
+ (2,5, 0)
183
+ (1,5, 0)
184
+ (1,4, 0)
185
+
186
+ Shape:2 (Arc) nVertices=5, nParts=1
187
+ Bounds:(1,7, 0)
188
+ to (2,8, 0)
189
+ (1,7, 0) Ring
190
+ (2,7, 0)
191
+ (2,8, 0)
192
+ (1,8, 0)
193
+ (1,7, 0)
194
+
195
+ Shape:3 (Arc) nVertices=15, nParts=3
196
+ Bounds:(0,0, 0)
197
+ to (100,100, 0)
198
+ (0,0, 0) Ring
199
+ (0,100, 0)
200
+ (100,100, 0)
201
+ (100,0, 0)
202
+ (0,0, 0)
203
+ + (10,20, 0) Ring
204
+ (30,20, 0)
205
+ (30,40, 0)
206
+ (10,40, 0)
207
+ (10,20, 0)
208
+ + (60,20, 0) Ring
209
+ (90,20, 0)
210
+ (90,40, 0)
211
+ (60,40, 0)
212
+ (60,20, 0)
213
+ -----------------------------------------------------------------------
214
+ Test 2/8
215
+ -----------------------------------------------------------------------
216
+ Shapefile Type: ArcZ # of Shapes: 4
217
+
218
+ File Bounds: (0,0,0,0)
219
+ to (100,100,27.35,28.45)
220
+
221
+ Shape:0 (ArcZ) nVertices=5, nParts=1
222
+ Bounds:(1,1, 3.35, 4.45)
223
+ to (2,2, 7.35, 8.45)
224
+ (1,1, 3.35, 4.45) Ring
225
+ (2,1, 4.35, 5.45)
226
+ (2,2, 5.35, 6.45)
227
+ (1,2, 6.35, 7.45)
228
+ (1,1, 7.35, 8.45)
229
+
230
+ Shape:1 (ArcZ) nVertices=5, nParts=1
231
+ Bounds:(1,4, 13.35, 14.45)
232
+ to (2,5, 17.35, 18.45)
233
+ (1,4, 13.35, 14.45) Ring
234
+ (2,4, 14.35, 15.45)
235
+ (2,5, 15.35, 16.45)
236
+ (1,5, 16.35, 17.45)
237
+ (1,4, 17.35, 18.45)
238
+
239
+ Shape:2 (ArcZ) nVertices=5, nParts=1
240
+ Bounds:(1,7, 23.35, 24.45)
241
+ to (2,8, 27.35, 28.45)
242
+ (1,7, 23.35, 24.45) Ring
243
+ (2,7, 24.35, 25.45)
244
+ (2,8, 25.35, 26.45)
245
+ (1,8, 26.35, 27.45)
246
+ (1,7, 27.35, 28.45)
247
+
248
+ Shape:3 (ArcZ) nVertices=15, nParts=3
249
+ Bounds:(0,0, 0, 0)
250
+ to (100,100, 14, 28)
251
+ (0,0, 0, 0) Ring
252
+ (0,100, 1, 2)
253
+ (100,100, 2, 4)
254
+ (100,0, 3, 6)
255
+ (0,0, 4, 8)
256
+ + (10,20, 5, 10) Ring
257
+ (30,20, 6, 12)
258
+ (30,40, 7, 14)
259
+ (10,40, 8, 16)
260
+ (10,20, 9, 18)
261
+ + (60,20, 10, 20) Ring
262
+ (90,20, 11, 22)
263
+ (90,40, 12, 24)
264
+ (60,40, 13, 26)
265
+ (60,20, 14, 28)
266
+ -----------------------------------------------------------------------
267
+ Test 2/9
268
+ -----------------------------------------------------------------------
269
+ Shapefile Type: ArcM # of Shapes: 4
270
+
271
+ File Bounds: (0,0,0,0)
272
+ to (100,100,0,28.45)
273
+
274
+ Shape:0 (ArcM) nVertices=5, nParts=1
275
+ Bounds:(1,1, 0, 4.45)
276
+ to (2,2, 0, 8.45)
277
+ (1,1, 0, 4.45) Ring
278
+ (2,1, 0, 5.45)
279
+ (2,2, 0, 6.45)
280
+ (1,2, 0, 7.45)
281
+ (1,1, 0, 8.45)
282
+
283
+ Shape:1 (ArcM) nVertices=5, nParts=1
284
+ Bounds:(1,4, 0, 14.45)
285
+ to (2,5, 0, 18.45)
286
+ (1,4, 0, 14.45) Ring
287
+ (2,4, 0, 15.45)
288
+ (2,5, 0, 16.45)
289
+ (1,5, 0, 17.45)
290
+ (1,4, 0, 18.45)
291
+
292
+ Shape:2 (ArcM) nVertices=5, nParts=1
293
+ Bounds:(1,7, 0, 24.45)
294
+ to (2,8, 0, 28.45)
295
+ (1,7, 0, 24.45) Ring
296
+ (2,7, 0, 25.45)
297
+ (2,8, 0, 26.45)
298
+ (1,8, 0, 27.45)
299
+ (1,7, 0, 28.45)
300
+
301
+ Shape:3 (ArcM) nVertices=15, nParts=3
302
+ Bounds:(0,0, 0, 0)
303
+ to (100,100, 0, 28)
304
+ (0,0, 0, 0) Ring
305
+ (0,100, 0, 2)
306
+ (100,100, 0, 4)
307
+ (100,0, 0, 6)
308
+ (0,0, 0, 8)
309
+ + (10,20, 0, 10) Ring
310
+ (30,20, 0, 12)
311
+ (30,40, 0, 14)
312
+ (10,40, 0, 16)
313
+ (10,20, 0, 18)
314
+ + (60,20, 0, 20) Ring
315
+ (90,20, 0, 22)
316
+ (90,40, 0, 24)
317
+ (60,40, 0, 26)
318
+ (60,20, 0, 28)
319
+ -----------------------------------------------------------------------
320
+ Test 2/10
321
+ -----------------------------------------------------------------------
322
+ Shapefile Type: Polygon # of Shapes: 4
323
+
324
+ File Bounds: (0,0,0,0)
325
+ to (100,100,0,0)
326
+
327
+ Shape:0 (Polygon) nVertices=5, nParts=1
328
+ Bounds:(1,1, 0)
329
+ to (2,2, 0)
330
+ (1,1, 0) Ring
331
+ (2,1, 0)
332
+ (2,2, 0)
333
+ (1,2, 0)
334
+ (1,1, 0)
335
+
336
+ Shape:1 (Polygon) nVertices=5, nParts=1
337
+ Bounds:(1,4, 0)
338
+ to (2,5, 0)
339
+ (1,4, 0) Ring
340
+ (2,4, 0)
341
+ (2,5, 0)
342
+ (1,5, 0)
343
+ (1,4, 0)
344
+
345
+ Shape:2 (Polygon) nVertices=5, nParts=1
346
+ Bounds:(1,7, 0)
347
+ to (2,8, 0)
348
+ (1,7, 0) Ring
349
+ (2,7, 0)
350
+ (2,8, 0)
351
+ (1,8, 0)
352
+ (1,7, 0)
353
+
354
+ Shape:3 (Polygon) nVertices=15, nParts=3
355
+ Bounds:(0,0, 0)
356
+ to (100,100, 0)
357
+ (0,0, 0) Ring
358
+ (0,100, 0)
359
+ (100,100, 0)
360
+ (100,0, 0)
361
+ (0,0, 0)
362
+ + (10,20, 0) Ring
363
+ (30,20, 0)
364
+ (30,40, 0)
365
+ (10,40, 0)
366
+ (10,20, 0)
367
+ + (60,20, 0) Ring
368
+ (90,20, 0)
369
+ (90,40, 0)
370
+ (60,40, 0)
371
+ (60,20, 0)
372
+ -----------------------------------------------------------------------
373
+ Test 2/11
374
+ -----------------------------------------------------------------------
375
+ Shapefile Type: PolygonZ # of Shapes: 4
376
+
377
+ File Bounds: (0,0,0,0)
378
+ to (100,100,27.35,28.45)
379
+
380
+ Shape:0 (PolygonZ) nVertices=5, nParts=1
381
+ Bounds:(1,1, 3.35, 4.45)
382
+ to (2,2, 7.35, 8.45)
383
+ (1,1, 3.35, 4.45) Ring
384
+ (2,1, 4.35, 5.45)
385
+ (2,2, 5.35, 6.45)
386
+ (1,2, 6.35, 7.45)
387
+ (1,1, 7.35, 8.45)
388
+
389
+ Shape:1 (PolygonZ) nVertices=5, nParts=1
390
+ Bounds:(1,4, 13.35, 14.45)
391
+ to (2,5, 17.35, 18.45)
392
+ (1,4, 13.35, 14.45) Ring
393
+ (2,4, 14.35, 15.45)
394
+ (2,5, 15.35, 16.45)
395
+ (1,5, 16.35, 17.45)
396
+ (1,4, 17.35, 18.45)
397
+
398
+ Shape:2 (PolygonZ) nVertices=5, nParts=1
399
+ Bounds:(1,7, 23.35, 24.45)
400
+ to (2,8, 27.35, 28.45)
401
+ (1,7, 23.35, 24.45) Ring
402
+ (2,7, 24.35, 25.45)
403
+ (2,8, 25.35, 26.45)
404
+ (1,8, 26.35, 27.45)
405
+ (1,7, 27.35, 28.45)
406
+
407
+ Shape:3 (PolygonZ) nVertices=15, nParts=3
408
+ Bounds:(0,0, 0, 0)
409
+ to (100,100, 14, 28)
410
+ (0,0, 0, 0) Ring
411
+ (0,100, 1, 2)
412
+ (100,100, 2, 4)
413
+ (100,0, 3, 6)
414
+ (0,0, 4, 8)
415
+ + (10,20, 5, 10) Ring
416
+ (30,20, 6, 12)
417
+ (30,40, 7, 14)
418
+ (10,40, 8, 16)
419
+ (10,20, 9, 18)
420
+ + (60,20, 10, 20) Ring
421
+ (90,20, 11, 22)
422
+ (90,40, 12, 24)
423
+ (60,40, 13, 26)
424
+ (60,20, 14, 28)
425
+ -----------------------------------------------------------------------
426
+ Test 2/12
427
+ -----------------------------------------------------------------------
428
+ Shapefile Type: PolygonM # of Shapes: 4
429
+
430
+ File Bounds: (0,0,0,0)
431
+ to (100,100,0,28.45)
432
+
433
+ Shape:0 (PolygonM) nVertices=5, nParts=1
434
+ Bounds:(1,1, 0, 4.45)
435
+ to (2,2, 0, 8.45)
436
+ (1,1, 0, 4.45) Ring
437
+ (2,1, 0, 5.45)
438
+ (2,2, 0, 6.45)
439
+ (1,2, 0, 7.45)
440
+ (1,1, 0, 8.45)
441
+
442
+ Shape:1 (PolygonM) nVertices=5, nParts=1
443
+ Bounds:(1,4, 0, 14.45)
444
+ to (2,5, 0, 18.45)
445
+ (1,4, 0, 14.45) Ring
446
+ (2,4, 0, 15.45)
447
+ (2,5, 0, 16.45)
448
+ (1,5, 0, 17.45)
449
+ (1,4, 0, 18.45)
450
+
451
+ Shape:2 (PolygonM) nVertices=5, nParts=1
452
+ Bounds:(1,7, 0, 24.45)
453
+ to (2,8, 0, 28.45)
454
+ (1,7, 0, 24.45) Ring
455
+ (2,7, 0, 25.45)
456
+ (2,8, 0, 26.45)
457
+ (1,8, 0, 27.45)
458
+ (1,7, 0, 28.45)
459
+
460
+ Shape:3 (PolygonM) nVertices=15, nParts=3
461
+ Bounds:(0,0, 0, 0)
462
+ to (100,100, 0, 28)
463
+ (0,0, 0, 0) Ring
464
+ (0,100, 0, 2)
465
+ (100,100, 0, 4)
466
+ (100,0, 0, 6)
467
+ (0,0, 0, 8)
468
+ + (10,20, 0, 10) Ring
469
+ (30,20, 0, 12)
470
+ (30,40, 0, 14)
471
+ (10,40, 0, 16)
472
+ (10,20, 0, 18)
473
+ + (60,20, 0, 20) Ring
474
+ (90,20, 0, 22)
475
+ (90,40, 0, 24)
476
+ (60,40, 0, 26)
477
+ (60,20, 0, 28)
478
+ -----------------------------------------------------------------------
479
+ Test 2/13
480
+ -----------------------------------------------------------------------
481
+ Shapefile Type: MultiPatch # of Shapes: 4
482
+
483
+ File Bounds: (0,0,0,0)
484
+ to (100,100,27.35,28.45)
485
+
486
+ Shape:0 (MultiPatch) nVertices=5, nParts=1
487
+ Bounds:(1,1, 3.35)
488
+ to (2,2, 7.35)
489
+ (1,1, 3.35) Ring
490
+ (2,1, 4.35)
491
+ (2,2, 5.35)
492
+ (1,2, 6.35)
493
+ (1,1, 7.35)
494
+
495
+ Shape:1 (MultiPatch) nVertices=5, nParts=1
496
+ Bounds:(1,4, 13.35)
497
+ to (2,5, 17.35)
498
+ (1,4, 13.35) Ring
499
+ (2,4, 14.35)
500
+ (2,5, 15.35)
501
+ (1,5, 16.35)
502
+ (1,4, 17.35)
503
+
504
+ Shape:2 (MultiPatch) nVertices=5, nParts=1
505
+ Bounds:(1,7, 23.35)
506
+ to (2,8, 27.35)
507
+ (1,7, 23.35) Ring
508
+ (2,7, 24.35)
509
+ (2,8, 25.35)
510
+ (1,8, 26.35)
511
+ (1,7, 27.35)
512
+
513
+ Shape:3 (MultiPatch) nVertices=15, nParts=3
514
+ Bounds:(0,0, 0)
515
+ to (100,100, 14)
516
+ (0,0, 0) Ring
517
+ (0,100, 1)
518
+ (100,100, 2)
519
+ (100,0, 3)
520
+ (0,0, 4)
521
+ + (10,20, 5) InnerRing
522
+ (30,20, 6)
523
+ (30,40, 7)
524
+ (10,40, 8)
525
+ (10,20, 9)
526
+ + (60,20, 10) InnerRing
527
+ (90,20, 11)
528
+ (90,40, 12)
529
+ (60,40, 13)
530
+ (60,20, 14)