adiwg-mdtranslator 2.16.1 → 2.18.0rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -2
  3. data/Rakefile +1 -0
  4. data/adiwg-mdtranslator.gemspec +1 -1
  5. data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +8 -3
  6. data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_attribute.rb +6 -2
  7. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_attribute.rb +12 -0
  8. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_contact.rb +11 -0
  9. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_georectifiedRepresentation.rb +9 -0
  10. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_georeferenceableRepresentation.rb +9 -0
  11. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_gridRepresentation.rb +10 -0
  12. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_processStep.rb +3 -14
  13. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_processing.rb +4 -5
  14. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb +38 -0
  15. data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_vectorRepresentation.rb +10 -0
  16. data/lib/adiwg/mdtranslator/version.rb +3 -1
  17. data/lib/adiwg/mdtranslator/writers/html/sections/html_algorithm.rb +48 -0
  18. data/lib/adiwg/mdtranslator/writers/html/sections/html_attribute.rb +12 -0
  19. data/lib/adiwg/mdtranslator/writers/html/sections/html_georectifiedRepresentation.rb +12 -0
  20. data/lib/adiwg/mdtranslator/writers/html/sections/html_georeferenceableRepresentation.rb +13 -0
  21. data/lib/adiwg/mdtranslator/writers/html/sections/html_gridRepresentation.rb +13 -0
  22. data/lib/adiwg/mdtranslator/writers/html/sections/html_nominalResolution.rb +51 -0
  23. data/lib/adiwg/mdtranslator/writers/html/sections/html_processReport.rb +47 -0
  24. data/lib/adiwg/mdtranslator/writers/html/sections/html_processStep.rb +35 -8
  25. data/lib/adiwg/mdtranslator/writers/html/sections/html_processing.rb +89 -0
  26. data/lib/adiwg/mdtranslator/writers/html/sections/html_rangeElementDescription.rb +40 -0
  27. data/lib/adiwg/mdtranslator/writers/html/sections/html_source.rb +25 -0
  28. data/lib/adiwg/mdtranslator/writers/html/sections/html_vectorRepresentation.rb +13 -0
  29. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_algorithm.rb +61 -0
  30. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_georectified.rb +9 -0
  31. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_georeferenceable.rb +10 -0
  32. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_grid.rb +11 -1
  33. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_identifier.rb +2 -2
  34. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_individual.rb +22 -0
  35. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_leProcessStep.rb +167 -0
  36. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_leSource.rb +150 -0
  37. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_liProcessStep.rb +130 -0
  38. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_liSource.rb +126 -0
  39. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_lineage.rb +5 -4
  40. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_nominalResolution.rb +61 -0
  41. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_organization.rb +22 -0
  42. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_partyIdentifier.rb +92 -0
  43. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processReport.rb +66 -0
  44. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processStep.rb +22 -101
  45. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processing.rb +110 -0
  46. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_rangeElementDescription.rb +45 -0
  47. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_sampleDimension.rb +8 -0
  48. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_source.rb +19 -95
  49. data/lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_vectorRepresentation.rb +9 -0
  50. data/lib/adiwg/mdtranslator/writers/iso19115_1/iso19115_1_writer_messages_eng.yml +11 -0
  51. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_algorithm.rb +61 -0
  52. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_leProcessStep.rb +153 -0
  53. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_leSource.rb +134 -0
  54. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_liProcessStep.rb +126 -0
  55. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_liSource.rb +114 -0
  56. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_lineage.rb +13 -11
  57. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_nominalResolution.rb +61 -0
  58. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processReport.rb +66 -0
  59. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processStep.rb +22 -96
  60. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processing.rb +110 -0
  61. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_source.rb +20 -82
  62. data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_taxonomy.rb +2 -2
  63. data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer_messages_eng.yml +9 -0
  64. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_attribute.rb +1 -0
  65. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_contact.rb +1 -0
  66. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_georectifiedRepresentation.rb +1 -0
  67. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_georeferenceableRepresentation.rb +1 -0
  68. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_gridRepresentation.rb +1 -0
  69. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_processStep.rb +0 -1
  70. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_processing.rb +1 -1
  71. data/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_vectorRepresentation.rb +1 -0
  72. metadata +36 -12
