adiwg-mdtranslator 2.18.2 → 2.19.0.pre.beta.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +14 -0
  3. data/.gitignore +2 -1
  4. data/Gemfile.lock +86 -0
  5. data/Rakefile +1 -1
  6. data/adiwg-mdtranslator.gemspec +6 -6
  7. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +27 -11
  8. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_dataQuality.rb +149 -0
  9. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_fgdc.rb +2 -2
  10. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_conformanceResult.rb +1 -1
  11. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_coverageResult.rb +8 -7
  12. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_dataQuality.rb +4 -4
  13. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_dataQualityReport.rb +8 -16
  14. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_evaluationMethod.rb +1 -1
  15. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_legalConstraint.rb +8 -8
  16. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityMeasure.rb +34 -0
  17. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_qualityResultFile.rb +72 -0
  18. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb +2 -2
  19. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_responsibleParty.rb +1 -1
  20. data/lib/adiwg/mdtranslator/readers/sbJson/modules/module_contact.rb +13 -0
  21. data/lib/adiwg/mdtranslator/version.rb +1 -1
  22. data/lib/adiwg/mdtranslator/writers/fgdc/classes/{class_quality.rb → class_dataQuality.rb} +14 -10
  23. data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_fgdc.rb +3 -3
  24. data/lib/adiwg/mdtranslator/writers/html/sections/html_body.rb +5 -1
  25. data/lib/adiwg/mdtranslator/writers/html/sections/html_contact.rb +32 -0
  26. data/lib/adiwg/mdtranslator/writers/html/sections/html_dataQuality.rb +39 -18
  27. data/lib/adiwg/mdtranslator/writers/html/sections/html_dataQualityReport.rb +385 -0
  28. data/lib/adiwg/mdtranslator/writers/html/sections/html_rangeElementDescription.rb +2 -2
  29. data/lib/adiwg/mdtranslator/writers/html/sections/html_resultFile.rb +60 -0
  30. data/lib/adiwg/mdtranslator/writers/html/sections/html_scope.rb +18 -10
  31. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_additionalDocument.rb +3 -3
  32. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_address.rb +4 -4
  33. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_algorithm.rb +4 -4
  34. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_associatedResource.rb +4 -4
  35. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_attribute.rb +4 -4
  36. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_attributeGroup.rb +4 -4
  37. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_baseUnit.rb +2 -2
  38. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_boundingBox.rb +4 -4
  39. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_browseGraphic.rb +4 -4
  40. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_citation.rb +4 -4
  41. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_codelist.rb +2 -2
  42. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_constraint.rb +4 -4
  43. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_constraintCommon.rb +2 -2
  44. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_contact.rb +3 -3
  45. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_conventionalUnit.rb +2 -2
  46. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_coverageDescription.rb +3 -3
  47. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataIdentification.rb +5 -5
  48. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataQuality.rb +9 -2
  49. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_dataQualityReport.rb +269 -0
  50. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_date.rb +4 -4
  51. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_definitionUnit.rb +2 -2
  52. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_derivedUnit.rb +2 -2
  53. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dimension.rb +4 -4
  54. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_distribution.rb +2 -2
  55. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_distributor.rb +4 -4
  56. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_email.rb +2 -2
  57. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_extent.rb +2 -2
  58. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_feature.rb +4 -4
  59. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCatalog.rb +3 -3
  60. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCollection.rb +2 -2
  61. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureProperties.rb +2 -2
  62. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_format.rb +4 -4
  63. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_fraction.rb +4 -4
  64. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gcoDateTime.rb +2 -2
  65. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicElement.rb +4 -4
  66. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicExtent.rb +2 -2
  67. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometricObjects.rb +3 -3
  68. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometryCollection.rb +4 -4
  69. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_georectified.rb +4 -4
  70. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_georeferenceable.rb +4 -4
  71. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gmlIdentifier.rb +2 -2
  72. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_grid.rb +4 -4
  73. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gridRepresentation.rb +1 -1
  74. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_identifier.rb +4 -4
  75. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_imageDescription.rb +2 -2
  76. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_individual.rb +4 -4
  77. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_keyword.rb +4 -4
  78. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_leProcessStep.rb +4 -4
  79. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_leSource.rb +2 -2
  80. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_legalConstraints.rb +3 -3
  81. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_liProcessStep.rb +4 -4
  82. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_liSource.rb +2 -2
  83. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_lineString.rb +2 -2
  84. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_lineage.rb +2 -2
  85. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_locale.rb +4 -4
  86. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_maintenance.rb +4 -4
  87. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_mdBand.rb +2 -2
  88. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_mdMetadata.rb +7 -7
  89. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_measure.rb +4 -4
  90. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_medium.rb +2 -2
  91. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_miBand.rb +2 -2
  92. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiLine.rb +2 -2
  93. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiPoint.rb +2 -2
  94. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiPolygon.rb +2 -2
  95. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_nominalResolution.rb +4 -4
  96. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_onlineResource.rb +4 -4
  97. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_orderProcess.rb +2 -2
  98. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_organization.rb +4 -4
  99. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_partyIdentifier.rb +4 -4
  100. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_phone.rb +3 -3
  101. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_point.rb +2 -2
  102. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_polygon.rb +2 -2
  103. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processReport.rb +4 -4
  104. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processStep.rb +2 -2
  105. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processing.rb +4 -4
  106. data/lib/adiwg/mdtranslator/writers/iso19115_3/classes/class_qualityResultFile.rb +55 -0
  107. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_rangeDimension.rb +4 -4
  108. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_rangeElementDescription.rb +5 -5
  109. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_referenceSystem.rb +3 -3
  110. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_releasability.rb +2 -2
  111. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_resolution.rb +2 -2
  112. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_responsibility.rb +4 -4
  113. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_sampleDimension.rb +4 -4
  114. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_scope.rb +4 -4
  115. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_scopeDescription.rb +2 -2
  116. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_securityConstraints.rb +4 -4
  117. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_series.rb +2 -2
  118. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_source.rb +2 -2
  119. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_spatialRepresentation.rb +2 -2
  120. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_temporalExtent.rb +2 -2
  121. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_timeInstant.rb +2 -2
  122. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_timePeriod.rb +2 -2
  123. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_transferOptions.rb +2 -2
  124. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_unitsOfMeasure.rb +2 -2
  125. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_usage.rb +4 -4
  126. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_useConstraints.rb +2 -2
  127. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_vectorRepresentation.rb +2 -2
  128. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_verticalExtent.rb +4 -4
  129. data/lib/adiwg/mdtranslator/writers/{iso19115_1/iso19115_1_writer.rb → iso19115_3/iso19115_3_writer.rb} +10 -10
  130. data/lib/adiwg/mdtranslator/writers/{iso19115_1/iso19115_1_writer_messages_eng.yml → iso19115_3/iso19115_3_writer_messages_eng.yml} +1 -1
  131. data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/readme.md +3 -3
  132. data/lib/adiwg/mdtranslator/writers/iso19115_3/version.rb +12 -0
  133. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_allocation.rb +1 -1
  134. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coverageResult.rb +30 -0
  135. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb +3 -1
  136. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQualityReport.rb +12 -10
  137. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_descriptiveResult.rb +3 -3
  138. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_funding.rb +2 -2
  139. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_legalConstraint.rb +1 -1
  140. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_metadata.rb +1 -1
  141. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityMeasure.rb +4 -3
  142. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_qualityResultFile.rb +23 -0
  143. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_standaloneQualityReport.rb +31 -0
  144. data/lib/adiwg/mdtranslator/writers/sbJson/sections/sbJson_contact.rb +10 -0
  145. data/lib/adiwg/mdtranslator/writers/simple_html/readme.md +19 -0
  146. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_additionalDocumentation.rb +49 -0
  147. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_algorithm.rb +48 -0
  148. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_allocation.rb +114 -0
  149. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_associatedResource.rb +73 -0
  150. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attribute.rb +201 -0
  151. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attributeGroup.rb +51 -0
  152. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_bearingDistanceResolution.rb +68 -0
  153. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_body.rb +319 -0
  154. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_boundingBox.rb +69 -0
  155. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_citation.rb +165 -0
  156. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedData.rb +50 -0
  157. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedDataItem.rb +50 -0
  158. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_constraint.rb +118 -0
  159. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_contact.rb +234 -0
  160. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_coordinateResolution.rb +47 -0
  161. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_coverageInfo.rb +81 -0
  162. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataDictionary.rb +126 -0
  163. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQuality.rb +79 -0
  164. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQualityReport.rb +385 -0
  165. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_date.rb +42 -0
  166. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_datetime.rb +42 -0
  167. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dimension.rb +69 -0
  168. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distribution.rb +58 -0
  169. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distributor.rb +66 -0
  170. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_document.rb +63 -0
  171. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domain.rb +108 -0
  172. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domainItem.rb +64 -0
  173. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_duration.rb +68 -0
  174. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entity.rb +169 -0
  175. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityAttribute.rb +179 -0
  176. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityForeignKey.rb +55 -0
  177. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityIndex.rb +50 -0
  178. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_extent.rb +75 -0
  179. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_feature.rb +97 -0
  180. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureCollection.rb +82 -0
  181. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureProperties.rb +71 -0
  182. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_format.rb +66 -0
  183. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_funding.rb +60 -0
  184. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geodeticParameters.rb +71 -0
  185. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicElement.rb +79 -0
  186. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicExtent.rb +110 -0
  187. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicResolution.rb +47 -0
  188. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geologicAge.rb +71 -0
  189. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryCollection.rb +78 -0
  190. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryObject.rb +46 -0
  191. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georectifiedRepresentation.rb +105 -0
  192. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georeferenceableRepresentation.rb +91 -0
  193. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_graphic.rb +75 -0
  194. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_gridRepresentation.rb +76 -0
  195. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_head.rb +55 -0
  196. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_identifier.rb +81 -0
  197. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_imageInfo.rb +102 -0
  198. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_inlineCss.css +237 -0
  199. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_keyword.rb +68 -0
  200. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_legalConstraint.rb +49 -0
  201. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_lineage.rb +87 -0
  202. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_locale.rb +47 -0
  203. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_maintenance.rb +96 -0
  204. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_measure.rb +47 -0
  205. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_medium.rb +90 -0
  206. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataInfo.rb +198 -0
  207. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataRepository.rb +56 -0
  208. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_nominalResolution.rb +51 -0
  209. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_obliqueLinePoint.rb +37 -0
  210. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_onlineResource.rb +74 -0
  211. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_orderProcess.rb +62 -0
  212. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processReport.rb +47 -0
  213. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processStep.rb +171 -0
  214. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processing.rb +89 -0
  215. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_projectionParameters.rb +261 -0
  216. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_rangeElementDescription.rb +40 -0
  217. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_referenceSystemParameters.rb +65 -0
  218. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_releasability.rb +63 -0
  219. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceFormat.rb +40 -0
  220. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceInfo.rb +485 -0
  221. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceType.rb +38 -0
  222. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_responsibility.rb +81 -0
  223. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resultFile.rb +60 -0
  224. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_scope.rb +60 -0
  225. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_scopeDescription.rb +54 -0
  226. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_securityConstraint.rb +57 -0
  227. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_source.rb +155 -0
  228. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialReference.rb +70 -0
  229. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialRepresentation.rb +77 -0
  230. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialResolution.rb +95 -0
  231. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomy.rb +156 -0
  232. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomyClass.rb +75 -0
  233. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_temporalExtent.rb +65 -0
  234. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timeInstant.rb +82 -0
  235. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timeInterval.rb +40 -0
  236. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timePeriod.rb +128 -0
  237. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_transferOption.rb +94 -0
  238. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_usage.rb +118 -0
  239. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_vectorObject.rb +40 -0
  240. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_vectorRepresentation.rb +62 -0
  241. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_verticalDatumParameters.rb +70 -0
  242. data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_verticalExtent.rb +62 -0
  243. data/lib/adiwg/mdtranslator/writers/simple_html/simple_html_writer.rb +44 -0
  244. data/lib/adiwg/mdtranslator/writers/simple_html/version.rb +19 -0
  245. data/lib/adiwg/mdtranslator_cli.rb +2 -2
  246. metadata +241 -125
  247. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_quality.rb +0 -181
  248. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_dataQualityReport.rb +0 -95
  249. data/lib/adiwg/mdtranslator/writers/iso19115_1/version.rb +0 -15
