adiwg-mdtranslator 0.9.0 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -6
  3. data/adiwg-mdtranslator.gemspec +2 -2
  4. data/bin/mdtranslator +10 -10
  5. data/lib/adiwg/mdtranslator.rb +54 -12
  6. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +87 -7
  7. data/lib/adiwg/mdtranslator/readers/{adiwgJson/adiwgJson_reader.rb → mdJson/mdJson_reader.rb} +13 -4
  8. data/lib/adiwg/mdtranslator/readers/{adiwgJson/adiwgJson_validator.rb → mdJson/mdJson_validator.rb} +18 -10
  9. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_additionalDocumentation.rb +2 -2
  10. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_address.rb +1 -1
  11. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_associatedResource.rb +3 -3
  12. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_boundingBox.rb +1 -1
  13. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_browseGraphic.rb +1 -1
  14. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_citation.rb +5 -5
  15. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_contacts.rb +7 -7
  16. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_coordinates.rb +1 -1
  17. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dataDictionary.rb +53 -0
  18. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_dataQuality.rb +2 -2
  19. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_dateTime.rb +1 -1
  20. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_descriptiveKeyword.rb +2 -2
  21. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dictionaryInfo.rb +52 -0
  22. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_distributionInfo.rb +4 -4
  23. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domain.rb +62 -0
  24. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domainItem.rb +42 -0
  25. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entity.rb +92 -0
  26. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityAttribute.rb +91 -0
  27. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityForeignKey.rb +43 -0
  28. data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityIndex.rb +42 -0
  29. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_extent.rb +4 -4
  30. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geoCoordSystem.rb +1 -1
  31. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geoProperties.rb +4 -4
  32. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geographicElement.rb +12 -12
  33. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_legalConstraint.rb +1 -1
  34. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_lineString.rb +2 -2
  35. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_lineage.rb +3 -3
  36. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadata.rb +6 -6
  37. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadataExtension.rb +2 -2
  38. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadataInfo.rb +8 -8
  39. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_onlineResource.rb +1 -1
  40. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_phone.rb +1 -1
  41. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_point.rb +2 -2
  42. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_polygon.rb +2 -2
  43. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_processStep.rb +4 -4
  44. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resolution.rb +1 -1
  45. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceFormat.rb +1 -1
  46. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceIdentifier.rb +2 -2
  47. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceInfo.rb +16 -16
  48. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceMaintenance.rb +2 -2
  49. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceSpecificUsage.rb +2 -2
  50. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_responsibleParty.rb +2 -2
  51. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_securityConstraint.rb +1 -1
  52. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_source.rb +3 -3
  53. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_spatialReference.rb +1 -1
  54. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_taxonClass.rb +1 -1
  55. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_taxonomy.rb +5 -5
  56. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_temporalElement.rb +4 -4
  57. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_timeInstant.rb +3 -3
  58. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_timePeriod.rb +4 -4
  59. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_verticalElement.rb +1 -1
  60. data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_voucher.rb +2 -2
  61. data/lib/adiwg/mdtranslator/readers/mdJson/readme.md +19 -0
  62. data/lib/adiwg/mdtranslator/version.rb +5 -1
  63. data/lib/adiwg/mdtranslator/writers/iso/classes/class_FCfeatureCatalogue.rb +171 -0
  64. data/lib/adiwg/mdtranslator/writers/{iso19115_2/classes/class_metadata.rb → iso/classes/class_MImetadata.rb} +3 -3
  65. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_address.rb +0 -0
  66. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_aggregateInformation.rb +0 -0
  67. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_boundingPolygon.rb +0 -0
  68. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_browseGraphic.rb +0 -0
  69. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_citation.rb +3 -3
  70. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_contact.rb +1 -1
  71. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_dataIdentification.rb +0 -0
  72. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_dataQuality.rb +0 -0
  73. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_date.rb +0 -0
  74. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_digitalTransferOptions.rb +0 -0
  75. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_distribution.rb +0 -0
  76. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_distributor.rb +0 -0
  77. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_extent.rb +0 -0
  78. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb +114 -0
  79. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureConstraint.rb +55 -0
  80. data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb +120 -0
  81. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_format.rb +0 -0
  82. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_genericMetaData.rb +0 -0
  83. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicBoundingBox.rb +0 -0
  84. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicDescription.rb +0 -0
  85. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicElement.rb +0 -0
  86. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_identifier.rb +0 -0
  87. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_keyword.rb +0 -0
  88. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_legalConstraints.rb +0 -0
  89. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_lineString.rb +1 -1
  90. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_lineage.rb +0 -0
  91. data/lib/adiwg/mdtranslator/writers/iso/classes/class_listedValue.rb +68 -0
  92. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_maintenanceInformation.rb +0 -0
  93. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_medium.rb +0 -0
  94. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_metadataExtension.rb +0 -0
  95. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_multiGeometry.rb +3 -3
  96. data/lib/adiwg/mdtranslator/writers/iso/classes/class_multiplicity.rb +44 -0
  97. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_onlineResource.rb +0 -0
  98. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_point.rb +1 -1
  99. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_polygon.rb +2 -2
  100. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_processStep.rb +1 -1
  101. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_referenceIdentifier.rb +0 -0
  102. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_referenceSystem.rb +0 -0
  103. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_resolution.rb +0 -0
  104. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_responsibleParty.rb +1 -1
  105. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_securityConstraints.rb +0 -0
  106. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_source.rb +0 -0
  107. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_standardOrderProcess.rb +0 -0
  108. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_taxonClassification.rb +0 -0
  109. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_taxonSystem.rb +0 -0
  110. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_telephone.rb +0 -0
  111. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_temporalExtent.rb +0 -0
  112. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_timeInstant.rb +1 -1
  113. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_timePeriod.rb +1 -1
  114. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_usage.rb +0 -0
  115. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_useConstraints.rb +0 -0
  116. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_verticalExtent.rb +0 -0
  117. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_vouchers.rb +0 -0
  118. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_associationType.rb +0 -0
  119. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_characterSet.rb +0 -0
  120. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_classification.rb +0 -0
  121. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_datatype.rb +0 -0
  122. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_dateType.rb +0 -0
  123. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_initiativeType.rb +0 -0
  124. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_keywordType.rb +0 -0
  125. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_maintenanceFrequency.rb +0 -0
  126. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_mediumFormat.rb +0 -0
  127. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_mediumName.rb +0 -0
  128. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_obligation.rb +0 -0
  129. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_onlineFunction.rb +0 -0
  130. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_presentationForm.rb +0 -0
  131. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_progress.rb +0 -0
  132. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_restriction.rb +0 -0
  133. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_role.rb +0 -0
  134. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_scope.rb +0 -0
  135. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_spatialRepresentationType.rb +0 -0
  136. data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_topicCategory.rb +0 -0
  137. data/lib/adiwg/mdtranslator/writers/iso/units/class_baseUnit.rb +27 -0
  138. data/lib/adiwg/mdtranslator/writers/iso/units/class_conventionalUnit.rb +53 -0
  139. data/lib/adiwg/mdtranslator/writers/iso/units/class_definitionUnit.rb +24 -0
  140. data/lib/adiwg/mdtranslator/writers/iso/units/class_derivedUnit.rb +31 -0
  141. data/lib/adiwg/mdtranslator/writers/iso/units/class_unitsOfMeasure.rb +224 -0
  142. data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +28 -0
  143. data/lib/adiwg/mdtranslator/writers/iso19110/readme.md +13 -0
  144. data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +1 -1
  145. data/lib/adiwg/mdtranslator/writers/iso19115_2/readme.md +6 -9
  146. data/test/tc_translation.rb +35 -18
  147. metadata +166 -146
  148. data/lib/adiwg/mdtranslator/readers/adiwgJson/readme.md +0 -19
  149. data/mdtranslator.rb +0 -187
