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.
- checksums.yaml +4 -4
- data/.gitignore +1 -6
- data/adiwg-mdtranslator.gemspec +2 -2
- data/bin/mdtranslator +10 -10
- data/lib/adiwg/mdtranslator.rb +54 -12
- data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +87 -7
- data/lib/adiwg/mdtranslator/readers/{adiwgJson/adiwgJson_reader.rb → mdJson/mdJson_reader.rb} +13 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson/adiwgJson_validator.rb → mdJson/mdJson_validator.rb} +18 -10
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_additionalDocumentation.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_address.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_associatedResource.rb +3 -3
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_boundingBox.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_browseGraphic.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_citation.rb +5 -5
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_contacts.rb +7 -7
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_coordinates.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dataDictionary.rb +53 -0
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_dataQuality.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_dateTime.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_descriptiveKeyword.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_dictionaryInfo.rb +52 -0
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_distributionInfo.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domain.rb +62 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_domainItem.rb +42 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entity.rb +92 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityAttribute.rb +91 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityForeignKey.rb +43 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_0.9.0/module_entityIndex.rb +42 -0
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_extent.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geoCoordSystem.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geoProperties.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_geographicElement.rb +12 -12
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_legalConstraint.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_lineString.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_lineage.rb +3 -3
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadata.rb +6 -6
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadataExtension.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_metadataInfo.rb +8 -8
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_onlineResource.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_phone.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_point.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_polygon.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_processStep.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resolution.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceFormat.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceIdentifier.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceInfo.rb +16 -16
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceMaintenance.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_resourceSpecificUsage.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_responsibleParty.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_securityConstraint.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_source.rb +3 -3
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_spatialReference.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_taxonClass.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_taxonomy.rb +5 -5
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_temporalElement.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_timeInstant.rb +3 -3
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_timePeriod.rb +4 -4
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_verticalElement.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/{adiwgJson → mdJson}/modules_0.9.0/module_voucher.rb +2 -2
- data/lib/adiwg/mdtranslator/readers/mdJson/readme.md +19 -0
- data/lib/adiwg/mdtranslator/version.rb +5 -1
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_FCfeatureCatalogue.rb +171 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2/classes/class_metadata.rb → iso/classes/class_MImetadata.rb} +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_address.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_aggregateInformation.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_boundingPolygon.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_browseGraphic.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_citation.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_contact.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_dataIdentification.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_dataQuality.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_date.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_digitalTransferOptions.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_distribution.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_distributor.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_extent.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureAttribute.rb +114 -0
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureConstraint.rb +55 -0
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_featureType.rb +120 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_format.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_genericMetaData.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicBoundingBox.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicDescription.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_geographicElement.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_identifier.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_keyword.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_legalConstraints.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_lineString.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_lineage.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_listedValue.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_maintenanceInformation.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_medium.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_metadataExtension.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_multiGeometry.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_multiplicity.rb +44 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_onlineResource.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_point.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_polygon.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_processStep.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_referenceIdentifier.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_referenceSystem.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_resolution.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_responsibleParty.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_securityConstraints.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_source.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_standardOrderProcess.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_taxonClassification.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_taxonSystem.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_telephone.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_temporalExtent.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_timeInstant.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_timePeriod.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_usage.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_useConstraints.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_verticalExtent.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/classes/class_vouchers.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_associationType.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_characterSet.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_classification.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_datatype.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_dateType.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_initiativeType.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_keywordType.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_maintenanceFrequency.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_mediumFormat.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_mediumName.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_obligation.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_onlineFunction.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_presentationForm.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_progress.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_restriction.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_role.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_scope.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_spatialRepresentationType.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/{iso19115_2 → iso}/codelists/code_topicCategory.rb +0 -0
- data/lib/adiwg/mdtranslator/writers/iso/units/class_baseUnit.rb +27 -0
- data/lib/adiwg/mdtranslator/writers/iso/units/class_conventionalUnit.rb +53 -0
- data/lib/adiwg/mdtranslator/writers/iso/units/class_definitionUnit.rb +24 -0
- data/lib/adiwg/mdtranslator/writers/iso/units/class_derivedUnit.rb +31 -0
- data/lib/adiwg/mdtranslator/writers/iso/units/class_unitsOfMeasure.rb +224 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +28 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/readme.md +13 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/iso19115_2/readme.md +6 -9
- data/test/tc_translation.rb +35 -18
- metadata +166 -146
- data/lib/adiwg/mdtranslator/readers/adiwgJson/readme.md +0 -19
- 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.
|
@@ -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
|
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
|
9
|
-
The
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
+
|
data/test/tc_translation.rb
CHANGED
@@ -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::
|
12
|
-
@@reader = '
|
11
|
+
class TestTranslation_v0_9 < MiniTest::Test
|
12
|
+
@@reader = 'mdJson'
|
13
13
|
@@writer = 'iso19115_2'
|
14
14
|
|
15
|
-
def
|
16
|
-
# read
|
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[:
|
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
|
40
|
-
# read
|
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[:
|
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.
|
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-
|
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:
|
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:
|
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:
|
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:
|
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/
|
167
|
-
- lib/adiwg/mdtranslator/readers/
|
168
|
-
- lib/adiwg/mdtranslator/readers/
|
169
|
-
- lib/adiwg/mdtranslator/readers/
|
170
|
-
- lib/adiwg/mdtranslator/readers/
|
171
|
-
- lib/adiwg/mdtranslator/readers/
|
172
|
-
- lib/adiwg/mdtranslator/readers/
|
173
|
-
- lib/adiwg/mdtranslator/readers/
|
174
|
-
- lib/adiwg/mdtranslator/readers/
|
175
|
-
- lib/adiwg/mdtranslator/readers/
|
176
|
-
- lib/adiwg/mdtranslator/readers/
|
177
|
-
- lib/adiwg/mdtranslator/readers/
|
178
|
-
- lib/adiwg/mdtranslator/readers/
|
179
|
-
- lib/adiwg/mdtranslator/readers/
|
180
|
-
- lib/adiwg/mdtranslator/readers/
|
181
|
-
- lib/adiwg/mdtranslator/readers/
|
182
|
-
- lib/adiwg/mdtranslator/readers/
|
183
|
-
- lib/adiwg/mdtranslator/readers/
|
184
|
-
- lib/adiwg/mdtranslator/readers/
|
185
|
-
- lib/adiwg/mdtranslator/readers/
|
186
|
-
- lib/adiwg/mdtranslator/readers/
|
187
|
-
- lib/adiwg/mdtranslator/readers/
|
188
|
-
- lib/adiwg/mdtranslator/readers/
|
189
|
-
- lib/adiwg/mdtranslator/readers/
|
190
|
-
- lib/adiwg/mdtranslator/readers/
|
191
|
-
- lib/adiwg/mdtranslator/readers/
|
192
|
-
- lib/adiwg/mdtranslator/readers/
|
193
|
-
- lib/adiwg/mdtranslator/readers/
|
194
|
-
- lib/adiwg/mdtranslator/readers/
|
195
|
-
- lib/adiwg/mdtranslator/readers/
|
196
|
-
- lib/adiwg/mdtranslator/readers/
|
197
|
-
- lib/adiwg/mdtranslator/readers/
|
198
|
-
- lib/adiwg/mdtranslator/readers/
|
199
|
-
- lib/adiwg/mdtranslator/readers/
|
200
|
-
- lib/adiwg/mdtranslator/readers/
|
201
|
-
- lib/adiwg/mdtranslator/readers/
|
202
|
-
- lib/adiwg/mdtranslator/readers/
|
203
|
-
- lib/adiwg/mdtranslator/readers/
|
204
|
-
- lib/adiwg/mdtranslator/readers/
|
205
|
-
- lib/adiwg/mdtranslator/readers/
|
206
|
-
- lib/adiwg/mdtranslator/readers/
|
207
|
-
- lib/adiwg/mdtranslator/readers/
|
208
|
-
- lib/adiwg/mdtranslator/readers/
|
209
|
-
- lib/adiwg/mdtranslator/readers/
|
210
|
-
- lib/adiwg/mdtranslator/readers/
|
211
|
-
- lib/adiwg/mdtranslator/readers/
|
212
|
-
- lib/adiwg/mdtranslator/readers/
|
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/
|
216
|
-
- lib/adiwg/mdtranslator/writers/
|
217
|
-
- lib/adiwg/mdtranslator/writers/
|
218
|
-
- lib/adiwg/mdtranslator/writers/
|
219
|
-
- lib/adiwg/mdtranslator/writers/
|
220
|
-
- lib/adiwg/mdtranslator/writers/
|
221
|
-
- lib/adiwg/mdtranslator/writers/
|
222
|
-
- lib/adiwg/mdtranslator/writers/
|
223
|
-
- lib/adiwg/mdtranslator/writers/
|
224
|
-
- lib/adiwg/mdtranslator/writers/
|
225
|
-
- lib/adiwg/mdtranslator/writers/
|
226
|
-
- lib/adiwg/mdtranslator/writers/
|
227
|
-
- lib/adiwg/mdtranslator/writers/
|
228
|
-
- lib/adiwg/mdtranslator/writers/
|
229
|
-
- lib/adiwg/mdtranslator/writers/
|
230
|
-
- lib/adiwg/mdtranslator/writers/
|
231
|
-
- lib/adiwg/mdtranslator/writers/
|
232
|
-
- lib/adiwg/mdtranslator/writers/
|
233
|
-
- lib/adiwg/mdtranslator/writers/
|
234
|
-
- lib/adiwg/mdtranslator/writers/
|
235
|
-
- lib/adiwg/mdtranslator/writers/
|
236
|
-
- lib/adiwg/mdtranslator/writers/
|
237
|
-
- lib/adiwg/mdtranslator/writers/
|
238
|
-
- lib/adiwg/mdtranslator/writers/
|
239
|
-
- lib/adiwg/mdtranslator/writers/
|
240
|
-
- lib/adiwg/mdtranslator/writers/
|
241
|
-
- lib/adiwg/mdtranslator/writers/
|
242
|
-
- lib/adiwg/mdtranslator/writers/
|
243
|
-
- lib/adiwg/mdtranslator/writers/
|
244
|
-
- lib/adiwg/mdtranslator/writers/
|
245
|
-
- lib/adiwg/mdtranslator/writers/
|
246
|
-
- lib/adiwg/mdtranslator/writers/
|
247
|
-
- lib/adiwg/mdtranslator/writers/
|
248
|
-
- lib/adiwg/mdtranslator/writers/
|
249
|
-
- lib/adiwg/mdtranslator/writers/
|
250
|
-
- lib/adiwg/mdtranslator/writers/
|
251
|
-
- lib/adiwg/mdtranslator/writers/
|
252
|
-
- lib/adiwg/mdtranslator/writers/
|
253
|
-
- lib/adiwg/mdtranslator/writers/
|
254
|
-
- lib/adiwg/mdtranslator/writers/
|
255
|
-
- lib/adiwg/mdtranslator/writers/
|
256
|
-
- lib/adiwg/mdtranslator/writers/
|
257
|
-
- lib/adiwg/mdtranslator/writers/
|
258
|
-
- lib/adiwg/mdtranslator/writers/
|
259
|
-
- lib/adiwg/mdtranslator/writers/
|
260
|
-
- lib/adiwg/mdtranslator/writers/
|
261
|
-
- lib/adiwg/mdtranslator/writers/
|
262
|
-
- lib/adiwg/mdtranslator/writers/
|
263
|
-
- lib/adiwg/mdtranslator/writers/
|
264
|
-
- lib/adiwg/mdtranslator/writers/
|
265
|
-
- lib/adiwg/mdtranslator/writers/
|
266
|
-
- lib/adiwg/mdtranslator/writers/
|
267
|
-
- lib/adiwg/mdtranslator/writers/
|
268
|
-
- lib/adiwg/mdtranslator/writers/
|
269
|
-
- lib/adiwg/mdtranslator/writers/
|
270
|
-
- lib/adiwg/mdtranslator/writers/
|
271
|
-
- lib/adiwg/mdtranslator/writers/
|
272
|
-
- lib/adiwg/mdtranslator/writers/
|
273
|
-
- lib/adiwg/mdtranslator/writers/
|
274
|
-
- lib/adiwg/mdtranslator/writers/
|
275
|
-
- lib/adiwg/mdtranslator/writers/
|
276
|
-
- lib/adiwg/mdtranslator/writers/
|
277
|
-
- lib/adiwg/mdtranslator/writers/
|
278
|
-
- lib/adiwg/mdtranslator/writers/
|
279
|
-
- lib/adiwg/mdtranslator/writers/
|
280
|
-
- lib/adiwg/mdtranslator/writers/
|
281
|
-
- lib/adiwg/mdtranslator/writers/
|
282
|
-
- lib/adiwg/mdtranslator/writers/
|
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.
|
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
|