@@ -0,0 +1,385 @@
1
+ require_relative 'html_citation'
2
+ require_relative 'html_identifier'
3
+ require_relative 'html_scope'
4
+ require_relative 'html_spatialRepresentation'
5
+ require_relative 'html_format'
6
+ require_relative 'html_resultFile'
7
+ require_relative 'html_coverageInfo'
8
+
9
+ module ADIWG
10
+ module Mdtranslator
11
+ module Writers
12
+ module Html
13
+ class Html_DataQualityReport
14
+ def initialize(html)
15
+ @html = html
16
+ end
17
+
18
+ def writeHtml(hDataQualityReport)
19
+ @html.section(:class => 'block') do
20
+ writeQualityMeasure(hDataQualityReport[:qualityMeasure]) unless hDataQualityReport[:qualityMeasure].empty?
21
+ end
22
+ @html.section(:class => 'block') do
23
+ writeEvaluationMethod(hDataQualityReport[:evaluationMethod]) unless hDataQualityReport[:evaluationMethod].empty?
24
+ end
25
+ @html.section(:class => 'block') do
26
+ writeConformanceResult(hDataQualityReport[:conformanceResult]) unless hDataQualityReport[:conformanceResult].empty?
27
+ end
28
+ @html.section(:class => 'block') do
29
+ writeCoverageResult(hDataQualityReport[:coverageResult]) unless hDataQualityReport[:coverageResult].empty?
30
+ end
31
+ @html.section(:class => 'block') do
32
+ writeDescriptiveResult(hDataQualityReport[:descriptiveResult]) unless hDataQualityReport[:descriptiveResult].empty?
33
+ end
34
+ @html.section(:class => 'block') do
35
+ writeQuantitativeResult(hDataQualityReport[:quantitativeResult]) unless hDataQualityReport[:quantitativeResult].empty?
36
+ end
37
+ end
38
+
39
+ private
40
+
41
+ def writeQualityMeasure(qualityMeasure)
42
+ identifierClass = Html_Identifier.new(@html)
43
+
44
+ @html.details do
45
+ @html.summary('Quality Measure', {'class' => 'h5'})
46
+ @html.section(:class => 'block') do
47
+ # Identifier
48
+ unless qualityMeasure[:identifier].empty?
49
+ @html.details do
50
+ @html.summary('Identifier', {'class' => 'h5'})
51
+ @html.section(:class => 'block') do
52
+ identifierClass.writeHtml(qualityMeasure[:identifier])
53
+ end
54
+ end
55
+ end
56
+
57
+ # Description
58
+ unless qualityMeasure[:description].nil?
59
+ @html.em('Description: ')
60
+ @html.text!(qualityMeasure[:description])
61
+ @html.br
62
+ end
63
+
64
+ # Names
65
+ unless qualityMeasure[:nameOfMeasure].empty?
66
+ @html.em('Names: ')
67
+ @html.text!(qualityMeasure[:nameOfMeasure].join('; '))
68
+ @html.br
69
+ end
70
+ end
71
+ end
72
+ end
73
+
74
+ def writeEvaluationMethod(evaluationMethod)
75
+ citationClass = Html_Citation.new(@html)
76
+
77
+ @html.details do
78
+ @html.summary('Evaluation Method', {'class' => 'h5'})
79
+ @html.section(:class => 'block') do
80
+ # Type
81
+ unless evaluationMethod[:type].nil?
82
+ @html.em('Type: ')
83
+ @html.text!(evaluationMethod[:type])
84
+ @html.br
85
+ end
86
+
87
+ # DateTime
88
+ unless evaluationMethod[:dateTime].nil?
89
+ @html.em('Date Time: ')
90
+ evaluationMethod[:dateTime].each do |datetime|
91
+ @html.text!(datetime)
92
+ @html.br
93
+ end
94
+ @html.br
95
+ end
96
+
97
+ # MethodDescription
98
+ unless evaluationMethod[:methodDescription].nil?
99
+ @html.em('Evaluation Method Description: ')
100
+ @html.text!(evaluationMethod[:methodDescription])
101
+ @html.br
102
+ end
103
+
104
+ # EvaluationMethodType
105
+ unless evaluationMethod[:evaluationMethodType].nil?
106
+ @html.em('Evaluation Method Type: ')
107
+ @html.text!(evaluationMethod[:evaluationMethodType])
108
+ @html.br
109
+ end
110
+
111
+ # DeductiveSource
112
+ unless evaluationMethod[:deductiveSource].nil?
113
+ @html.em('Deductive Source: ')
114
+ @html.text!(evaluationMethod[:deductiveSource])
115
+ @html.br
116
+ end
117
+
118
+ # SamplingScheme
119
+ unless evaluationMethod[:samplingScheme].nil?
120
+ @html.em('Sampling Scheme: ')
121
+ @html.text!(evaluationMethod[:samplingScheme])
122
+ @html.br
123
+ end
124
+
125
+ # LotDescription
126
+ unless evaluationMethod[:lotDescription].nil?
127
+ @html.em('Lot Description: ')
128
+ @html.text!(evaluationMethod[:lotDescription])
129
+ @html.br
130
+ end
131
+
132
+ # SamplingRatio
133
+ unless evaluationMethod[:samplingRatio].nil?
134
+ @html.em('Sampling Ratio: ')
135
+ @html.text!(evaluationMethod[:samplingRatio])
136
+ @html.br
137
+ end
138
+
139
+ # EvaluationProcedure
140
+ unless evaluationMethod[:evaluationProcedure].empty?
141
+ @html.details do
142
+ @html.summary('Evaluation Procedure', {'class' => 'h5'})
143
+ @html.section(:class => 'block') do
144
+ citationClass.writeHtml(evaluationMethod[:evaluationProcedure])
145
+ end
146
+ end
147
+ end
148
+
149
+ # ReferenceDocument
150
+ unless evaluationMethod[:referenceDocuments].empty?
151
+ @html.details do
152
+ @html.summary('Reference Document', {'class' => 'h5'})
153
+ evaluationMethod[:referenceDocuments].each do |doc|
154
+ @html.section(:class => 'block') do
155
+ citationClass.writeHtml(doc)
156
+ end
157
+ end
158
+ end
159
+ end
160
+ end
161
+ end
162
+ end
163
+
164
+ def writeConformanceResult(conformanceResult)
165
+ citationClass = Html_Citation.new(@html)
166
+ scopeClass = Html_Scope.new(@html)
167
+
168
+ @html.details do
169
+ @html.summary('Conformance Result', {'class' => 'h5'})
170
+ conformanceResult.each do |result|
171
+ @html.section(:class => 'block') do
172
+ # DateTime
173
+ unless result[:dateTime].nil?
174
+ @html.em('Date Time: ')
175
+ @html.text!(result[:dateTime])
176
+ @html.br
177
+ end
178
+
179
+ # Scope
180
+ unless result[:scope].empty?
181
+ @html.details do
182
+ @html.summary('Scope', {'class' => 'h5'})
183
+ @html.section(:class => 'block') do
184
+ scopeClass.writeHtml(result[:scope])
185
+ end
186
+ end
187
+ end
188
+
189
+ # Specification (citation)
190
+ unless result[:specification].empty?
191
+ @html.details do
192
+ @html.summary('Specification', {'class' => 'h5'})
193
+ @html.section(:class => 'block') do
194
+ citationClass.writeHtml(result[:specification])
195
+ end
196
+ end
197
+ end
198
+
199
+ # Explanation
200
+ unless result[:explanation].nil?
201
+ @html.em('Explanation: ')
202
+ @html.text!(result[:explanation])
203
+ @html.br
204
+ end
205
+
206
+ # Pass (boolean)
207
+ unless result[:pass].nil?
208
+ @html.em('Pass: ')
209
+ @html.text!(result[:pass] ? 'Yes' : 'No')
210
+ @html.br
211
+ end
212
+ end
213
+ end
214
+ end
215
+ end
216
+
217
+ def writeCoverageResult(coverageResult)
218
+ scopeClass = Html_Scope.new(@html)
219
+ spatialRepresentationClass = Html_SpatialRepresentation.new(@html)
220
+ formatClass = Html_Format.new(@html)
221
+ resultFileClass = Html_ResultFile.new(@html)
222
+ coverageInfoClass = Html_CoverageInfo.new(@html)
223
+
224
+ @html.details do
225
+ @html.summary('Coverage Result', {'class' => 'h5'})
226
+ coverageResult.each do |result|
227
+ @html.section(:class => 'block') do
228
+ # DateTime
229
+ unless result[:dateTime].nil?
230
+ @html.em('Date Time: ')
231
+ @html.text!(result[:dateTime])
232
+ @html.br
233
+ end
234
+
235
+ # Scope
236
+ unless result[:scope].empty?
237
+ @html.details do
238
+ @html.summary('Scope', {'class' => 'h5'})
239
+ @html.section(:class => 'block') do
240
+ scopeClass.writeHtml(result[:scope])
241
+ end
242
+ end
243
+ end
244
+
245
+ # SpatialRepresentationType
246
+ unless result[:spatialRepresentationType].nil?
247
+ @html.em('Spatial Representation Type: ')
248
+ @html.text!(result[:spatialRepresentationType])
249
+ @html.br
250
+ end
251
+
252
+ # SpatialRepresentation
253
+ unless result[:spatialRepresentation].empty?
254
+ @html.details do
255
+ @html.summary('Spatial Representation', {'class' => 'h5'})
256
+ @html.section(:class => 'block') do
257
+ spatialRepresentationClass.writeHtml(result[:spatialRepresentation])
258
+ end
259
+ end
260
+ end
261
+
262
+ # ResultContentDescription
263
+ unless result[:resultContentDescription].empty?
264
+ @html.details do
265
+ @html.summary('Result Content Description', {'class' => 'h5'})
266
+ @html.section(:class => 'block') do
267
+ coverageInfoClass.writeHtml(result[:resultContentDescription])
268
+ end
269
+ end
270
+ end
271
+
272
+ # ResourceFormat
273
+ unless result[:resourceFormat].empty?
274
+ @html.details do
275
+ @html.summary('Resource Format', {'class' => 'h5'})
276
+ @html.section(:class => 'block') do
277
+ formatClass.writeHtml(result[:resourceFormat])
278
+ end
279
+ end
280
+ end
281
+
282
+ # ResultFile
283
+ unless result[:resultFile].empty?
284
+ @html.details do
285
+ @html.summary('Result File', {'class' => 'h5'})
286
+ @html.section(:class => 'block') do
287
+ resultFileClass.writeHtml(result[:resultFile])
288
+ end
289
+ end
290
+ end
291
+
292
+ end
293
+ end
294
+ end
295
+ end
296
+
297
+ def writeDescriptiveResult(descriptiveResult)
298
+ scopeClass = Html_Scope.new(@html) # Assuming a class to handle scope objects
299
+
300
+ @html.details do
301
+ @html.summary('Descriptive Result', {'class' => 'h5'})
302
+ descriptiveResult.each do |result|
303
+ @html.section(:class => 'block') do
304
+ # DateTime
305
+ unless result[:dateTime].nil?
306
+ @html.em('Date Time: ')
307
+ @html.text!(result[:dateTime])
308
+ @html.br
309
+ end
310
+
311
+ # Scope
312
+ unless result[:scope].empty?
313
+ @html.details do
314
+ @html.summary('Scope', {'class' => 'h5'})
315
+ @html.section(:class => 'block') do
316
+ scopeClass.writeHtml(result[:scope])
317
+ end
318
+ end
319
+ end
320
+
321
+ # Statement
322
+ unless result[:statement].nil?
323
+ @html.em('Statement: ')
324
+ @html.text!(result[:statement])
325
+ @html.br
326
+ end
327
+ end
328
+ end
329
+ end
330
+ end
331
+
332
+ def writeQuantitativeResult(quantitativeResult)
333
+ scopeClass = Html_Scope.new(@html)
334
+
335
+ @html.details do
336
+ @html.summary('Quantitative Result', {'class' => 'h5'})
337
+ quantitativeResult.each do |result|
338
+ @html.section(:class => 'block') do
339
+ # DateTime
340
+ unless result[:dateTime].nil?
341
+ @html.em('Date Time: ')
342
+ @html.text!(result[:dateTime])
343
+ @html.br
344
+ end
345
+
346
+ # Scope
347
+ unless result[:scope].empty?
348
+ @html.details do
349
+ @html.summary('Scope', {'class' => 'h5'})
350
+ @html.section(:class => 'block') do
351
+ scopeClass.writeHtml(result[:scope])
352
+ end
353
+ end
354
+ end
355
+
356
+ # Value
357
+ unless result[:values].empty?
358
+ @html.em('Value: ')
359
+ @html.text!(result[:values].join(', '))
360
+ @html.br
361
+ end
362
+
363
+ # ValueUnits
364
+ unless result[:valueUnits].nil?
365
+ @html.em('Value Units: ')
366
+ @html.text!(result[:valueUnits])
367
+ @html.br
368
+ end
369
+
370
+ # ValueRecordType
371
+ unless result[:valueRecordType].nil?
372
+ @html.em('Value Record Type: ')
373
+ @html.text!(result[:valueRecordType])
374
+ @html.br
375
+ end
376
+ end
377
+ end
378
+ end
379
+ end
380
+
381
+ end
382
+ end
383
+ end
384
+ end
385
+ end
@@ -25,12 +25,12 @@ module ADIWG
25
25
  @html.br