@@ -0,0 +1,28 @@
1
+ # Writer - internal data structure to ISO 19110:2003
2
+
3
+ # History:
4
+ # Stan Smith 2014-12-01 original script
5
+
6
+ require 'builder'
7
+ require 'date'
8
+ require 'uuidtools'
9
+ require 'class_FCfeatureCatalogue'
10
+
11
+ $idCount = '_000'
12
+
13
+ class Iso19110Writer
14
+
15
+ def initialize
16
+ end
17
+
18
+ def writeXML(internalObj)
19
+
20
+ # create new XML document
21
+ xml = Builder::XmlMarkup.new(indent: 3)
22
+ metadataWriter = FC_FeatureCatalogue.new(xml)
23
+ metadata = metadataWriter.writeXML(internalObj)
24
+
25
+ return metadata
26
+ end
27
+
28
+ end
@@ -0,0 +1,13 @@
1
+
2
+ ## iso19110
3
+
4
+ ### Writer for ISO 19110 Feature Catalogue
5
+
6
+ The mdTranslator iso19110 writer implements about 60% of the for ISO 19110 standard.
7
+ Efforts were made to include all elements of the ISO standard to describe entity
8
+ attribute definitions for tabular data, spreadsheets, and relational databases.
9
+
10
+ The Feature Catalogue section provides data dictionary information for ISO 19115-2 metadata
11
+ and is delivered as a separate file from the ISO 19115-2 metadata. This inconvenient implementation
12
+ was corrected in the 2014 revision ISO 19115-1. mdTranslator will provide support for ISO 19115-1
13
+ sometime in 2015.
@@ -9,7 +9,7 @@
9
9
  require 'builder'