@@ -21,7 +21,7 @@ module ADIWG
21
21
 
22
22
  Jbuilder.new do |json|
23
23
  json.identifier Identifier.build(hProcess[:identifier]) unless hProcess[:identifier].empty?
24
- json.softwareReference @Namespace.json_map(hProcess[:softwareReferences], Citation)
24
+ json.softwareReference Citation.build(hProcess[:softwareReference]) unless hProcess[:softwareReference].empty?
25
25
  json.procedureDescription hProcess[:procedureDescription]
26
26
  json.documentation @Namespace.json_map(hProcess[:documentation], Citation)
27
27
  json.runtimeParameters hProcess[:runtimeParameters]
@@ -18,6 +18,7 @@ module ADIWG
18
18
  @Namespace = ADIWG::Mdtranslator::Writers::MdJson
19
19
 
20
20
  Jbuilder.new do |json|
21
+ json.scope hVector[:scope]
21
22
  json.topologyLevel hVector[:topologyLevel]
22
23
  json.vectorObject @Namespace.json_map(hVector[:vectorObject], VectorObject)
23
24
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdtranslator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.1
4
+ version: 2.18.0rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith
8
8
  - Josh Bradley
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-24 00:00:00.000000000 Z
12
+ date: 2022-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -127,16 +127,16 @@ dependencies:
127
127
  name: adiwg-mdjson_schemas
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - '='
131
131
  - !ruby/object:Gem::Version
132
- version: '2.7'
132
+ version: 2.8.0.pre.beta2
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: '2.7'
139
+ version: 2.8.0.pre.beta2
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: adiwg-mdcodes
142
142
  requirement: !ruby/object:Gem::Requirement
@@ -397,6 +397,7 @@ files:
397
397
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_processStep.rb
398
398
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_processing.rb
399
399
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_projectionParameters.rb
400
+ - lib/adiwg/mdtranslator/readers/mdJson/modules/module_rangeElementDescription.rb
400
401
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_referenceSystemParameters.rb
401
402
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_releasability.rb
402
403
  - lib/adiwg/mdtranslator/readers/mdJson/modules/module_resourceInfo.rb
@@ -517,6 +518,7 @@ files:
517
518
  - lib/adiwg/mdtranslator/writers/html/html_writer.rb
518
519
  - lib/adiwg/mdtranslator/writers/html/readme.md
519
520
  - lib/adiwg/mdtranslator/writers/html/sections/html_additionalDocumentation.rb
521
+ - lib/adiwg/mdtranslator/writers/html/sections/html_algorithm.rb
520
522
  - lib/adiwg/mdtranslator/writers/html/sections/html_allocation.rb
521
523
  - lib/adiwg/mdtranslator/writers/html/sections/html_associatedResource.rb
522
524
  - lib/adiwg/mdtranslator/writers/html/sections/html_attribute.rb
@@ -576,11 +578,15 @@ files:
576
578
  - lib/adiwg/mdtranslator/writers/html/sections/html_medium.rb
577
579
  - lib/adiwg/mdtranslator/writers/html/sections/html_metadataInfo.rb
578
580
  - lib/adiwg/mdtranslator/writers/html/sections/html_metadataRepository.rb
581
+ - lib/adiwg/mdtranslator/writers/html/sections/html_nominalResolution.rb
579
582
  - lib/adiwg/mdtranslator/writers/html/sections/html_obliqueLinePoint.rb
580
583
  - lib/adiwg/mdtranslator/writers/html/sections/html_onlineResource.rb
581
584
  - lib/adiwg/mdtranslator/writers/html/sections/html_orderProcess.rb
585
+ - lib/adiwg/mdtranslator/writers/html/sections/html_processReport.rb
582
586
  - lib/adiwg/mdtranslator/writers/html/sections/html_processStep.rb
587
+ - lib/adiwg/mdtranslator/writers/html/sections/html_processing.rb
583
588
  - lib/adiwg/mdtranslator/writers/html/sections/html_projectionParameters.rb
589
+ - lib/adiwg/mdtranslator/writers/html/sections/html_rangeElementDescription.rb
584
590
  - lib/adiwg/mdtranslator/writers/html/sections/html_referenceSystemParameters.rb