26
26
  end
27
27
 
28
- red[:rangeElements].each do |hRangeElement|
28
+ red[:rangeElement].each do |hRangeElement|
29
29
  @html.em('Range Element:')
30
30
  @html.text!(hRangeElement)
31
+ @html.br
31
32
  end
32
33
 
33
- @html.br
34
34
  end # writeHtml
35
35
  end # Html_RangeElementDescription
36
36
 
@@ -0,0 +1,60 @@
1
+ # HTML writer
2
+ # result file
3
+
4
+ require_relative 'html_format'
5
+
6
+ module ADIWG
7
+ module Mdtranslator
8
+ module Writers
9
+ module Html
10
+
11
+ class Html_ResultFile
12
+
13
+ def initialize(html)
14
+ @html = html
15
+ end
16
+
17
+ def writeHtml(hResultFile)
18
+
19
+ # classes used
20
+ formatClass = Html_Format.new(@html)
21
+
22
+
23
+ # result file - file name
24
+ unless hResultFile[:fileName].nil?
25
+ @html.em('File Name: ')
26
+ @html.text!(hResultFile[:fileName])
27
+ @html.br
28
+ end
29
+
30
+ # result file - file type
31
+ unless hResultFile[:fileType].nil?
32
+ @html.em('File Type: ')
33
+ @html.text!(hResultFile[:fileType])
34
+ @html.br
35
+ end
36
+
37
+ # result file - file description
38
+ unless hResultFile[:fileDescription].nil?
39
+ @html.em('File Description: ')
40
+ @html.text!(hResultFile[:fileDescription])
41
+ @html.br
42
+ end
43
+
44
+ # resource format - format specification {citation}
45
+ unless hResultFile[:fileFormat].empty?
46
+ @html.details do
47
+ @html.summary(hResultFile[:fileFormat][:title], {'class' => 'h5'})
48
+ @html.section(:class => 'block') do
49
+ formatClass.writeHtml(hResultFile[:fileFormat])
50
+ end
51
+ end
52
+ end
53
+
54
+ end # writeHtml
55
+ end # Html_Format
56
+
57
+ end
58
+ end
59
+ end
60
+ end
@@ -32,21 +32,29 @@ module ADIWG
32
32
  end