10
10
  require 'date'
11
11
  require 'uuidtools'
12
- require 'class_metadata'
12
+ require 'class_MImetadata'
13
13
 
14
14
  $idCount = '_000'
15
15
 
@@ -3,13 +3,10 @@
3
3
 
4
4
  ### Writer for ISO 19115-2:2009 Geographic Metadata
5
5
 
6
- The mdTranslator iso19115_2 writer implements about 65% of the for ISO 19115-2 standard.
6
+ The mdTranslator iso19115_2 writer implements about 75% of the for ISO 19115-2 standard.
7
7
  Efforts were made to include all elements of the ISO standard that support general data
8
- descriptions to ensure health and robust project and data metadata records can be created.
9
- The two significant sections not supported by the writer are the Feature Catalogue and
10
- 'quantitative' Data Quality sections.
11
-
12
- The Feature Catalogue section (which contains entity and attribute
13
- information) is saved as separate file in 19115-2. This inconvenient implementation was
14
- corrected in the ISO 19115-1:2014 revision and will be supported in the
15
- iso19115_1 writer.
8
+ descriptions to ensure generation of health and robust project and data metadata records.
9
+ The significant section of 19115-2 not supported by the writer is the 'quantitative'
10
+ Data Quality section. There are currently no plans to add this section to the ISO 19115-2
11
+ writer.
12
+
@@ -8,36 +8,35 @@ require 'minitest/autorun'
8
8
  require 'json'
9
9
  require File.join(File.expand_path('..', __FILE__),'..','lib', 'adiwg-mdtranslator.rb')
10
10
 
11
- class TestTranslation_v0_9 < MiniTest::Unit::TestCase
12
- @@reader = 'adiwgJson'
11
+ class TestTranslation_v0_9 < MiniTest::Test
12
+ @@reader = 'mdJson'
13
13
  @@writer = 'iso19115_2'
14
14
 
15
- def test_ouput_success
16
- # read test adiwg full json test
15
+ def test_full_success
16
+ # read mdJson full
17
17
  file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_9','examples','full_example.json'), 'r')
18
18
  jsonObj = file.read
19
19
  file.close
20
20
 
21
21
  # call opening module in mdTranslator
