adiwg-mdtranslator 0.12.1 → 1.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.gitmodules +3 -3
  4. data/Rakefile +1 -1
  5. data/adiwg-mdtranslator.gemspec +3 -3
  6. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +5 -1
  7. data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_validator.rb +2 -2
  8. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entity.rb +9 -0
  9. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityAttribute.rb +9 -0
  10. data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_mdJson.rb +7 -2
  11. data/lib/adiwg/mdtranslator/readers/mdJson/readme.md +2 -2
  12. data/lib/adiwg/mdtranslator/version.rb +5 -1
  13. data/lib/adiwg/mdtranslator/writers/html/html_writer.rb +43 -0
  14. data/lib/adiwg/mdtranslator/writers/html/md_html_writer.rb +25 -0
  15. data/lib/adiwg/mdtranslator/writers/html/readme.md +10 -0
  16. data/lib/adiwg/mdtranslator/writers/iso/classes/class_aggregateInformation.rb +3 -3
  17. data/lib/adiwg/mdtranslator/writers/iso/classes/class_boundingPolygon.rb +4 -4
  18. data/lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb +4 -4
  19. data/lib/adiwg/mdtranslator/writers/iso/classes/class_contact.rb +3 -3
  20. data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataIdentification.rb +17 -17
  21. data/lib/adiwg/mdtranslator/writers/iso/classes/class_dataQuality.rb +2 -2
  22. data/lib/adiwg/mdtranslator/writers/iso/classes/class_date.rb +1 -1
  23. data/lib/adiwg/mdtranslator/writers/iso/classes/class_digitalTransferOptions.rb +2 -2
  24. data/lib/adiwg/mdtranslator/writers/iso/classes/class_distribution.rb +1 -1
  25. data/lib/adiwg/mdtranslator/writers/iso/classes/class_distributor.rb +4 -4
  26. data/lib/adiwg/mdtranslator/writers/iso/classes/class_extent.rb +4 -4
  27. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb +3 -3
  28. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb +11 -2
  29. data/lib/adiwg/mdtranslator/writers/iso/classes/class_genericMetaData.rb +2 -2
  30. data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb +1 -1
  31. data/lib/adiwg/mdtranslator/writers/iso/classes/class_geographicElement.rb +2 -2
  32. data/lib/adiwg/mdtranslator/writers/iso/classes/class_identifier.rb +1 -1
  33. data/lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb +2 -2
  34. data/lib/adiwg/mdtranslator/writers/iso/classes/class_legalConstraints.rb +1 -1
  35. data/lib/adiwg/mdtranslator/writers/iso/classes/class_lineage.rb +2 -2
  36. data/lib/adiwg/mdtranslator/writers/iso/classes/class_maintenanceInformation.rb +2 -2
  37. data/lib/adiwg/mdtranslator/writers/iso/classes/class_medium.rb +2 -2
  38. data/lib/adiwg/mdtranslator/writers/iso/classes/class_metadataExtension.rb +4 -4
  39. data/lib/adiwg/mdtranslator/writers/iso/classes/class_multiGeometry.rb +3 -3
  40. data/lib/adiwg/mdtranslator/writers/iso/classes/class_onlineResource.rb +1 -1
  41. data/lib/adiwg/mdtranslator/writers/iso/classes/class_processStep.rb +1 -1
  42. data/lib/adiwg/mdtranslator/writers/iso/classes/class_referenceSystem.rb +1 -1
  43. data/lib/adiwg/mdtranslator/writers/iso/classes/class_responsibleParty.rb +2 -2
  44. data/lib/adiwg/mdtranslator/writers/iso/classes/class_securityConstraints.rb +1 -1
  45. data/lib/adiwg/mdtranslator/writers/iso/classes/class_source.rb +2 -2
  46. data/lib/adiwg/mdtranslator/writers/iso/classes/class_taxonSystem.rb +4 -4
  47. data/lib/adiwg/mdtranslator/writers/iso/classes/class_temporalExtent.rb +2 -2
  48. data/lib/adiwg/mdtranslator/writers/iso/classes/class_usage.rb +1 -1
  49. data/lib/adiwg/mdtranslator/writers/iso/classes/class_vouchers.rb +1 -1
  50. data/lib/adiwg/mdtranslator/writers/iso19110/class_FCfeatureCatalogue.rb +159 -147
  51. data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +17 -23
  52. data/lib/adiwg/mdtranslator/writers/iso19115_2/class_MImetadata.rb +11 -10
  53. data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +97 -103
  54. data/lib/adiwg/mdtranslator/writers/mdWriters.rb +1 -11
  55. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_additionalDocumentation.rb +4 -4
  56. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_address.rb +3 -3
  57. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_associatedResource.rb +4 -4
  58. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_browseGraphic.rb +3 -3
  59. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_citation.rb +4 -4
  60. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_contact.rb +4 -4
  61. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_dictionaryInfo.rb +4 -4
  62. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_domain.rb +4 -4
  63. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_onlineResource.rb +3 -3
  64. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_phone.rb +3 -3
  65. data/test/readers/mdJson/{v0_9 → v1_0}/tc_reader_mdjson_responsibleParty.rb +3 -3
  66. data/test/readers/mdJson/{v0_9 → v1_0}/tc_translation.rb +4 -4
  67. data/test/schemas/v1_0/.gitignore +18 -0
  68. data/test/schemas/v1_0/.travis.yml +7 -0
  69. data/test/schemas/v1_0/CREDITS +3 -0
  70. data/test/schemas/v1_0/Gemfile +4 -0
  71. data/test/schemas/v1_0/LICENSE +24 -0
  72. data/test/schemas/v1_0/README.md +36 -0
  73. data/test/schemas/v1_0/Rakefile +12 -0
  74. data/test/schemas/v1_0/adiwg-json_schemas.gemspec +25 -0
  75. data/test/schemas/v1_0/examples/additionalDocumentation.json +61 -0
  76. data/test/schemas/v1_0/examples/address.json +10 -0
  77. data/test/schemas/v1_0/examples/associatedResource.json +119 -0
  78. data/test/schemas/v1_0/examples/citation.json +128 -0
  79. data/test/schemas/v1_0/examples/contact.json +205 -0
  80. data/test/schemas/v1_0/examples/contactRef.json +12 -0
  81. data/test/schemas/v1_0/examples/dataDictionary.json +547 -0
  82. data/test/schemas/v1_0/examples/dataQuality.json +272 -0
  83. data/test/schemas/v1_0/examples/date.json +19 -0
  84. data/test/schemas/v1_0/examples/distributor.json +113 -0
  85. data/test/schemas/v1_0/examples/extent_linestring.json +288 -0
  86. data/test/schemas/v1_0/examples/extent_point.json +246 -0
  87. data/test/schemas/v1_0/examples/extent_polygon.json +353 -0
  88. data/test/schemas/v1_0/examples/format.json +14 -0
  89. data/test/schemas/v1_0/examples/full_example.json +2844 -0
  90. data/test/schemas/v1_0/examples/full_example2.json +2325 -0
  91. data/test/schemas/v1_0/examples/geojson.json +446 -0
  92. data/test/schemas/v1_0/examples/graphicOverview.json +28 -0
  93. data/test/schemas/v1_0/examples/hierarchyLevel.json +90 -0
  94. data/test/schemas/v1_0/examples/keywords.json +144 -0
  95. data/test/schemas/v1_0/examples/lcc_project_example.json +326 -0
  96. data/test/schemas/v1_0/examples/legalConstraints.json +17 -0
  97. data/test/schemas/v1_0/examples/maintInfo.json +34 -0
  98. data/test/schemas/v1_0/examples/metadataInfo.json +103 -0
  99. data/test/schemas/v1_0/examples/minimum_example.json +35 -0
  100. data/test/schemas/v1_0/examples/onlineResource.json +17 -0
  101. data/test/schemas/v1_0/examples/resolution.json +9 -0
  102. data/test/schemas/v1_0/examples/resourceInfo.json +1264 -0
  103. data/test/schemas/v1_0/examples/resourceMaintenance.json +10 -0
  104. data/test/schemas/v1_0/examples/securityConstraints.json +13 -0
  105. data/test/schemas/v1_0/examples/spatialRef.json +14 -0
  106. data/test/schemas/v1_0/examples/taxonomy.json +197 -0
  107. data/test/schemas/v1_0/examples/temporalElement.json +29 -0
  108. data/test/schemas/v1_0/examples/uri.json +16 -0
  109. data/test/schemas/v1_0/examples/usage.json +35 -0
  110. data/test/schemas/v1_0/examples/verticalExtent.json +18 -0
  111. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/utils.rb +20 -0
  112. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/validator.rb +42 -0
  113. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas/version.rb +6 -0
  114. data/test/schemas/v1_0/lib/adiwg/mdjson_schemas.rb +7 -0
  115. data/test/schemas/v1_0/lib/adiwg-mdjson_schemas.rb +1 -0
  116. data/test/schemas/v1_0/schema/schema/citation.json +186 -0
  117. data/test/schemas/v1_0/schema/schema/contact.json +255 -0
  118. data/test/schemas/v1_0/schema/schema/dataDictionary.json +209 -0
  119. data/test/schemas/v1_0/schema/schema/dataQuality.json +159 -0
  120. data/test/schemas/v1_0/schema/schema/distributor.json +171 -0
  121. data/test/schemas/v1_0/schema/schema/extent.json +214 -0
  122. data/test/schemas/v1_0/schema/schema/geojson/bbox.json +14 -0
  123. data/test/schemas/v1_0/schema/schema/geojson/crs.json +99 -0
  124. data/test/schemas/v1_0/schema/schema/geojson/geojson.json +194 -0
  125. data/test/schemas/v1_0/schema/schema/geojson/geometry.json +203 -0
  126. data/test/schemas/v1_0/schema/schema/graphicOverview.json +42 -0
  127. data/test/schemas/v1_0/schema/schema/keyword.json +39 -0
  128. data/test/schemas/v1_0/schema/schema/maintInfo.json +43 -0
  129. data/test/schemas/v1_0/schema/schema/metadata.json +173 -0
  130. data/test/schemas/v1_0/schema/schema/onlineResource.json +42 -0
  131. data/test/schemas/v1_0/schema/schema/resolution.json +51 -0
  132. data/test/schemas/v1_0/schema/schema/resourceConstraint.json +108 -0
  133. data/test/schemas/v1_0/schema/schema/resourceInfo.json +305 -0
  134. data/test/schemas/v1_0/schema/schema/taxonomy.json +122 -0
  135. data/test/schemas/v1_0/schema/schema/usage.json +39 -0
  136. data/test/schemas/v1_0/schema/schema.json +64 -0
  137. data/test/schemas/v1_0/templates/mdJson_template.json +1065 -0
  138. data/test/schemas/v1_0/test/draft-04.json +189 -0
  139. data/test/schemas/v1_0/test/tc_schemas.rb +210 -0
  140. data/test/schemas/v1_0/test/tc_utils.rb +27 -0
  141. metadata +241 -90
  142. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_additionalDocumentation.rb +0 -0
  143. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_address.rb +0 -0
  144. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_associatedResource.rb +0 -0
  145. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_boundingBox.rb +0 -0
  146. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_browseGraphic.rb +0 -0
  147. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_citation.rb +0 -0
  148. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_contacts.rb +0 -0
  149. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_coordinates.rb +0 -0
  150. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataDictionary.rb +0 -0
  151. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dataQuality.rb +0 -0
  152. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dateTime.rb +0 -0
  153. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_descriptiveKeyword.rb +0 -0
  154. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_dictionaryInfo.rb +0 -0
  155. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_distributionInfo.rb +0 -0
  156. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domain.rb +0 -0
  157. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_domainItem.rb +0 -0
  158. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityForeignKey.rb +0 -0
  159. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_entityIndex.rb +0 -0
  160. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_extent.rb +0 -0
  161. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoCoordSystem.rb +0 -0
  162. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geoProperties.rb +0 -0
  163. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_geographicElement.rb +0 -0
  164. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_legalConstraint.rb +0 -0
  165. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineString.rb +0 -0
  166. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_lineage.rb +0 -0
  167. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadata.rb +0 -0
  168. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataExtension.rb +0 -0
  169. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_metadataInfo.rb +0 -0
  170. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_onlineResource.rb +0 -0
  171. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_phone.rb +0 -0
  172. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_point.rb +0 -0
  173. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_polygon.rb +0 -0
  174. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_processStep.rb +0 -0
  175. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resolution.rb +0 -0
  176. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceFormat.rb +0 -0
  177. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceIdentifier.rb +0 -0
  178. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceInfo.rb +0 -0
  179. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceMaintenance.rb +0 -0
  180. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_resourceSpecificUsage.rb +0 -0
  181. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_responsibleParty.rb +0 -0
  182. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_securityConstraint.rb +0 -0
  183. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_source.rb +0 -0
  184. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_spatialReference.rb +0 -0
  185. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonClass.rb +0 -0
  186. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_taxonomy.rb +0 -0
  187. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_temporalElement.rb +0 -0
  188. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timeInstant.rb +0 -0
  189. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_timePeriod.rb +0 -0
  190. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_verticalElement.rb +0 -0
  191. /data/lib/adiwg/mdtranslator/readers/mdJson/{modules_0.9 → modules_1.0}/module_voucher.rb +0 -0