33
33
 
34
34
  # scope - description [] {scopeDescription}
35
- hScope[:scopeDescriptions].each do |hDescription|
36
- @html.details do
37
- @html.summary('Description', {'class' => 'h5'})
38
- @html.section(:class => 'block') do
39
- descriptionClass.writeHtml(hDescription)
35
+ unless !hScope.key?(:scopeDescriptions)
36
+ unless hScope[:scopeDescriptions].empty?
37
+ hScope[:scopeDescriptions].each do |hDescription|
38
+ @html.details do
39
+ @html.summary('Description', {'class' => 'h5'})
40
+ @html.section(:class => 'block') do
41
+ descriptionClass.writeHtml(hDescription)
42
+ end
43
+ end
40
44
  end
41
45
  end
42
46
  end
43
47
 
44
48
  # scope - extent [] {extent}
45
- hScope[:extents].each do |hExtent|
46
- @html.details do
47
- @html.summary('Extent', {'class' => 'h5'})
48
- @html.section(:class => 'block') do
49
- extentClass.writeHtml(hExtent)
49
+ unless !hScope.key?(:extents)
50
+ unless hScope[:extents].empty?
51
+ hScope[:extents].each do |hExtent|
52
+ @html.details do
53
+ @html.summary('Extent', {'class' => 'h5'})
54
+ @html.section(:class => 'block') do
55
+ extentClass.writeHtml(hExtent)
56
+ end
57
+ end
50
58
  end
