adiwg-mdtranslator 2.18.1 → 2.18.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile.lock +84 -0
- data/Rakefile +1 -1
- data/adiwg-mdtranslator.gemspec +5 -5
- data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_horizontalPlanar.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/fgdc/modules/module_spatialDomain.rb +1 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_distribution.rb +8 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules/module_responsibleParty.rb +1 -1
- data/lib/adiwg/mdtranslator/version.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_distribution.rb +24 -2
- data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_entityDetail.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_process.rb +1 -0
- data/lib/adiwg/mdtranslator/writers/fgdc/classes/class_spatialDomain.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_contact.rb +32 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_scope.rb +18 -10
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_additionalDocument.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_address.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_algorithm.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_associatedResource.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_attribute.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_attributeGroup.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_baseUnit.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_boundingBox.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_browseGraphic.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_citation.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_codelist.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_constraint.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_constraintCommon.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_contact.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_conventionalUnit.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_coverageDescription.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataIdentification.rb +5 -5
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataQuality.rb +9 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataQualityReport.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_date.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_definitionUnit.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_derivedUnit.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dimension.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_distribution.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_distributor.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_email.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_extent.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_feature.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCatalog.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCollection.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureProperties.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_format.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_fraction.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gcoDateTime.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicElement.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicExtent.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometricObjects.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometryCollection.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_georectified.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_georeferenceable.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gmlIdentifier.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_grid.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_gridRepresentation.rb +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_identifier.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_imageDescription.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_individual.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_keyword.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_leProcessStep.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_leSource.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_legalConstraints.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_liProcessStep.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_liSource.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_lineString.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_lineage.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_locale.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_maintenance.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_mdBand.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_mdMetadata.rb +7 -7
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_measure.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_medium.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_miBand.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiLine.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiPoint.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_multiPolygon.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_nominalResolution.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_onlineResource.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_orderProcess.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_organization.rb +24 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_partyIdentifier.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_phone.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_point.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_polygon.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processReport.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processStep.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_processing.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_rangeDimension.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_rangeElementDescription.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_referenceSystem.rb +3 -3
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_releasability.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_resolution.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_responsibility.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_sampleDimension.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_scope.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_scopeDescription.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_securityConstraints.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_series.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_source.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_spatialRepresentation.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_temporalExtent.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_timeInstant.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_timePeriod.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_transferOptions.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_unitsOfMeasure.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_usage.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_useConstraints.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_vectorRepresentation.rb +2 -2
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_verticalExtent.rb +4 -4
- data/lib/adiwg/mdtranslator/writers/{iso19115_1/iso19115_1_writer.rb → iso19115_3/iso19115_3_writer.rb} +10 -10
- data/lib/adiwg/mdtranslator/writers/{iso19115_1/iso19115_1_writer_messages_eng.yml → iso19115_3/iso19115_3_writer_messages_eng.yml} +1 -1
- data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/readme.md +3 -3
- data/lib/adiwg/mdtranslator/writers/iso19115_3/version.rb +12 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/readme.md +19 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_additionalDocumentation.rb +49 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_algorithm.rb +48 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_allocation.rb +114 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_associatedResource.rb +73 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attribute.rb +201 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_attributeGroup.rb +51 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_bearingDistanceResolution.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_body.rb +324 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_bodyScript.js +317 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_boundingBox.rb +69 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_citation.rb +165 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedData.rb +50 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_classedDataItem.rb +50 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_constraint.rb +118 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_contact.rb +202 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_coordinateResolution.rb +47 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_coverageInfo.rb +81 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataDictionary.rb +126 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dataQuality.rb +60 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_date.rb +42 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_datetime.rb +42 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_dimension.rb +69 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distribution.rb +58 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_distributor.rb +66 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_document.rb +63 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domain.rb +108 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_domainItem.rb +64 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_duration.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entity.rb +169 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityAttribute.rb +179 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityForeignKey.rb +55 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_entityIndex.rb +50 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_extent.rb +75 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_feature.rb +97 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureCollection.rb +82 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_featureProperties.rb +71 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_format.rb +66 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_funding.rb +60 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geodeticParameters.rb +71 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicElement.rb +79 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicExtent.rb +120 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geographicResolution.rb +47 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geologicAge.rb +71 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryCollection.rb +78 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_geometryObject.rb +46 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georectifiedRepresentation.rb +105 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_georeferenceableRepresentation.rb +91 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_graphic.rb +75 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_gridRepresentation.rb +76 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_head.rb +55 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_identifier.rb +81 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_imageInfo.rb +102 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_inlineCss.css +237 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_keyword.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_legalConstraint.rb +49 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_lineage.rb +87 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_locale.rb +47 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_maintenance.rb +96 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_measure.rb +47 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_medium.rb +90 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataInfo.rb +198 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_metadataRepository.rb +56 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_nominalResolution.rb +51 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_obliqueLinePoint.rb +37 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_onlineResource.rb +74 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_orderProcess.rb +62 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processReport.rb +47 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processStep.rb +171 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_processing.rb +89 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_projectionParameters.rb +261 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_rangeElementDescription.rb +40 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_referenceSystemParameters.rb +65 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_releasability.rb +63 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceFormat.rb +40 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceInfo.rb +485 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_resourceType.rb +38 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_responsibility.rb +81 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_scope.rb +60 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_scopeDescription.rb +54 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_securityConstraint.rb +57 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_source.rb +155 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialReference.rb +70 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialRepresentation.rb +77 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_spatialResolution.rb +95 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomy.rb +156 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_taxonomyClass.rb +75 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_temporalExtent.rb +65 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timeInstant.rb +82 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timeInterval.rb +40 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_timePeriod.rb +128 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_transferOption.rb +94 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_usage.rb +118 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_vectorObject.rb +40 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_vectorRepresentation.rb +62 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_verticalDatumParameters.rb +70 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/sections/html_verticalExtent.rb +62 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/simple_html_writer.rb +44 -0
- data/lib/adiwg/mdtranslator/writers/simple_html/version.rb +19 -0
- data/lib/adiwg/mdtranslator_cli.rb +2 -2
- metadata +221 -115
- data/lib/adiwg/mdtranslator/writers/iso19115_1/version.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee12914b52bf9c3e2d2cda21512ad9ec11d1f6130bd2c648af133d8cf34c4bb7
|
4
|
+
data.tar.gz: fea1b82372e6fa3709e232e3ce51402dd59d77513688757b2c2d04d992f9ebbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec33267110576817cb630c1e89b93ff42819221fcbf04be01f60619c156ab4b3e118f039900aec28be75defa4291c5a5d6bdf77eb1542395e864e68d2c5fda85
|
7
|
+
data.tar.gz: 594b0a6433071bd297f907886e3ef07a7bc5568cbb055dd1cb173f629412f3c2cf3beaa836842b4dd07dea777423fe94b514b4181a66342961e73395dc69e7b6
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
adiwg-mdtranslator (2.18.4)
|
5
|
+
adiwg-mdcodes (= 2.8.4)
|
6
|
+
adiwg-mdjson_schemas (= 2.8.1)
|
7
|
+
builder (~> 3.2)
|
8
|
+
coderay (~> 1.1)
|
9
|
+
jbuilder (~> 2.5)
|
10
|
+
json (~> 2.0)
|
11
|
+
json-schema (~> 2.7)
|
12
|
+
kramdown (>= 1.13, < 3.0)
|
13
|
+
nokogiri (~> 1.7)
|
14
|
+
thor (~> 0.19)
|
15
|
+
uuidtools (~> 2.1)
|
16
|
+
|
17
|
+
GEM
|
18
|
+
remote: https://rubygems.org/
|
19
|
+
specs:
|
20
|
+
actionview (5.2.8.1)
|
21
|
+
activesupport (= 5.2.8.1)
|
22
|
+
builder (~> 3.1)
|
23
|
+
erubi (~> 1.4)
|
24
|
+
rails-dom-testing (~> 2.0)
|
25
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
26
|
+
activesupport (5.2.8.1)
|
27
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
|
+
i18n (>= 0.7, < 2)
|
29
|
+
minitest (~> 5.1)
|
30
|
+
tzinfo (~> 1.1)
|
31
|
+
addressable (2.8.5)
|
32
|
+
public_suffix (>= 2.0.2, < 6.0)
|
33
|
+
adiwg-mdcodes (2.8.4)
|
34
|
+
json (~> 2.0)
|
35
|
+
adiwg-mdjson_schemas (2.8.1)
|
36
|
+
builder (3.2.4)
|
37
|
+
coderay (1.1.3)
|
38
|
+
concurrent-ruby (1.2.2)
|
39
|
+
crass (1.0.6)
|
40
|
+
erubi (1.12.0)
|
41
|
+
i18n (1.14.1)
|
42
|
+
concurrent-ruby (~> 1.0)
|
43
|
+
jbuilder (2.11.5)
|
44
|
+
actionview (>= 5.0.0)
|
45
|
+
activesupport (>= 5.0.0)
|
46
|
+
json (2.6.3)
|
47
|
+
json-schema (2.8.1)
|
48
|
+
addressable (>= 2.4)
|
49
|
+
kramdown (2.4.0)
|
50
|
+
rexml
|
51
|
+
loofah (2.21.1)
|
52
|
+
crass (~> 1.0.2)
|
53
|
+
nokogiri (>= 1.5.9)
|
54
|
+
mini_portile2 (2.4.0)
|
55
|
+
minitest (5.20.0)
|
56
|
+
nokogiri (1.10.10)
|
57
|
+
mini_portile2 (~> 2.4.0)
|
58
|
+
public_suffix (4.0.7)
|
59
|
+
rails-dom-testing (2.1.1)
|
60
|
+
activesupport (>= 5.0.0)
|
61
|
+
minitest
|
62
|
+
nokogiri (>= 1.6)
|
63
|
+
rails-html-sanitizer (1.5.0)
|
64
|
+
loofah (~> 2.19, >= 2.19.1)
|
65
|
+
rake (13.1.0)
|
66
|
+
rexml (3.2.5)
|
67
|
+
thor (0.20.3)
|
68
|
+
thread_safe (0.3.6)
|
69
|
+
tzinfo (1.2.11)
|
70
|
+
thread_safe (~> 0.1)
|
71
|
+
uuidtools (2.2.0)
|
72
|
+
|
73
|
+
PLATFORMS
|
74
|
+
arm64-darwin-22
|
75
|
+
x86_64-linux
|
76
|
+
|
77
|
+
DEPENDENCIES
|
78
|
+
adiwg-mdtranslator!
|
79
|
+
bundler (~> 2)
|
80
|
+
minitest (~> 5)
|
81
|
+
rake (~> 13)
|
82
|
+
|
83
|
+
BUNDLED WITH
|
84
|
+
2.4.21
|
data/Rakefile
CHANGED
@@ -19,8 +19,8 @@ Rake::TestTask.new do |t|
|
|
19
19
|
'test/writers/fgdc/tc*.rb',
|
20
20
|
'test/writers/html/tc*.rb',
|
21
21
|
'test/writers/iso19110/tc*.rb',
|
22
|
-
'test/writers/iso19115-1/tc*.rb',
|
23
22
|
'test/writers/iso19115-2/tc*.rb',
|
23
|
+
'test/writers/iso19115-3/tc*.rb',
|
24
24
|
'test/writers/mdJson/tc*.rb',
|
25
25
|
'test/writers/sbJson/tc*.rb',
|
26
26
|
'test/translator/tc*.rb'
|
data/adiwg-mdtranslator.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.required_ruby_version = '>= 2.3'
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 2"
|
29
|
-
spec.add_development_dependency "rake", "~>
|
29
|
+
spec.add_development_dependency "rake", "~> 13"
|
30
30
|
spec.add_development_dependency "minitest", "~> 5"
|
31
31
|
|
32
32
|
spec.add_runtime_dependency "json", "~> 2.0"
|
@@ -34,11 +34,11 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_runtime_dependency "thor", "~> 0.19"
|
35
35
|
spec.add_runtime_dependency "uuidtools", "~> 2.1"
|
36
36
|
spec.add_runtime_dependency "json-schema", "~> 2.7"
|
37
|
-
spec.add_runtime_dependency "adiwg-mdjson_schemas", "
|
38
|
-
spec.add_runtime_dependency "adiwg-mdcodes", "
|
37
|
+
spec.add_runtime_dependency "adiwg-mdjson_schemas", "2.8.1"
|
38
|
+
spec.add_runtime_dependency "adiwg-mdcodes", "2.8.4"
|
39
39
|
spec.add_runtime_dependency "jbuilder", "~> 2.5"
|
40
|
-
spec.add_runtime_dependency "kramdown", "
|
40
|
+
spec.add_runtime_dependency "kramdown", ">= 1.13", "< 3.0"
|
41
41
|
spec.add_runtime_dependency "coderay", "~> 1.1"
|
42
42
|
spec.add_runtime_dependency "nokogiri", "~> 1.7"
|
43
43
|
|
44
|
-
end
|
44
|
+
end
|
@@ -47,6 +47,14 @@ module ADIWG
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
# there is a typo in mdEditor for liabilityStatement, handle this edge case
|
51
|
+
# https://github.com/adiwg/mdEditor/blob/f94770686df07ef76aa111f8f9734b32bbad7f21/app/pods/components/object/md-distribution/template.hbs#L22
|
52
|
+
if (intDistribution[:liabilityStatement].nil? || intDistribution.empty?) && hDistribution.has_key?('liablityStatement')
|
53
|
+
unless hDistribution['liablityStatement'] == ''
|
54
|
+
intDistribution[:liabilityStatement] = hDistribution['liablityStatement']
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
50
58
|
# distribution - distributor [distributor]
|
51
59
|
if hDistribution.has_key?('distributor')
|
52
60
|
aItems = hDistribution['distributor']
|
@@ -36,7 +36,7 @@ module ADIWG
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# instance classes needed in script
|
39
|
-
# CI_Responsibility replaces CI_ResponsibleParty in 19115-
|
39
|
+
# CI_Responsibility replaces CI_ResponsibleParty in 19115-3
|
40
40
|
# Responsibility object is translated to ResponsibleParty by 19115-2 writer
|
41
41
|
intMetadataClass = InternalMetadata.new
|
42
42
|
intResParty = intMetadataClass.newResponsibility
|
@@ -37,6 +37,28 @@ module ADIWG
|
|
37
37
|
# therefore, create a separate FGDC distribution record for each distributor
|
38
38
|
# and repeat the distribution information
|
39
39
|
|
40
|
+
if hDistribution[:distributor].empty?
|
41
|
+
@xml.tag!('distinfo') do
|
42
|
+
# distribution 6.2 (resdesc) - resource description
|
43
|
+
# <- distribution.description
|
44
|
+
unless hDistribution[:description].nil?
|
45
|
+
@xml.tag!('resdesc', hDistribution[:description])
|
46
|
+
end
|
47
|
+
if hDistribution[:description].nil? && @hResponseObj[:writerShowTags]
|
48
|
+
@xml.tag!('resdesc')
|
49
|
+
end
|
50
|
+
|
51
|
+
# distribution 6.3 (distliab) - liability (required)
|
52
|
+
# <- distribution.liabilityStatement
|
53
|
+
unless hDistribution[:liabilityStatement].nil?
|
54
|
+
@xml.tag!('distliab', hDistribution[:liabilityStatement])
|
55
|
+
end
|
56
|
+
if hDistribution[:liabilityStatement].nil?
|
57
|
+
@NameSpace.issueWarning(111,'distliab')
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
40
62
|
hDistribution[:distributor].each do |hDistributor|
|
41
63
|
|
42
64
|
outContext = nil
|
@@ -68,7 +90,7 @@ module ADIWG
|
|
68
90
|
unless hDistribution[:description].nil?
|
69
91
|
@xml.tag!('resdesc', hDistribution[:description])
|
70
92
|
end
|
71
|
-
if hDistribution[:description].nil?
|
93
|
+
if hDistribution[:description].nil? && @hResponseObj[:writerShowTags]
|
72
94
|
@xml.tag!('resdesc')
|
73
95
|
end
|
74
96
|
|
@@ -140,7 +162,7 @@ module ADIWG
|
|
140
162
|
unless techPre == ''
|
141
163
|
@xml.tag!('techpreq', techPre)
|
142
164
|
end
|
143
|
-
if techPre == ''
|
165
|
+
if techPre == '' && @hResponseObj[:writerShowTags]
|
144
166
|
@xml.tag!('techpreq')
|
145
167
|
end
|
146
168
|
|
@@ -31,7 +31,7 @@ module ADIWG
|
|
31
31
|
outContext = 'entity code ' + outContext unless outContext.nil?
|
32
32
|
|
33
33
|
# entity detail 5.1.1 (enttype) - entity type
|
34
|
-
@xml.tag!('
|
34
|
+
@xml.tag!('enttyp') do
|
35
35
|
|
36
36
|
# entity type 5.1.1.1 (enttypl) - entity type label (required)
|
37
37
|
# <- entity.entityCode
|
@@ -57,6 +57,7 @@ module ADIWG
|
|
57
57
|
hTimePeriod = hStep[:timePeriod]
|
58
58
|
unless hTimePeriod.empty?
|
59
59
|
hEndDT = hTimePeriod[:endDateTime]
|
60
|
+
hEndDT = hTimePeriod[:startDateTime] if hEndDT.nil? || hEndDT.empty?
|
60
61
|
unless hEndDT.empty?
|
61
62
|
procDate = AdiwgDateTimeFun.stringDateFromDateTime(hEndDT[:dateTime], hEndDT[:dateResolution])
|
62
63
|
procTime = AdiwgDateTimeFun.stringTimeFromDateTime(hEndDT[:dateTime], hEndDT[:dateResolution])
|
@@ -135,10 +135,10 @@ module ADIWG
|
|
135
135
|
|
136
136
|
# altitude bounding (altunit) - units of altitude
|
137
137
|
unless hBBox[:unitsOfAltitude].nil?
|
138
|
-
@xml.tag!('
|
138
|
+
@xml.tag!('altunits', hBBox[:unitsOfAltitude])
|
139
139
|
end
|
140
140
|
if hBBox[:unitsOfAltitude].nil? && @hResponseObj[:writerShowTags]
|
141
|
-
@xml.tag!('
|
141
|
+
@xml.tag!('altunits')
|
142
142
|
end
|
143
143
|
|
144
144
|
end
|
@@ -190,6 +190,38 @@ module ADIWG
|
|
190
190
|
@html.br
|
191
191
|
end
|
192
192
|
|
193
|
+
# contact - external identifiers []
|
194
|
+
if hContact.key?(:externalIdentifier) && !hContact[:externalIdentifier].empty?
|
195
|
+
hContact[:externalIdentifier].each do |identifier|
|
196
|
+
@html.details do
|
197
|
+
@html.summary("External Identifier", {'class' => 'h5'})
|
198
|
+
@html.section(:class => 'block') do
|
199
|
+
@html.em('Identifier: ')
|
200
|
+
@html.text!(identifier[:identifier])
|
201
|
+
@html.br
|
202
|
+
|
203
|
+
unless identifier[:namespace].nil?
|
204
|
+
@html.em('Namespace: ')
|
205
|
+
@html.text!(identifier[:namespace])
|
206
|
+
@html.br
|
207
|
+
end
|
208
|
+
|
209
|
+
unless identifier[:version].nil?
|
210
|
+
@html.em('Version: ')
|
211
|
+
@html.text!(identifier[:version])
|
212
|
+
@html.br
|
213
|
+
end
|
214
|
+
|
215
|
+
unless identifier[:description].nil?
|
216
|
+
@html.em('Description: ')
|
217
|
+
@html.text!(identifier[:description])
|
218
|
+
@html.br
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
193
225
|
end
|
194
226
|
end
|
195
227
|
|
@@ -32,21 +32,29 @@ module ADIWG
|
|
32
32
|
end
|
33
33
|
|
34
34
|
# scope - description [] {scopeDescription}
|
35
|
-
hScope
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
unless !hScope.key?(:scopeDescriptions)
|
36
|
+
unless hScope[:scopeDescriptions].empty?
|
37
|
+
hScope[:scopeDescriptions].each do |hDescription|
|
38
|
+
@html.details do
|
39
|
+
@html.summary('Description', {'class' => 'h5'})
|
40
|
+
@html.section(:class => 'block') do
|
41
|
+
descriptionClass.writeHtml(hDescription)
|
42
|
+
end
|
43
|
+
end
|
40
44
|
end
|
41
45
|
end
|
42
46
|
end
|
43
47
|
|
44
48
|
# scope - extent [] {extent}
|
45
|
-
hScope
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
49
|
+
unless !hScope.key?(:extents)
|
50
|
+
unless hScope[:extents].empty?
|
51
|
+
hScope[:extents].each do |hExtent|
|
52
|
+
@html.details do
|
53
|
+
@html.summary('Extent', {'class' => 'h5'})
|
54
|
+
@html.section(:class => 'block') do
|
55
|
+
extentClass.writeHtml(hExtent)
|
56
|
+
end
|
57
|
+
end
|
50
58
|
end
|
51
59
|
end
|
52
60
|
end
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_additionalDocument.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> MD_AssociatedResource
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-22 original script
|
@@ -9,14 +9,14 @@ require_relative 'class_citation'
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class AdditionalDocument
|
15
15
|
|
16
16
|
def initialize(xml, hResponseObj)
|
17
17
|
@xml = xml
|
18
18
|
@hResponseObj = hResponseObj
|
19
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
19
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
20
20
|
end
|
21
21
|
|
22
22
|
def writeXML(hAdditionalDoc, inContext = nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> CI_Address
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-18 original script
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module ADIWG
|
8
8
|
module Mdtranslator
|
9
9
|
module Writers
|
10
|
-
module
|
10
|
+
module Iso19115_3
|
11
11
|
|
12
12
|
class CI_Address
|
13
13
|
|
@@ -23,9 +23,9 @@ module ADIWG
|
|
23
23
|
|
24
24
|
unless hAddress.nil?
|
25
25
|
|
26
|
-
# address - address type (not used by ISO 19115-
|
26
|
+
# address - address type (not used by ISO 19115-3)
|
27
27
|
|
28
|
-
# address - description (not used by ISO 19115-
|
28
|
+
# address - description (not used by ISO 19115-3)
|
29
29
|
|
30
30
|
# address - delivery points []
|
31
31
|
aDeliveryPoints = hAddress[:deliveryPoints]
|
@@ -1,23 +1,23 @@
|
|
1
1
|
# ISO <<Class>> LE_Algorithm
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 201-09-27 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_citation'
|
9
9
|
|
10
10
|
module ADIWG
|
11
11
|
module Mdtranslator
|
12
12
|
module Writers
|
13
|
-
module
|
13
|
+
module Iso19115_3
|
14
14
|
|
15
15
|
class LE_Algorithm
|
16
16
|
|
17
17
|
def initialize(xml, hResponseObj)
|
18
18
|
@xml = xml
|
19
19
|
@hResponseObj = hResponseObj
|
20
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
20
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
21
21
|
end
|
22
22
|
|
23
23
|
def writeXML(hAlgorithm, inContext = nil)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_associatedResource.rb
RENAMED
@@ -1,24 +1,24 @@
|
|
1
1
|
# ISO <<Class>> MD_AssociatedResource
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-25 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
9
9
|
require_relative 'class_citation'
|
10
10
|
|
11
11
|
module ADIWG
|
12
12
|
module Mdtranslator
|
13
13
|
module Writers
|
14
|
-
module
|
14
|
+
module Iso19115_3
|
15
15
|
|
16
16
|
class MD_AssociatedResource
|
17
17
|
|
18
18
|
def initialize(xml, hResponseObj)
|
19
19
|
@xml = xml
|
20
20
|
@hResponseObj = hResponseObj
|
21
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
21
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
22
22
|
end
|
23
23
|
|
24
24
|
def writeXML(hAssocRes, inContext = nil)
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> attribute group
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-08 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_rangeDimension'
|
9
9
|
require_relative 'class_sampleDimension'
|
10
10
|
require_relative 'class_mdBand'
|
@@ -13,14 +13,14 @@ require_relative 'class_miBand'
|
|
13
13
|
module ADIWG
|
14
14
|
module Mdtranslator
|
15
15
|
module Writers
|
16
|
-
module
|
16
|
+
module Iso19115_3
|
17
17
|
|
18
18
|
class Attribute
|
19
19
|
|
20
20
|
def initialize(xml, hResponseObj)
|
21
21
|
@xml = xml
|
22
22
|
@hResponseObj = hResponseObj
|
23
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
23
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
24
24
|
end
|
25
25
|
|
26
26
|
def writeXML(hAttribute, inContext = nil)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_attributeGroup.rb
RENAMED
@@ -1,24 +1,24 @@
|
|
1
1
|
# ISO <<Class>> attribute group
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-05 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
9
9
|
require_relative 'class_attribute'
|
10
10
|
|
11
11
|
module ADIWG
|
12
12
|
module Mdtranslator
|
13
13
|
module Writers
|
14
|
-
module
|
14
|
+
module Iso19115_3
|
15
15
|
|
16
16
|
class MD_AttributeGroup
|
17
17
|
|
18
18
|
def initialize(xml, hResponseObj)
|
19
19
|
@xml = xml
|
20
20
|
@hResponseObj = hResponseObj
|
21
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
21
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
22
22
|
end
|
23
23
|
|
24
24
|
def writeXML(hGroup, inContext = nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> BaseUnit
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-08 copied from 19115_2 writer
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module ADIWG
|
8
8
|
module Mdtranslator
|
9
9
|
module Writers
|
10
|
-
module
|
10
|
+
module Iso19115_3
|
11
11
|
|
12
12
|
class BaseUnit
|
13
13
|
|
@@ -1,22 +1,22 @@
|
|
1
1
|
# ISO <<Class>> EX_GeographicBoundingBox
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-19 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class EX_GeographicBoundingBox
|
15
15
|
|
16
16
|
def initialize(xml, hResponseObj)
|
17
17
|
@xml = xml
|
18
18
|
@hResponseObj = hResponseObj
|
19
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
19
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
20
20
|
end
|
21
21
|
|
22
22
|
def writeXML(hBBox)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_browseGraphic.rb
RENAMED
@@ -1,24 +1,24 @@
|
|
1
1
|
# ISO <<Class>> MD_BrowseGraphic
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-15 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_constraint'
|
9
9
|
require_relative 'class_onlineResource'
|
10
10
|
|
11
11
|
module ADIWG
|
12
12
|
module Mdtranslator
|
13
13
|
module Writers
|
14
|
-
module
|
14
|
+
module Iso19115_3
|
15
15
|
|
16
16
|
class MD_BrowseGraphic
|
17
17
|
|
18
18
|
def initialize(xml, hResponseObj)
|
19
19
|
@xml = xml
|
20
20
|
@hResponseObj = hResponseObj
|
21
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
21
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
22
22
|
end
|
23
23
|
|
24
24
|
def writeXML(hGraphic, inContext = nil)
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> CI_Citation
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-13 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
9
9
|
require_relative 'class_responsibility'
|
10
10
|
require_relative 'class_date'
|
@@ -16,14 +16,14 @@ require_relative 'class_browseGraphic'
|
|
16
16
|
module ADIWG
|
17
17
|
module Mdtranslator
|
18
18
|
module Writers
|
19
|
-
module
|
19
|
+
module Iso19115_3
|
20
20
|
|
21
21
|
class CI_Citation
|
22
22
|
|
23
23
|
def initialize(xml, hResponseObj)
|
24
24
|
@xml = xml
|
25
25
|
@hResponseObj = hResponseObj
|
26
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
26
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
27
27
|
end
|
28
28
|
|
29
29
|
def writeXML(hCitation, inContext = nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<CodeLists>>
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# from http://mdtranslator.adiwg.org/api/codelists?format=xml
|
5
5
|
# History:
|
@@ -10,7 +10,7 @@ require 'adiwg-mdcodes'
|
|
10
10
|
module ADIWG
|
11
11
|
module Mdtranslator
|
12
12
|
module Writers
|
13
|
-
module
|
13
|
+
module Iso19115_3
|
14
14
|
|
15
15
|
class MD_Codelist
|
16
16
|
|