adiwg-mdtranslator 1.0.0rc2 → 1.0.0rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adiwg/mdtranslator/version.rb +1 -1
- metadata +1 -149
- data/test/schemas/v1_0/.gitignore +0 -18
- data/test/schemas/v1_0/.travis.yml +0 -7
- data/test/schemas/v1_0/CREDITS +0 -3
- data/test/schemas/v1_0/Gemfile +0 -4
- data/test/schemas/v1_0/LICENSE +0 -24
- data/test/schemas/v1_0/README.md +0 -36
- data/test/schemas/v1_0/Rakefile +0 -12
- data/test/schemas/v1_0/adiwg-json_schemas.gemspec +0 -25
- data/test/schemas/v1_0/examples/additionalDocumentation.json +0 -61
- data/test/schemas/v1_0/examples/address.json +0 -10
- data/test/schemas/v1_0/examples/associatedResource.json +0 -119
- data/test/schemas/v1_0/examples/citation.json +0 -128
- data/test/schemas/v1_0/examples/contact.json +0 -205
- data/test/schemas/v1_0/examples/contactRef.json +0 -12
- data/test/schemas/v1_0/examples/dataDictionary.json +0 -547
- data/test/schemas/v1_0/examples/dataQuality.json +0 -272
- data/test/schemas/v1_0/examples/date.json +0 -19
- data/test/schemas/v1_0/examples/distributor.json +0 -113
- data/test/schemas/v1_0/examples/extent_linestring.json +0 -288
- data/test/schemas/v1_0/examples/extent_point.json +0 -246
- data/test/schemas/v1_0/examples/extent_polygon.json +0 -353
- data/test/schemas/v1_0/examples/format.json +0 -14
- data/test/schemas/v1_0/examples/full_example.json +0 -2844
- data/test/schemas/v1_0/examples/full_example2.json +0 -2325
- data/test/schemas/v1_0/examples/geojson.json +0 -446
- data/test/schemas/v1_0/examples/graphicOverview.json +0 -28
- data/test/schemas/v1_0/examples/hierarchyLevel.json +0 -90
- data/test/schemas/v1_0/examples/keywords.json +0 -144
- data/test/schemas/v1_0/examples/lcc_project_example.json +0 -326
- data/test/schemas/v1_0/examples/legalConstraints.json +0 -17
- data/test/schemas/v1_0/examples/maintInfo.json +0 -34
- data/test/schemas/v1_0/examples/metadataInfo.json +0 -103
- data/test/schemas/v1_0/examples/minimum_example.json +0 -35
- data/test/schemas/v1_0/examples/onlineResource.json +0 -17
- data/test/schemas/v1_0/examples/resolution.json +0 -9
- data/test/schemas/v1_0/examples/resourceInfo.json +0 -1264
- data/test/schemas/v1_0/examples/resourceMaintenance.json +0 -10
- data/test/schemas/v1_0/examples/securityConstraints.json +0 -13
- data/test/schemas/v1_0/examples/spatialRef.json +0 -14
- data/test/schemas/v1_0/examples/taxonomy.json +0 -197
- data/test/schemas/v1_0/examples/temporalElement.json +0 -29
- data/test/schemas/v1_0/examples/uri.json +0 -16
- data/test/schemas/v1_0/examples/usage.json +0 -35
- data/test/schemas/v1_0/examples/verticalExtent.json +0 -18
- data/test/schemas/v1_0/lib/adiwg-mdjson_schemas.rb +0 -1
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas.rb +0 -7
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/utils.rb +0 -20
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/validator.rb +0 -42
- data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/version.rb +0 -6
- data/test/schemas/v1_0/schema/schema.json +0 -64
- data/test/schemas/v1_0/schema/schema/citation.json +0 -186
- data/test/schemas/v1_0/schema/schema/contact.json +0 -255
- data/test/schemas/v1_0/schema/schema/dataDictionary.json +0 -209
- data/test/schemas/v1_0/schema/schema/dataQuality.json +0 -159
- data/test/schemas/v1_0/schema/schema/distributor.json +0 -171
- data/test/schemas/v1_0/schema/schema/extent.json +0 -214
- data/test/schemas/v1_0/schema/schema/geojson/bbox.json +0 -14
- data/test/schemas/v1_0/schema/schema/geojson/crs.json +0 -99
- data/test/schemas/v1_0/schema/schema/geojson/geojson.json +0 -194
- data/test/schemas/v1_0/schema/schema/geojson/geometry.json +0 -203
- data/test/schemas/v1_0/schema/schema/graphicOverview.json +0 -42
- data/test/schemas/v1_0/schema/schema/keyword.json +0 -39
- data/test/schemas/v1_0/schema/schema/maintInfo.json +0 -43
- data/test/schemas/v1_0/schema/schema/metadata.json +0 -173
- data/test/schemas/v1_0/schema/schema/onlineResource.json +0 -42
- data/test/schemas/v1_0/schema/schema/resolution.json +0 -51
- data/test/schemas/v1_0/schema/schema/resourceConstraint.json +0 -108
- data/test/schemas/v1_0/schema/schema/resourceInfo.json +0 -305
- data/test/schemas/v1_0/schema/schema/taxonomy.json +0 -122
- data/test/schemas/v1_0/schema/schema/usage.json +0 -39
- data/test/schemas/v1_0/templates/mdJson_template.json +0 -1065
- data/test/schemas/v1_0/test/draft-04.json +0 -189
- data/test/schemas/v1_0/test/tc_schemas.rb +0 -210
- data/test/schemas/v1_0/test/tc_utils.rb +0 -27
@@ -1,446 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"type":"FeatureCollection",
|
4
|
-
"id":"multiPt1",
|
5
|
-
"bbox":[
|
6
|
-
-164.88550989974,
|
7
|
-
59.159712874412,
|
8
|
-
-164.86353724349,
|
9
|
-
59.169368826866
|
10
|
-
],
|
11
|
-
"properties":{
|
12
|
-
"name":"A FeatureCollection(points)",
|
13
|
-
"description":"represents GML MultiGeometry"
|
14
|
-
},
|
15
|
-
"crs":{
|
16
|
-
"type":"name",
|
17
|
-
"properties":{
|
18
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
19
|
-
}
|
20
|
-
},
|
21
|
-
"features":[
|
22
|
-
{
|
23
|
-
"type":"Feature",
|
24
|
-
"id":"point010",
|
25
|
-
"properties":{
|
26
|
-
"identifier":[
|
27
|
-
{
|
28
|
-
"identifier":"PNT-12345",
|
29
|
-
"authority":{
|
30
|
-
"title":"Global Terrestrial Network for Permafrost Identifiers",
|
31
|
-
"onlineResource":[
|
32
|
-
{
|
33
|
-
"uri":"http://www.gtnp.org"
|
34
|
-
}
|
35
|
-
]
|
36
|
-
}
|
37
|
-
}
|
38
|
-
],
|
39
|
-
"name":"BS7882",
|
40
|
-
"description":"point valid on or after a specific date",
|
41
|
-
"date":"2011-09-15"
|
42
|
-
},
|
43
|
-
"geometry":{
|
44
|
-
"type":"Point",
|
45
|
-
"coordinates":[
|
46
|
-
-164.88550989974,
|
47
|
-
59.179712874412
|
48
|
-
]
|
49
|
-
}
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"type":"Feature",
|
53
|
-
"id":"point012",
|
54
|
-
"properties":{
|
55
|
-
"description":"point valid on or after a specific date",
|
56
|
-
"timeInstant":[
|
57
|
-
{
|
58
|
-
"description":"ground condition",
|
59
|
-
"timePosition":"2012-07-15T08:05:00-09:00"
|
60
|
-
}
|
61
|
-
]
|
62
|
-
},
|
63
|
-
"geometry":{
|
64
|
-
"type":"Point",
|
65
|
-
"coordinates":[
|
66
|
-
-164.87550989974,
|
67
|
-
59.209712874412
|
68
|
-
]
|
69
|
-
}
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"type":"Feature",
|
73
|
-
"id":"point013",
|
74
|
-
"properties":{
|
75
|
-
"description":"point valid over a time period",
|
76
|
-
"temporalElement":{
|
77
|
-
"timePeriod":[
|
78
|
-
{
|
79
|
-
"beginPosition":"2013-08-24T08:05:00",
|
80
|
-
"endPosition":"2013-10-04"
|
81
|
-
}
|
82
|
-
]
|
83
|
-
}
|
84
|
-
},
|
85
|
-
"geometry":{
|
86
|
-
"type":"Point",
|
87
|
-
"coordinates":[
|
88
|
-
-164.89650989974,
|
89
|
-
59.249712874412
|
90
|
-
]
|
91
|
-
}
|
92
|
-
}
|
93
|
-
]
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"type":"Feature",
|
97
|
-
"bbox":[
|
98
|
-
-164.88550989974,
|
99
|
-
59.159712874412,
|
100
|
-
-164.86353724349,
|
101
|
-
59.169368826866
|
102
|
-
],
|
103
|
-
"id":"pointlist1",
|
104
|
-
"properties":{
|
105
|
-
"name":"Fishin' spots",
|
106
|
-
"description":"These points have shared attributes",
|
107
|
-
"includesData":true
|
108
|
-
},
|
109
|
-
"geometry":{
|
110
|
-
"type":"MultiPoint",
|
111
|
-
"coordinates":[
|
112
|
-
[
|
113
|
-
-164.87402357161,
|
114
|
-
59.165040850639
|
115
|
-
],
|
116
|
-
[
|
117
|
-
-164.87502357161,
|
118
|
-
59.164040850639
|
119
|
-
],
|
120
|
-
[
|
121
|
-
-164.88387053359,
|
122
|
-
59.161207759012
|
123
|
-
]
|
124
|
-
]
|
125
|
-
},
|
126
|
-
"crs":{
|
127
|
-
"type":"name",
|
128
|
-
"properties":{
|
129
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
130
|
-
}
|
131
|
-
}
|
132
|
-
},
|
133
|
-
{
|
134
|
-
"type":"Feature",
|
135
|
-
"id":"point1",
|
136
|
-
"properties":{
|
137
|
-
"identifier":[
|
138
|
-
{
|
139
|
-
"identifier":"PNT-12345",
|
140
|
-
"authority":{
|
141
|
-
"title":"Global Terrestrial Network for Permafrost Identifiers",
|
142
|
-
"onlineResource":[
|
143
|
-
{
|
144
|
-
"uri":"http://www.gtnp.org"
|
145
|
-
}
|
146
|
-
]
|
147
|
-
}
|
148
|
-
}
|
149
|
-
],
|
150
|
-
"name":"BS7882",
|
151
|
-
"description":"Sea buoy BS7882 location"
|
152
|
-
},
|
153
|
-
"geometry":{
|
154
|
-
"type":"Point",
|
155
|
-
"coordinates":[
|
156
|
-
-164.87402357161,
|
157
|
-
59.165040850639
|
158
|
-
]
|
159
|
-
},
|
160
|
-
"crs":{
|
161
|
-
"type":"name",
|
162
|
-
"properties":{
|
163
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
164
|
-
}
|
165
|
-
}
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"type":"Feature",
|
169
|
-
"id":"point100",
|
170
|
-
"properties":{
|
171
|
-
"identifier":[
|
172
|
-
{
|
173
|
-
"identifier":"PNT-12346",
|
174
|
-
"authority":{
|
175
|
-
"title":"Global Terrestrial Network for Permafrost Identifiers",
|
176
|
-
"onlineResource":[
|
177
|
-
{
|
178
|
-
"uri":"http://www.gtnp.org"
|
179
|
-
}
|
180
|
-
]
|
181
|
-
}
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"name":"BS999",
|
185
|
-
"description":"Sea buoy BS999 location"
|
186
|
-
},
|
187
|
-
"geometry":{
|
188
|
-
"type":"Point",
|
189
|
-
"coordinates":[
|
190
|
-
-164.87302357161,
|
191
|
-
59.145040850639
|
192
|
-
]
|
193
|
-
},
|
194
|
-
"crs":{
|
195
|
-
"type":"name",
|
196
|
-
"properties":{
|
197
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
198
|
-
}
|
199
|
-
}
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"type":"FeatureCollection",
|
203
|
-
"id":"multiline1",
|
204
|
-
"bbox":[
|
205
|
-
-157.07025098484,
|
206
|
-
70.022012234173,
|
207
|
-
35.2,
|
208
|
-
-150.76174075893,
|
209
|
-
71.109331363597,
|
210
|
-
125.8
|
211
|
-
],
|
212
|
-
"properties":{
|
213
|
-
"name":"A FeatureCollection(lines)",
|
214
|
-
"description":"represents GML MultiGeometry"
|
215
|
-
},
|
216
|
-
"crs":{
|
217
|
-
"type":"name",
|
218
|
-
"properties":{
|
219
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
220
|
-
}
|
221
|
-
},
|
222
|
-
"features":[
|
223
|
-
{
|
224
|
-
"type":"Feature",
|
225
|
-
"id":"multiLine001",
|
226
|
-
"properties":{
|
227
|
-
"name":"Josh",
|
228
|
-
"description":"First line in multiline object",
|
229
|
-
"date":"2011-09-15"
|
230
|
-
},
|
231
|
-
"geometry":{
|
232
|
-
"type":"LineString",
|
233
|
-
"coordinates":[
|
234
|
-
[
|
235
|
-
-157.0702509848438,
|
236
|
-
71.10933136359692,
|
237
|
-
35.2
|
238
|
-
],
|
239
|
-
[
|
240
|
-
-154.6526281903968,
|
241
|
-
70.40820968995817,
|
242
|
-
68.1
|
243
|
-
],
|
244
|
-
[
|
245
|
-
-150.7617407589279,
|
246
|
-
70.02201223417278,
|
247
|
-
84.7
|
248
|
-
],
|
249
|
-
[
|
250
|
-
-150.8371960238169,
|
251
|
-
70.43210058905156,
|
252
|
-
125.8
|
253
|
-
],
|
254
|
-
[
|
255
|
-
-152.2049884417053,
|
256
|
-
70.87235618158296,
|
257
|
-
116.0
|
258
|
-
]
|
259
|
-
]
|
260
|
-
}
|
261
|
-
},
|
262
|
-
{
|
263
|
-
"type":"Feature",
|
264
|
-
"id":"multiLine001",
|
265
|
-
"properties":{
|
266
|
-
"name":"Chris",
|
267
|
-
"description":"Second line in multiline object"
|
268
|
-
},
|
269
|
-
"geometry":{
|
270
|
-
"type":"LineString",
|
271
|
-
"coordinates":[
|
272
|
-
[
|
273
|
-
-154.5708878990441,
|
274
|
-
71.04082324476376,
|
275
|
-
36.9
|
276
|
-
],
|
277
|
-
[
|
278
|
-
-150.7617407589279,
|
279
|
-
70.02201223417278,
|
280
|
-
84.7
|
281
|
-
],
|
282
|
-
[
|
283
|
-
-154.6526281903968,
|
284
|
-
70.40820968995817,
|
285
|
-
68.1
|
286
|
-
],
|
287
|
-
[
|
288
|
-
-157.0702509848438,
|
289
|
-
71.10933136359692,
|
290
|
-
35.2
|
291
|
-
]
|
292
|
-
]
|
293
|
-
}
|
294
|
-
},
|
295
|
-
{
|
296
|
-
"type":"Feature",
|
297
|
-
"id":"multiLine003",
|
298
|
-
"properties":{
|
299
|
-
"name":"Allison",
|
300
|
-
"description":"Third line in multiline object"
|
301
|
-
},
|
302
|
-
"geometry":{
|
303
|
-
"type":"LineString",
|
304
|
-
"coordinates":[
|
305
|
-
[
|
306
|
-
-150.7617407589279,
|
307
|
-
70.02201223417278,
|
308
|
-
84.7
|
309
|
-
],
|
310
|
-
[
|
311
|
-
-154.6526281903968,
|
312
|
-
70.40820968995817,
|
313
|
-
68.1
|
314
|
-
]
|
315
|
-
]
|
316
|
-
}
|
317
|
-
}
|
318
|
-
]
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"type":"FeatureCollection",
|
322
|
-
"id":"unique2",
|
323
|
-
"bbox":[
|
324
|
-
-149.89603182812,
|
325
|
-
61.215716023773,
|
326
|
-
-149.87405917187,
|
327
|
-
61.225371976227
|
328
|
-
],
|
329
|
-
"properties":{
|
330
|
-
"name":"A FeatureCollection(polygons)",
|
331
|
-
"description":"represents GML MultiGeometry",
|
332
|
-
"includesData":true
|
333
|
-
},
|
334
|
-
"crs":{
|
335
|
-
"type":"name",
|
336
|
-
"properties":{
|
337
|
-
"name":"urn:ogc:def:crs:OGC:1.3:CRS84"
|
338
|
-
}
|
339
|
-
},
|
340
|
-
"features":[
|
341
|
-
{
|
342
|
-
"type":"Feature",
|
343
|
-
"id":"unique3",
|
344
|
-
"geometry":{
|
345
|
-
"type":"Polygon",
|
346
|
-
"coordinates":[
|
347
|
-
[
|
348
|
-
[
|
349
|
-
-149.880796,
|
350
|
-
61.21988
|
351
|
-
],
|
352
|
-
[
|
353
|
-
-149.880625,
|
354
|
-
61.221305
|
355
|
-
],
|
356
|
-
[
|
357
|
-
-149.889386,
|
358
|
-
61.221346
|
359
|
-
],
|
360
|
-
[
|
361
|
-
-149.880796,
|
362
|
-
61.21988
|
363
|
-
]
|
364
|
-
],
|
365
|
-
[
|
366
|
-
[
|
367
|
-
-149.8807,
|
368
|
-
61.21990
|
369
|
-
],
|
370
|
-
[
|
371
|
-
-149.880627,
|
372
|
-
61.221300
|
373
|
-
],
|
374
|
-
[
|
375
|
-
-149.8809,
|
376
|
-
61.221300
|
377
|
-
],
|
378
|
-
[
|
379
|
-
-149.8807,
|
380
|
-
61.21990
|
381
|
-
]
|
382
|
-
],
|
383
|
-
[
|
384
|
-
[
|
385
|
-
-149.889300,
|
386
|
-
61.221300
|
387
|
-
],
|
388
|
-
[
|
389
|
-
-149.889382,
|
390
|
-
61.221345
|
391
|
-
],
|
392
|
-
[
|
393
|
-
-149.889382,
|
394
|
-
61.221445
|
395
|
-
],
|
396
|
-
[
|
397
|
-
-149.889300,
|
398
|
-
61.221300
|
399
|
-
]
|
400
|
-
]
|
401
|
-
]
|
402
|
-
},
|
403
|
-
"properties":{
|
404
|
-
"name":"Buttress Park sampling location",
|
405
|
-
"description":"Boundary of area in downtown Anchorage where sampling occurred"
|
406
|
-
}
|
407
|
-
},
|
408
|
-
{
|
409
|
-
"type":"Feature",
|
410
|
-
"id":"unique4",
|
411
|
-
"geometry":{
|
412
|
-
"type":"Polygon",
|
413
|
-
"coordinates":[
|
414
|
-
[
|
415
|
-
[
|
416
|
-
-149.888221,
|
417
|
-
61.219643
|
418
|
-
],
|
419
|
-
[
|
420
|
-
-149.889466,
|
421
|
-
61.219643
|
422
|
-
],
|
423
|
-
[
|
424
|
-
-149.889251,
|
425
|
-
61.219973
|
426
|
-
],
|
427
|
-
[
|
428
|
-
-149.887835,
|
429
|
-
61.219952
|
430
|
-
],
|
431
|
-
[
|
432
|
-
-149.888221,
|
433
|
-
61.219643
|
434
|
-
]
|
435
|
-
]
|
436
|
-
]
|
437
|
-
},
|
438
|
-
"properties":{
|
439
|
-
"includesData":false,
|
440
|
-
"name":"Equipment staging area",
|
441
|
-
"description":"Area where sampling equipment was stored, no sampling occurred (Note:includesData should be ignored here. Would need to move this feature into another geographicElement.)"
|
442
|
-
}
|
443
|
-
}
|
444
|
-
]
|
445
|
-
}
|
446
|
-
]
|
@@ -1,28 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"fileName": "fileName",
|
4
|
-
"fileDescription": "fileDescription",
|
5
|
-
"fileType": "fileType",
|
6
|
-
"fileUri": "http://thisisanexample.com"
|
7
|
-
}, {
|
8
|
-
"fileName": "allRecs_callCounts_bowhead_2010.jpg",
|
9
|
-
"fileDescription": "This image is a spectraplot visualizing the density of Bowhead whale calls in the Northeast Chukchi Sea, AMAR recorder locations, and industry lease areas.",
|
10
|
-
"fileType": "JPEG",
|
11
|
-
"fileUri": "http://www.workspace.aoos.org/files/28354/ACOUST_SND_CLIP_2008_11_Ed3.csv"
|
12
|
-
}, {
|
13
|
-
"fileName": "cross_section_perc_sommer_2010.png",
|
14
|
-
"fileDescription": ".",
|
15
|
-
"fileLink": "https://www.workspace.aoos.org/files/28349/ACOUST_AMBT_NOISE_2007_11_Ed3.csv"
|
16
|
-
}, {
|
17
|
-
"fileName": "pln40_perc_2010_01.png",
|
18
|
-
"fileType": "PNG",
|
19
|
-
"fileLink": "http://workspace.aoos.org/files/28344/ACOUST_MMP_2009_11_Ed3.csv"
|
20
|
-
}, {
|
21
|
-
"fileName": "pln40_spec_summer_2010.png",
|
22
|
-
"fileLink": "http://workspace.aoos.org/files/28339/ACOUST_ACQ_2009_11_Ed3.csv"
|
23
|
-
}, {
|
24
|
-
"fileName": "pln40_spec_summer_2010.png"
|
25
|
-
}
|
26
|
-
]
|
27
|
-
|
28
|
-
|