51
59
  end
52
60
  end
@@ -1,5 +1,5 @@
1
1
  # ISO <<Class>> MD_AssociatedResource
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 2019-04-22 original script
@@ -9,14 +9,14 @@ require_relative 'class_citation'
9
9
  module ADIWG
10
10
  module Mdtranslator
11
11
  module Writers
12
- module Iso19115_1
12
+ module Iso19115_3
13
13
 
14
14
  class AdditionalDocument
15
15
 
16
16
  def initialize(xml, hResponseObj)
17
17
  @xml = xml
18
18
  @hResponseObj = hResponseObj
19
- @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_1
19
+ @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
20
20
  end
21
21
 
22
22
  def writeXML(hAdditionalDoc, inContext = nil)
@@ -1,5 +1,5 @@
1
1
  # ISO <<Class>> CI_Address
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 2019-03-18 original script
@@ -7,7 +7,7 @@
7
7
  module ADIWG
8
8
  module Mdtranslator
9
9
  module Writers
10
- module Iso19115_1
10
+ module Iso19115_3
11
11
 
12
12
  class CI_Address
13
13
 
@@ -23,9 +23,9 @@ module ADIWG
23
23
 
24
24
  unless hAddress.nil?
25
25
 
26
- # address - address type (not used by ISO 19115-1)
26
+ # address - address type (not used by ISO 19115-3)
27
27
 