22
-
23
- metadata = ADIWG::Mdtranslator.translate(jsonObj,@@reader,@@writer,'normal','true')
22
+ metadata = ADIWG::Mdtranslator.translate(jsonObj, @@reader,@@writer,'normal','true')
24
23
  version = JSON.parse(jsonObj)['version']['version'].split('.')
25
24
 
26
- assert_equal('json',metadata[:readerFormat])
27
- assert metadata[:readerStructurePass]
28
- assert_equal(@@reader,metadata[:readerName])
25
+ assert_equal('json',metadata[:readerFormat], 'Check reader name')
26
+ assert metadata[:readerStructurePass], metadata[:readerStructureMessages].join(',')
27
+ assert_equal(@@reader,metadata[:readerFound])
29
28
  #major version
30
29
  assert_equal(version[0],metadata[:readerVersionUsed].split('.')[0])
31
30
  #minor version
32
31
  assert_equal(version[1],metadata[:readerVersionUsed].split('.')[1])
33
- assert metadata[:readerValidationPass]
32
+ assert metadata[:readerValidationPass], "reader validation failed: \n" + metadata[:readerValidationMessages].join(',')
34
33
  assert_equal(@@writer,metadata[:writerName])
35
- assert metadata[:writerPass]
34
+ assert metadata[:writerPass], "writer validation failed: \n" + metadata[:writerMessages].join(',')
36
35
  refute_nil metadata[:writerOutput]
37
36
  end
38
37
 
39
- def test_minimum
40
- # read test adiwg minimum json test
38
+ def test_minimum_success
39
+ # read mdJson minimum
41
40
  file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_9','examples','minimum_example.json'), 'r')
42
41
  jsonObj = file.read
43
42
  file.close
@@ -45,12 +44,30 @@ class TestTranslation_v0_9 < MiniTest::Unit::TestCase
45
44
  # call opening module in mdTranslator
46
45
  metadata = ADIWG::Mdtranslator.translate(jsonObj,@@reader,@@writer,'normal','true')
47
46
 
48
- assert_equal('json',metadata[:readerFormat])
49
- assert metadata[:readerStructurePass]
50
- assert_equal(@@reader,metadata[:readerName])
51
- assert metadata[:readerValidationPass]
47
+ assert_equal('json',metadata[:readerFormat], 'Check reader name')
48
+ assert metadata[:readerStructurePass], metadata[:readerStructureMessages].join(',')
49
+ assert_equal(@@reader,metadata[:readerFound])
50
+ assert metadata[:readerValidationPass], "reader validation failed: \n" + metadata[:readerValidationMessages].join(',')
52
51
  assert_equal(@@writer,metadata[:writerName])
53
- assert metadata[:writerPass]
52
+ assert metadata[:writerPass], "writer validation failed: \n" + metadata[:writerMessages].join(',')
53
+ refute_nil metadata[:writerOutput]
54
+ end
55
+
56
+ def test_19110_success
57
+ # read mdJson full
58
+ file = File.open(File.join(File.dirname(__FILE__),'schemas','v0_9','examples','full_example.json'), 'r')
59
+ jsonObj = file.read
60
+ file.close
61
+
62
+ # call opening module in mdTranslator
63
+ metadata = ADIWG::Mdtranslator.translate(jsonObj,@@reader,'iso19110','normal','true')
64
+
65
+ assert_equal('json',metadata[:readerFormat], 'Check reader name')
66
+ assert metadata[:readerStructurePass], metadata[:readerStructureMessages].join(',')
67
+ assert_equal(@@reader,metadata[:readerFound])
68
+ assert metadata[:readerValidationPass], "reader validation failed: \n" + metadata[:readerValidationMessages].join(',')
69
+ assert_equal('iso19110',metadata[:writerName])
70
+ assert metadata[:writerPass], "writer validation failed: \n" + metadata[:writerMessages].join(',')
54
71
  refute_nil metadata[:writerOutput]
55
72
  end