585
591
  - lib/adiwg/mdtranslator/writers/html/sections/html_releasability.rb
586
592
  - lib/adiwg/mdtranslator/writers/html/sections/html_resourceFormat.rb
@@ -638,6 +644,7 @@ files:
638
644
  - lib/adiwg/mdtranslator/writers/iso19110/version.rb
639
645
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_additionalDocument.rb
640
646
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_address.rb
647
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_algorithm.rb
641
648
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_associatedResource.rb
642
649
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_attribute.rb
643
650
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_attributeGroup.rb
@@ -680,7 +687,11 @@ files:
680
687
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_imageDescription.rb
681
688
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_individual.rb
682
689
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_keyword.rb
690
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_leProcessStep.rb
691
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_leSource.rb
683
692
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_legalConstraints.rb
693
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_liProcessStep.rb
694
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_liSource.rb
684
695
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_lineString.rb
685
696
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_lineage.rb
686
697
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_locale.rb
@@ -693,14 +704,19 @@ files:
693
704
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_multiLine.rb
694
705
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_multiPoint.rb
695
706
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_multiPolygon.rb
707
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_nominalResolution.rb
696
708
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_onlineResource.rb
697
709
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_orderProcess.rb
698
710
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_organization.rb
711
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_partyIdentifier.rb
699
712
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_phone.rb
700
713
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_point.rb
701
714
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_polygon.rb
715
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processReport.rb
702
716
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processStep.rb
717
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_processing.rb
703
718
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_rangeDimension.rb
719
+ - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_rangeElementDescription.rb
704
720
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_referenceSystem.rb
705
721
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_releasability.rb
706
722
  - lib/adiwg/mdtranslator/writers/iso19115_1/classes/class_resolution.rb
@@ -727,6 +743,7 @@ files:
727
743
  - lib/adiwg/mdtranslator/writers/iso19115_1/version.rb
728
744
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_address.rb
729
745
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_aggregateInformation.rb
746
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_algorithm.rb
730
747
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_attribute.rb
731
748
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_baseUnit.rb
732
749
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_boundingBox.rb
@@ -767,7 +784,11 @@ files:
767
784
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_hierarchy.rb
768
785
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_image.rb
769
786
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_keyword.rb
787
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_leProcessStep.rb
788
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_leSource.rb
770
789
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_legalConstraints.rb
790
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_liProcessStep.rb
791
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_liSource.rb
771
792
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_lineString.rb
772
793
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_lineage.rb
773
794
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_locale.rb
@@ -781,13 +802,16 @@ files:
781
802
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_multiLine.rb
782
803
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_multiPoint.rb
783
804
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_multiPolygon.rb
805
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_nominalResolution.rb
784
806
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_obliqueLinePoint.rb
785
807
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_onlineResource.rb
786
808
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_orderProcess.rb
787
809
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_phone.rb
788
810
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_point.rb
789
811
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_polygon.rb
812
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processReport.rb
790
813
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processStep.rb
814
+ - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_processing.rb
791
815
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_projectionParameters.rb
792
816
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_rangeDimension.rb
793
817
  - lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_referenceSystem.rb
@@ -945,7 +969,7 @@ homepage: http://www.adiwg.org/mdTranslator
945
969
  licenses:
946
970
  - UNLICENSED
947
971
  metadata: {}
948
- post_install_message:
972
+ post_install_message:
949
973
  rdoc_options: []
950
974
  require_paths:
951
975
  - lib
@@ -956,12 +980,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
956
980
  version: '2.3'
957
981
  required_rubygems_version: !ruby/object:Gem::Requirement
958
982
  requirements:
959
- - - ">="
983
+ - - ">"
960
984
  - !ruby/object:Gem::Version
961
- version: '0'
985
+ version: 1.3.1
962
986
  requirements: []
963
- rubygems_version: 3.0.3
964
- signing_key:
987
+ rubygems_version: 3.1.6
988
+ signing_key:
965
989
  specification_version: 4
966
990
  summary: The mdtranslator (metadata translator) is a tool for translating metadata
967
991
  in one format to another. The tool is written and maintained by the Alaska Data