28
- # address - description (not used by ISO 19115-1)
28
+ # address - description (not used by ISO 19115-3)
29
29
 
30
30
  # address - delivery points []
31
31
  aDeliveryPoints = hAddress[:deliveryPoints]
@@ -1,23 +1,23 @@
1
1
  # ISO <<Class>> LE_Algorithm
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 201-09-27 original script.
6
6
 
7
- require_relative '../iso19115_1_writer'
7
+ require_relative '../iso19115_3_writer'
8
8
  require_relative 'class_citation'
9
9
 
10
10
  module ADIWG
11
11
  module Mdtranslator
12
12
  module Writers
13
- module Iso19115_1
13
+ module Iso19115_3
14
14
 
15
15
  class LE_Algorithm
16
16
 
17
17
  def initialize(xml, hResponseObj)
18
18
  @xml = xml
19
19
  @hResponseObj = hResponseObj
20
- @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_1
20
+ @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
21
21
  end
22
22
 
23
23
  def writeXML(hAlgorithm, inContext = nil)
@@ -1,24 +1,24 @@
1
1
  # ISO <<Class>> MD_AssociatedResource
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 2019-03-25 original script
6
6
 
7
- require_relative '../iso19115_1_writer'
7
+ require_relative '../iso19115_3_writer'
8
8
  require_relative 'class_codelist'