56
73
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdtranslator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith
@@ -9,134 +9,134 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-11 00:00:00.000000000 Z
12
+ date: 2014-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ~>
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '10'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '10'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: minitest
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ~>
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
48
  version: '5'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '5'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: json
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ~>
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
62
  version: '1.8'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ~>
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.8'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: builder
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ~>
74
+ - - "~>"
75
75
  - !ruby/object:Gem::Version
76
76
  version: '3.2'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ~>
81
+ - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '3.2'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: thor
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ~>
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0.19'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0.19'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: uuidtools
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
104
  version: '2.1'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
111
  version: '2.1'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: json-schema
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ~>
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '2.4'
118
+ version: 2.4.0
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ~>
123
+ - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '2.4'
125
+ version: 2.4.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: adiwg-json_schemas
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ~>
130
+ - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '0.9'
132
+ version: 0.9.4
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ~>
137
+ - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0.9'
139
+ version: 0.9.4
140
140
  description: The mdtranslator was written by the Alaska Data Integration Working Group
141
141
  (ADIwg) to assist users prepare ISO 19115-2 metadata records. Input to the mdtranslator
142
142
  is simple JSON using the adiwg-json-schema. The mdtranslator architecture allows
@@ -150,9 +150,9 @@ executables:
150
150
  extensions: []
151
151
  extra_rdoc_files: []
152
152
  files:
153
- - .gitignore
154
- - .gitmodules
155
- - .travis.yml
153
+ - ".gitignore"
154
+ - ".gitmodules"
155
+ - ".travis.yml"
156
156
  - Gemfile
157
157
  - LICENSE.txt
158
158
  - README.md
@@ -163,126 +163,146 @@ files:
163
163
  - lib/adiwg/mdtranslator.rb
164
164
  - lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb
165
165
  - lib/adiwg/mdtranslator/internal/module_dateTimeFun.rb
166
- - lib/adiwg/mdtranslator/readers/adiwgJson/adiwgJson_reader.rb
167
- - lib/adiwg/mdtranslator/readers/adiwgJson/adiwgJson_validator.rb
168
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_additionalDocumentation.rb
169
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_address.rb
170
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_associatedResource.rb
171
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_boundingBox.rb
172
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_browseGraphic.rb
173
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_citation.rb
174
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_contacts.rb
175
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_coordinates.rb
176
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_dataQuality.rb
177
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_dateTime.rb
178
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_descriptiveKeyword.rb
179
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_distributionInfo.rb
180
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_extent.rb
181
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_geoCoordSystem.rb
182
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_geoProperties.rb
183
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_geographicElement.rb
184
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_legalConstraint.rb
185
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_lineString.rb
186
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_lineage.rb
187
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_metadata.rb
188
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_metadataExtension.rb
189
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_metadataInfo.rb
190
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_onlineResource.rb
191
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_phone.rb
192
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_point.rb
193
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_polygon.rb
194
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_processStep.rb
195
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resolution.rb
196
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resourceFormat.rb
197
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resourceIdentifier.rb
198
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resourceInfo.rb
199
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resourceMaintenance.rb
200
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_resourceSpecificUsage.rb
201
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_responsibleParty.rb
202
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_securityConstraint.rb
203
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_source.rb
204
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_spatialReference.rb
205
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_taxonClass.rb
206
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_taxonomy.rb
207
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_temporalElement.rb
208
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_timeInstant.rb
209
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_timePeriod.rb
210
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_verticalElement.rb
211
- - lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_voucher.rb
212
- - lib/adiwg/mdtranslator/readers/adiwgJson/readme.md
166
+ - lib/adiwg/mdtranslator/readers/mdJson/mdJson_reader.rb
167
+ - lib/adiwg/mdtranslator/readers/mdJson/mdJson_validator.rb
168
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_additionalDocumentation.rb
169
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_address.rb
170
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_associatedResource.rb
171
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_boundingBox.rb
172
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_browseGraphic.rb
173
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_citation.rb
174
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_contacts.rb
175
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_coordinates.rb
176
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dataDictionary.rb
177
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dataQuality.rb
178
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dateTime.rb
179
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_descriptiveKeyword.rb
180
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dictionaryInfo.rb
181
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_distributionInfo.rb
182
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domain.rb
183
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domainItem.rb
184
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entity.rb
185
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityAttribute.rb
186
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityForeignKey.rb
187
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityIndex.rb
188
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_extent.rb
189
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_geoCoordSystem.rb
190
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_geoProperties.rb
191
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_geographicElement.rb
192
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_legalConstraint.rb
193
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_lineString.rb
194
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_lineage.rb
195
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_metadata.rb
196
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_metadataExtension.rb
197
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_metadataInfo.rb
198
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_onlineResource.rb
199
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_phone.rb
200
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_point.rb
201
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_polygon.rb
202
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_processStep.rb
203
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resolution.rb
204
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resourceFormat.rb
205
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resourceIdentifier.rb
206
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resourceInfo.rb
207
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resourceMaintenance.rb
208
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_resourceSpecificUsage.rb
209
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_responsibleParty.rb
210
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_securityConstraint.rb
211
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_source.rb
212
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_spatialReference.rb
213
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_taxonClass.rb
214
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_taxonomy.rb
215
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_temporalElement.rb
216
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_timeInstant.rb
217
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_timePeriod.rb
218
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_verticalElement.rb
219
+ - lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_voucher.rb
220
+ - lib/adiwg/mdtranslator/readers/mdJson/readme.md
213
221
  - lib/adiwg/mdtranslator/validator.rb