@@ -0,0 +1,246 @@
1
+ [
2
+ {
3
+ "description":"Single Points, multiple elements",
4
+ "geographicElement":[
5
+ {
6
+ "type":"Feature",
7
+ "id":"point1",
8
+ "properties":{
9
+ "name":"BS7882",
10
+ "description":"Borehole BS7882 location",
11
+ "identifier":[
12
+ {
13
+ "identifier":"US 01",
14
+ "authority":{
15
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
16
+ "responsibleParty":[
17
+ {
18
+ "contactId":"8",
19
+ "role":"originator"
20
+ }
21
+ ],
22
+ "onlineResource":[
23
+ {
24
+ "uri":"http://www.gtnp.org"
25
+ }
26
+ ]
27
+ }
28
+ },
29
+ {
30
+ "identifier":"ATI",
31
+ "authority":{
32
+ "title":"US Geological Survey borehole identifier",
33
+ "responsibleParty":[
34
+ {
35
+ "contactId":"3",
36
+ "role":"originator"
37
+ }
38
+ ],
39
+ "onlineResource":[
40
+ {
41
+ "uri":"http://data.usgs.gov/climateMonitoring/region/show?region=alaska"
42
+ }
43
+ ]
44
+ }
45
+ }
46
+ ]
47
+ },
48
+ "geometry":{
49
+ "type":"Point",
50
+ "coordinates":[
51
+ -164.87402357161,
52
+ 59.165040850639
53
+ ]
54
+ },
55
+ "crs":{
56
+ "type":"name",
57
+ "properties":{
58
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "type":"Feature",
64
+ "id":"point100",
65
+ "properties":{
66
+ "identifier":[
67
+ {
68
+ "identifier":"PNT-12346",
69
+ "authority":{
70
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
71
+ "onlineResource":[
72
+ {
73
+ "uri":"http://www.gtnp.org"
74
+ }
75
+ ]
76
+ }
77
+ }
78
+ ],
79
+ "name":"BS999",
80
+ "description":"Sea buoy BS999 location"
81
+ },
82
+ "geometry":{
83
+ "type":"Point",
84
+ "coordinates":[
85
+ -164.87302357161,
86
+ 59.145040850639
87
+ ]
88
+ },
89
+ "crs":{
90
+ "type":"name",
91
+ "properties":{
92
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
93
+ }
94
+ }
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "description":"List of Points",
100
+ "geographicElement":[
101
+ {
102
+ "type":"Feature",
103
+ "bbox":[
104
+ -164.88550989974,
105
+ 59.159712874412,
106
+ -164.86353724349,
107
+ 59.169368826866
108
+ ],
109
+ "id":"pointlist1",
110
+ "properties":{
111
+ "name":"Fishin' spots",
112
+ "description":"These points have shared attributes",
113
+ "includesData":true
114
+ },
115
+ "geometry":{
116
+ "type":"MultiPoint",
117
+ "coordinates":[
118
+ [
119
+ -164.87402357161,
120
+ 59.165040850639
121
+ ],
122
+ [
123
+ -164.87502357161,
124
+ 59.164040850639
125
+ ],
126
+ [
127
+ -164.88387053359,
128
+ 59.161207759012
129
+ ]
130
+ ]
131
+ },
132
+ "crs":{
133
+ "type":"name",
134
+ "properties":{
135
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
136
+ }
137
+ }
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "description":"List of Points with attributes",
143
+ "geographicElement":[
144
+ {
145
+ "type":"FeatureCollection",
146
+ "id":"multiPt1",
147
+ "bbox":[
148
+ -164.88550989974,
149
+ 59.159712874412,
150
+ -164.86353724349,
151
+ 59.169368826866
152
+ ],
153
+ "properties":{
154
+ "name":"A FeatureCollection(points)",
155
+ "description":"represents GML MultiGeometry"
156
+ },
157
+ "crs":{
158
+ "type":"name",
159
+ "properties":{
160
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
161
+ }
162
+ },
163
+ "features":[
164
+ {
165
+ "type":"Feature",
166
+ "id":"point010",
167
+ "properties":{
168
+ "identifier":[
169
+ {
170
+ "identifier":"PNT-12345",
171
+ "authority":{
172
+ "title":"Global Terrestrial Network for Permafrost Identifiers",
173
+ "onlineResource":[
174
+ {
175
+ "uri":"http://www.gtnp.org"
176
+ }
177
+ ]
178
+ }
179
+ }
180
+ ],
181
+ "name":"BS7882",
182
+ "description":"point valid on or after a specific date",
183
+ "temporalElement":{
184
+ "date":[
185
+ "2011-09-15",
186
+ "2012-08-14"
187
+ ]
188
+ }
189
+ },
190
+ "geometry":{
191
+ "type":"Point",
192
+ "coordinates":[
193
+ -164.88550989974,
194
+ 59.179712874412
195
+ ]
196
+ }
197
+ },
198
+ {
199
+ "type":"Feature",
200
+ "id":"point012",
201
+ "properties":{
202
+ "description":"point valid on or after a specific date",
203
+ "temporalElement":{
204
+ "timeInstant":[
205
+ {
206
+ "description":"ground condition",
207
+ "timePosition":"2012-07-15T08:05:00-09:00"
208
+ }
209
+ ]
210
+ }
211
+ },
212
+ "geometry":{
213
+ "type":"Point",
214
+ "coordinates":[
215
+ -164.87550989974,
216
+ 59.209712874412
217
+ ]
218
+ }
219
+ },
220
+ {
221
+ "type":"Feature",
222
+ "id":"point013",
223
+ "properties":{
224
+ "description":"point valid over a time period",
225
+ "temporalElement":{
226
+ "timePeriod":[
227
+ {
228
+ "beginPosition":"2013-08-24T08:05:00",
229
+ "endPosition":"2013-10-04"
230
+ }
231
+ ]
232
+ }
233
+ },
234
+ "geometry":{
235
+ "type":"Point",
236
+ "coordinates":[
237
+ -164.89650989974,
238
+ 59.249712874412
239
+ ]
240
+ }
241
+ }
242
+ ]
243
+ }
244
+ ]
245
+ }
246
+ ]
@@ -0,0 +1,353 @@
1
+ [
2
+ {
3
+ "description":"BBOX only",
4
+ "geographicElement":[
5
+ {
6
+ "type":"Feature",
7
+ "bbox":[
8
+ -148.1764,
9
+ 57.01428,
10
+ -132.821,
11
+ 60.917
12
+ ],
13
+ "geometry":null,
14
+ "properties":{
15
+ "includesData":true,
16
+ "description":"Gulf of Alaska"
17
+ },
18
+ "crs":{
19
+ "type":"link",
20
+ "properties":{
21
+ "href":"http://spatialreference.org/ref/epsg/4326/proj4/",
22
+ "type":"proj4"
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "temporalElement":{
28
+ "timeInstant":[
29
+ {
30
+ "id":"ti-001",
31
+ "description":"ground condition",
32
+ "timePosition":"2012-07-15T08:05:00.0+09:00"
33
+ }
34
+ ]
35
+ },
36
+ "verticalElement":[
37
+ {
38
+ "minimumValue":-500,
39
+ "maximumValue":0,
40
+ "verticalCRSTitle":"NAVD88 depth",
41
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "description":"Polygon with BBOX",
47
+ "geographicElement":[
48
+ {
49
+ "type":"Feature",
50
+ "id":"unique1",
51
+ "bbox":[
52
+ -148.1764,
53
+ 57.01428,
54
+ -132.821,
55
+ 60.917
56
+ ],
57
+ "geometry":{
58
+ "type":"Polygon",
59
+ "coordinates":[
60
+ [
61
+ [
62
+ -139.388046,
63
+ 59.828561
64
+ ],
65
+ [
66
+ -140.882186,
67
+ 59.839602
68
+ ],
69
+ [
70
+ -143.101425,
71
+ 60.22375
72
+ ],
73
+ [
74
+ -147.056503,
75
+ 60.829147
76
+ ],
77
+ [
78
+ -148.902206,
79
+ 59.982807
80
+ ],
81
+ [
82
+ -148.792343,
83
+ 57.944338
84
+ ],
85
+ [
86
+ -134.576034,
87
+ 57.663361
88
+ ]
89
+ ]
90
+ ]
91
+ },
92
+ "properties":{
93
+ "includesData":true,
94
+ "description":"Gulf of Alaska"
95
+ },
96
+ "crs":{
97
+ "type":"name",
98
+ "properties":{
99
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
100
+ }
101
+ }
102
+ },
103
+ {
104
+ "type":"Feature",
105
+ "id":"unique101",
106
+ "bbox":[
107
+ -97.067240989074,
108
+ 18.556394455134,
109
+ -80.807475364074,
110
+ 29.366941330134
111
+ ],
112
+ "geometry":{
113
+ "type":"Polygon",
114
+ "coordinates":[
115
+ [
116
+ [
117
+ -84.059428489074,
118
+ 29.366941330134
119
+ ],
120
+ [
121
+ -97.067240989074,
122
+ 28.048581955134
123
+ ],
124
+ [
125
+ -95.397319114074,
126
+ 18.556394455134
127
+ ],
128
+ [
129
+ -80.895365989074,
130
+ 24.620847580134
131
+ ],
132
+ [
133
+ -80.807475364074,
134
+ 24.708738205134
135
+ ],
136
+ [
137
+ -84.059428489074,
138
+ 29.366941330134
139
+ ]
140
+ ]
141
+ ]
142
+ },
143
+ "properties":{
144
+ "includesData":false,
145
+ "description":"Gulf of Mexico",
146
+ "text":"Whatever I want."
147
+ },
148
+ "crs":{
149
+ "type":"name",
150
+ "properties":{
151
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
152
+ }
153
+ }
154
+ }
155
+ ],
156
+ "temporalElement":{
157
+ "timePeriod":[
158
+ {
159
+ "id":"tp-001",
160
+ "description":"Ground Condition",
161
+ "beginPosition":"1987-05-16T16:05:00",
162
+ "endPosition":"2011-12"
163
+ },
164
+ {
165
+ "id":"tp-101",
166
+ "description":"Below Ground Condition",
167
+ "beginPosition":"1987-08-13T16:05:00",
168
+ "endPosition":"2012-12-12"
169
+ }
170
+ ]
171
+ },
172
+ "verticalElement":[
173
+ {
174
+ "minimumValue":0,
175
+ "maximumValue":1000,
176
+ "verticalCRSTitle":"NAVD88 height",
177
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::5703"
178
+ },
179
+ {
180
+ "minimumValue":1500,
181
+ "maximumValue":0,
182
+ "verticalCRSTitle":"NAVD88 depth",
183
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:crs:EPSG::6357"
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "description":"A feature collection with just polygons",
189
+ "geographicElement":[
190
+ {
191
+ "type":"FeatureCollection",
192
+ "id":"unique2",
193
+ "bbox":[
194
+ -149.89603182812,
195
+ 61.215716023773,
196
+ -149.87405917187,
197
+ 61.225371976227
198
+ ],
199
+ "properties":{
200
+ "name":"A FeatureCollection(polygons)",
201
+ "description":"represents GML MultiGeometry",
202
+ "includesData":true
203
+ },
204
+ "crs":{
205
+ "type":"name",
206
+ "properties":{
207
+ "name":"urn:ogc:def:crs:OGC:1.3:CRS84"
208
+ }
209
+ },
210
+ "features":[
211
+ {
212
+ "type":"Feature",
213
+ "id":"unique3",
214
+ "geometry":{
215
+ "type":"Polygon",
216
+ "coordinates":[
217
+ [
218
+ [
219
+ -149.880796,
220
+ 61.21988
221
+ ],
222
+ [
223
+ -149.880625,
224
+ 61.221305
225
+ ],
226
+ [
227
+ -149.889386,
228
+ 61.221346
229
+ ],
230
+ [
231
+ -149.880796,
232
+ 61.21988
233
+ ]
234
+ ],
235
+ [
236
+ [
237
+ -149.8807,
238
+ 61.21990
239
+ ],
240
+ [
241
+ -149.880627,
242
+ 61.221300
243
+ ],
244
+ [
245
+ -149.8809,
246
+ 61.221300
247
+ ],
248
+ [
249
+ -149.8807,
250
+ 61.21990
251
+ ]
252
+ ],
253
+ [
254
+ [
255
+ -149.889300,
256
+ 61.221300
257
+ ],
258
+ [
259
+ -149.889382,
260
+ 61.221345
261
+ ],
262
+ [
263
+ -149.889382,
264
+ 61.221445
265
+ ],
266
+ [
267
+ -149.889300,
268
+ 61.221300
269
+ ]
270
+ ]
271
+ ]
272
+ },
273
+ "properties":{
274
+ "name":"Buttress Park sampling location",
275
+ "description":"Boundary of area in downtown Anchorage where sampling occurred"
276
+ }
277
+ },
278
+ {
279
+ "type":"Feature",
280
+ "id":"unique4",
281
+ "geometry":{
282
+ "type":"Polygon",
283
+ "coordinates":[
284
+ [
285
+ [
286
+ -149.888221,
287
+ 61.219643
288
+ ],
289
+ [
290
+ -149.889466,
291
+ 61.219643
292
+ ],
293
+ [
294
+ -149.889251,
295
+ 61.219973
296
+ ],
297
+ [
298
+ -149.887835,
299
+ 61.219952
300
+ ],
301
+ [
302
+ -149.888221,
303
+ 61.219643
304
+ ]
305
+ ]
306
+ ]
307
+ },
308
+ "properties":{
309
+ "includesData":false,
310
+ "name":"Equipment staging area",
311
+ "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.)"
312
+ }
313
+ }
314
+ ]
315
+ }
316
+ ],
317
+ "temporalElement":{
318
+ "timePeriod":[
319
+ {
320
+ "id":"tp-002",
321
+ "beginPosition":"2013-08-24T08:05:00",
322
+ "endPosition":"2013-10-04"
323
+ },
324
+ {
325
+ "id":"tp-004",
326
+ "beginPosition":"2010-08-24T08:05:00",
327
+ "endPosition":"2014-10-04",
328
+ "description":"The best days of my life"
329
+ }
330
+ ],
331
+ "timeInstant":[
332
+ {
333
+ "id":"ti-002",
334
+ "description":"below ground condition",
335
+ "timePosition":"2012-07-15T08:05:00.0+09:00"
336
+ },
337
+ {
338
+ "id":"ti-003",
339
+ "description":"below ground condition",
340
+ "timePosition":"2012-08-16T08:06:00.0+09:00"
341
+ }
342
+ ]
343
+ },
344
+ "verticalElement":[
345
+ {
346
+ "minimumValue":60.5,
347
+ "maximumValue":110.68,
348
+ "verticalCRSTitle":"NAVD88 height (ftUS)",
349
+ "verticalCRSUri":"http://www.epsg-registry.org/export.htm?gml=urn:ogc:def:axis-name:EPSG::9904"
350
+ }
351
+ ]
352
+ }
353
+ ]
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "formatName": "formatName",
4
+ "version": "version"
5
+ }, {
6
+ "formatName": "netCDF",
7
+ "version": "4.0"
8
+ }, {
9
+ "formatName": "Excel Spreadsheet",
10
+ "version": "xlsx"
11
+ }, {
12
+ "formatName": "OpenOffice Spreadsheet"
13
+ }
14
+ ]