9
9
  require_relative 'class_citation'
10
10
 
11
11
  module ADIWG
12
12
  module Mdtranslator
13
13
  module Writers
14
- module Iso19115_1
14
+ module Iso19115_3
15
15
 
16
16
  class MD_AssociatedResource
17
17
 
18
18
  def initialize(xml, hResponseObj)
19
19
  @xml = xml
20
20
  @hResponseObj = hResponseObj
21
- @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_1
21
+ @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
22
22
  end
23
23
 
24
24
  def writeXML(hAssocRes, inContext = nil)
@@ -1,10 +1,10 @@
1
1
  # ISO <<Class>> attribute group
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 2019-04-08 original script.
6
6
 
7
- require_relative '../iso19115_1_writer'
7
+ require_relative '../iso19115_3_writer'
8
8
  require_relative 'class_rangeDimension'
9
9
  require_relative 'class_sampleDimension'
10
10
  require_relative 'class_mdBand'
@@ -13,14 +13,14 @@ require_relative 'class_miBand'
13
13
  module ADIWG
14
14
  module Mdtranslator
15
15
  module Writers
16
- module Iso19115_1
16
+ module Iso19115_3
17
17
 
18
18
  class Attribute
19
19
 
20
20
  def initialize(xml, hResponseObj)
21
21
  @xml = xml
22
22
  @hResponseObj = hResponseObj
23
- @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_1
23
+ @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
24
24
  end
25
25
 
26
26
  def writeXML(hAttribute, inContext = nil)
@@ -1,24 +1,24 @@
1
1
  # ISO <<Class>> attribute group
2
- # 19115-1 writer output in XML
2
+ # 19115-3 writer output in XML
3
3
 
4
4
  # History:
5
5
  # Stan Smith 2019-04-05 original script.
6
6
 
7
- require_relative '../iso19115_1_writer'
7
+ require_relative '../iso19115_3_writer'
8
8
  require_relative 'class_codelist'
9
9
  require_relative 'class_attribute'
10
10
 
11
11
  module ADIWG
12
12
  module Mdtranslator
13
13
  module Writers
14
- module Iso19115_1
14
+ module Iso19115_3
15
15
 
16
16
  class MD_AttributeGroup
17
17
 
18
18
  def initialize(xml, hResponseObj)
19
19
  @xml = xml
20
20
  @hResponseObj = hResponseObj
21
- @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_1
21
+ @NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
22
22
  end
23
23
 
24
24
  def writeXML(hGroup, inContext = nil)