214
222
  - lib/adiwg/mdtranslator/version.rb
215
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_address.rb
216
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_aggregateInformation.rb
217
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_boundingPolygon.rb
218
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_browseGraphic.rb
219
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_citation.rb
220
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_contact.rb
221
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_dataIdentification.rb
222
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_dataQuality.rb
223
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_date.rb
224
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_digitalTransferOptions.rb
225
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_distribution.rb
226
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_distributor.rb
227
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_extent.rb
228
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_format.rb
229
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_genericMetaData.rb
230
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicBoundingBox.rb
231
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicDescription.rb
232
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicElement.rb
233
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_identifier.rb
234
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_keyword.rb
235
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_legalConstraints.rb
236
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_lineString.rb
237
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_lineage.rb
238
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_maintenanceInformation.rb
239
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_medium.rb
240
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_metadata.rb
241
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_metadataExtension.rb
242
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_multiGeometry.rb
243
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_onlineResource.rb
244
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_point.rb
245
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_polygon.rb
246
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processStep.rb
247
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_referenceIdentifier.rb
248
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_referenceSystem.rb
249
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_resolution.rb
250
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_responsibleParty.rb
251
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_securityConstraints.rb
252
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_source.rb
253
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_standardOrderProcess.rb
254
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_taxonClassification.rb
255
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_taxonSystem.rb
256
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_telephone.rb
257
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_temporalExtent.rb
258
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_timeInstant.rb
259
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_timePeriod.rb
260
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_usage.rb
261
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_useConstraints.rb
262
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_verticalExtent.rb
263
- - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_vouchers.rb
264
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_associationType.rb
265
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_characterSet.rb
266
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_classification.rb
267
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_datatype.rb
268
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_dateType.rb
269
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_initiativeType.rb
270
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_keywordType.rb
271
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_maintenanceFrequency.rb
272
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_mediumFormat.rb
273
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_mediumName.rb
274
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_obligation.rb
275
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_onlineFunction.rb
276
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_presentationForm.rb
277
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_progress.rb
278
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_restriction.rb
279
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_role.rb
280
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_scope.rb
281
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_spatialRepresentationType.rb
282
- - lib/adiwg/mdtranslator/writers/iso19115_2/codelists/code_topicCategory.rb
223
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_FCfeatureCatalogue.rb
224
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_MImetadata.rb
225
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_address.rb
226
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_aggregateInformation.rb
227
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_boundingPolygon.rb
228
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_browseGraphic.rb
229
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_citation.rb
230
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_contact.rb
231
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_dataIdentification.rb
232
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_dataQuality.rb
233
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_date.rb
234
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_digitalTransferOptions.rb
235
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_distribution.rb
236
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_distributor.rb
237
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_extent.rb
238
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb
239
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_featureConstraint.rb
240
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb
241
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_format.rb
242
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_genericMetaData.rb
243
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_geographicBoundingBox.rb
244
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
245
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_geographicElement.rb
246
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_identifier.rb
247
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_keyword.rb
248
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_legalConstraints.rb
249
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_lineString.rb
250
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_lineage.rb
251
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_listedValue.rb
252
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_maintenanceInformation.rb
253
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_medium.rb
254
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_metadataExtension.rb
255
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_multiGeometry.rb
256
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_multiplicity.rb
257
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_onlineResource.rb
258
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_point.rb
259
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_polygon.rb
260
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_processStep.rb
261
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_referenceIdentifier.rb
262
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_referenceSystem.rb
263
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_resolution.rb
264
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_responsibleParty.rb
265
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_securityConstraints.rb
266
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_source.rb
267
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_standardOrderProcess.rb
268
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_taxonClassification.rb
269
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_taxonSystem.rb
270
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_telephone.rb
271
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_temporalExtent.rb
272
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_timeInstant.rb
273
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_timePeriod.rb
274
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_usage.rb
275
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_useConstraints.rb
276
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_verticalExtent.rb
277
+ - lib/adiwg/mdtranslator/writers/iso/classes/class_vouchers.rb
278
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_associationType.rb
279
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_characterSet.rb
280
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_classification.rb
281
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_datatype.rb
282
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_dateType.rb
283
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_initiativeType.rb
284
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_keywordType.rb
285
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_maintenanceFrequency.rb
286
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_mediumFormat.rb
287
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_mediumName.rb
288
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_obligation.rb
289
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_onlineFunction.rb
290
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_presentationForm.rb
291
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_progress.rb
292
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_restriction.rb
293
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_role.rb
294
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_scope.rb
295
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_spatialRepresentationType.rb
296
+ - lib/adiwg/mdtranslator/writers/iso/codelists/code_topicCategory.rb
297
+ - lib/adiwg/mdtranslator/writers/iso/units/class_baseUnit.rb
298
+ - lib/adiwg/mdtranslator/writers/iso/units/class_conventionalUnit.rb
299
+ - lib/adiwg/mdtranslator/writers/iso/units/class_definitionUnit.rb
300
+ - lib/adiwg/mdtranslator/writers/iso/units/class_derivedUnit.rb
301
+ - lib/adiwg/mdtranslator/writers/iso/units/class_unitsOfMeasure.rb
302
+ - lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb
303
+ - lib/adiwg/mdtranslator/writers/iso19110/readme.md
283
304
  - lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb
284
305
  - lib/adiwg/mdtranslator/writers/iso19115_2/readme.md
285
- - mdtranslator.rb
286
306
  - test/tc_translation.rb
287
307
  homepage: http://www.adiwg.org/mdTranslator
288
308
  licenses:
@@ -294,17 +314,17 @@ require_paths:
294
314
  - lib
295
315
  required_ruby_version: !ruby/object:Gem::Requirement
296
316
  requirements:
297
- - - '>='
317
+ - - ">="
298
318
  - !ruby/object:Gem::Version
299
319
  version: '0'
300
320
  required_rubygems_version: !ruby/object:Gem::Requirement
301
321
  requirements:
302
- - - '>='
322
+ - - ">="
303
323
  - !ruby/object:Gem::Version
304
324
  version: '0'
305
325
  requirements: []
306
326
  rubyforge_project:
307
- rubygems_version: 2.0.3
327
+ rubygems_version: 2.4.5
308
328
  signing_key:
309
329
  specification_version: 4
310
330
  summary: The mdtranslator (metadata translator) is a toolkit for translating metadata