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
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_verticalExtent.rb
RENAMED
@@ -1,23 +1,23 @@
|
|
1
1
|
# ISO <<Class>> EX_VerticalExtent
|
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
|
require_relative 'class_referenceSystem'
|
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 EX_VerticalExtent
|
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(hVertEle)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Writer - internal data structure to ISO 19115-
|
1
|
+
# Writer - internal data structure to ISO 19115-3:2014
|
2
2
|
|
3
3
|
# History:
|
4
4
|
# Stan Smith 2019-03-12 original script
|
@@ -9,14 +9,14 @@
|
|
9
9
|
# party - multiple contactInfo{}
|
10
10
|
|
11
11
|
require 'builder'
|
12
|
-
require 'adiwg/mdtranslator/writers/
|
12
|
+
require 'adiwg/mdtranslator/writers/iso19115_3/version'
|
13
13
|
require 'adiwg/mdtranslator/internal/module_dateTimeFun'
|
14
14
|
require_relative 'classes/class_mdMetadata'
|
15
15
|
|
16
16
|
module ADIWG
|
17
17
|
module Mdtranslator
|
18
18
|
module Writers
|
19
|
-
module
|
19
|
+
module Iso19115_3
|
20
20
|
|
21
21
|
def self.startWriter(intObj, hResponseObj)
|
22
22
|
|
@@ -25,18 +25,18 @@ module ADIWG
|
|
25
25
|
@hResponseObj = hResponseObj
|
26
26
|
|
27
27
|
# load error message array
|
28
|
-
file = File.join(File.dirname(__FILE__), '
|
28
|
+
file = File.join(File.dirname(__FILE__), 'iso19115_3_writer_messages_eng') + '.yml'
|
29
29
|
hMessageList = YAML.load_file(file)
|
30
30
|
@aMessagesList = hMessageList['messageList']
|
31
31
|
|
32
32
|
# set the format of the output file based on the writer specified
|
33
33
|
hResponseObj[:writerOutputFormat] = 'xml'
|
34
|
-
hResponseObj[:writerVersion] = ADIWG::Mdtranslator::Writers::
|
34
|
+
hResponseObj[:writerVersion] = ADIWG::Mdtranslator::Writers::Iso19115_3::VERSION
|
35
35
|
|
36
36
|
# create new XML document
|
37
37
|
@xml = Builder::XmlMarkup.new(indent: 3)
|
38
38
|
|
39
|
-
# start writing the ISO 19115-
|
39
|
+
# start writing the ISO 19115-3 XML record
|
40
40
|
metadataWriter = MD_Metadata.new(@xml, hResponseObj)
|
41
41
|
metadata = metadataWriter.writeXML(intObj)
|
42
42
|
|
@@ -69,7 +69,7 @@ module ADIWG
|
|
69
69
|
message = findMessage(messageId)
|
70
70
|
unless message.nil?
|
71
71
|
message += ': CONTEXT is ' + context unless context.nil?
|
72
|
-
@hResponseObj[:writerMessages] << 'ERROR: ISO-19115-
|
72
|
+
@hResponseObj[:writerMessages] << 'ERROR: ISO-19115-3 writer: ' + message
|
73
73
|
@hResponseObj[:writerPass] = false
|
74
74
|
end
|
75
75
|
end
|
@@ -83,10 +83,10 @@ module ADIWG
|
|
83
83
|
issueError(messageId, context)
|
84
84
|
else
|
85
85
|
@xml.tag!(tag, {'gco:nilReason' => 'missing'})
|
86
|
-
@hResponseObj[:writerMessages] << 'WARNING: ISO-19115-
|
86
|
+
@hResponseObj[:writerMessages] << 'WARNING: ISO-19115-3 writer: ' + message
|
87
87
|
end
|
88
88
|
else
|
89
|
-
@hResponseObj[:writerMessages] << 'WARNING: ISO-19115-
|
89
|
+
@hResponseObj[:writerMessages] << 'WARNING: ISO-19115-3 writer: ' + message
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|
@@ -95,7 +95,7 @@ module ADIWG
|
|
95
95
|
message = findMessage(messageId)
|
96
96
|
unless message.nil?
|
97
97
|
message += ': CONTEXT is ' + context unless context.nil?
|
98
|
-
@hResponseObj[:writerMessages] << 'NOTICE: ISO-19115-
|
98
|
+
@hResponseObj[:writerMessages] << 'NOTICE: ISO-19115-3 writer: ' + message
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
|
-
##
|
2
|
+
## iso19115_3
|
3
3
|
|
4
|
-
### Writer for ISO 19115-
|
4
|
+
### Writer for ISO 19115-3:2014 Geographic Metadata
|
5
5
|
|
6
|
-
The mdTranslator
|
6
|
+
The mdTranslator iso19115_3 writer implements approximately 95% of
|
7
7
|
the for ISO 19115-3:2014 standard. Efforts were made to include all
|
8
8
|
elements of the ISO standard that support general data descriptions
|
9
9
|
to ensure generation of health and robust project and data metadata
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
## html
|
3
|
+
|
4
|
+
### Supported versions
|
5
|
+
|
6
|
+
> Supports mdTranslator version 2.x
|
7
|
+
|
8
|
+
### Writer for HTML 'human-readable' output of metadata
|
9
|
+
|
10
|
+
The HTML Metadata Record output from the mdTranslator is intended to
|
11
|
+
be a human readable version of the metadata content read in by the
|
12
|
+
translator. The HTML output does not attempt mimic any established
|
13
|
+
metadata standard but remains agnostic in its presentation.
|
14
|
+
The HTML metadata output will display the full content of the
|
15
|
+
metadata record ingested by the mdTranslator while translation to
|
16
|
+
established standards may not support all fields.
|
17
|
+
|
18
|
+
The HTML output can be conveniently embedded in a users web page to
|
19
|
+
present metadata content to visitors.
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# HTML writer
|
2
|
+
# additional documentation
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2017-04-04 refactored for mdTranslator 2.0
|
6
|
+
# Stan Smith 2015-08-21 original script
|
7
|
+
|
8
|
+
require_relative 'html_resourceType'
|
9
|
+
require_relative 'html_citation'
|
10
|
+
|
11
|
+
module ADIWG
|
12
|
+
module Mdtranslator
|
13
|
+
module Writers
|
14
|
+
module Simple_html
|
15
|
+
|
16
|
+
class Html_AdditionalDocumentation
|
17
|
+
|
18
|
+
def initialize(html)
|
19
|
+
@html = html
|
20
|
+
end
|
21
|
+
|
22
|
+
def writeHtml(hAddDoc)
|
23
|
+
|
24
|
+
# classes used
|
25
|
+
typeClass = Html_ResourceType.new(@html)
|
26
|
+
citationClass = Html_Citation.new(@html)
|
27
|
+
|
28
|
+
# additional documentation - resource type [] {resourceType}
|
29
|
+
hAddDoc[:resourceTypes].each do |hType|
|
30
|
+
typeClass.writeHtml(hType)
|
31
|
+
end
|
32
|
+
|
33
|
+
# additional documentation - citation [] {citation}
|
34
|
+
hAddDoc[:citation].each do |hCitation|
|
35
|
+
@html.div do
|
36
|
+
@html.div(hCitation[:title], {'class' => 'h5'})
|
37
|
+
@html.div(:class => 'block') do
|
38
|
+
citationClass.writeHtml(hCitation)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
end # writeHtml
|
44
|
+
end # Html_AdditionalDocumentation
|
45
|
+
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# HTML writer
|
2
|
+
# algorithm
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2019-09-24 original script
|
6
|
+
|
7
|
+
require_relative 'html_citation'
|
8
|
+
|
9
|
+
module ADIWG
|
10
|
+
module Mdtranslator
|
11
|
+
module Writers
|
12
|
+
module Simple_html
|
13
|
+
|
14
|
+
class Html_Algorithm
|
15
|
+
|
16
|
+
def initialize(html)
|
17
|
+
@html = html
|
18
|
+
end
|
19
|
+
|
20
|
+
def writeHtml(hAlgorithm)
|
21
|
+
|
22
|
+
# classes used
|
23
|
+
citationClass = Html_Citation.new(@html)
|
24
|
+
|
25
|
+
# algorithm - description
|
26
|
+
unless hAlgorithm[:description].nil?
|
27
|
+
@html.em('Description: ')
|
28
|
+
@html.text!(hAlgorithm[:description])
|
29
|
+
@html.br
|
30
|
+
end
|
31
|
+
|
32
|
+
# algorithm - citation {citation}
|
33
|
+
unless hAlgorithm[:citation].empty?
|
34
|
+
@html.div do
|
35
|
+
@html.div('Algorithm citation', {'class' => 'h5'})
|
36
|
+
@html.div(:class => 'block') do
|
37
|
+
citationClass.writeHtml(hAlgorithm[:citation])
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end # writeHtml
|
43
|
+
end # Html_Algorithm
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# HTML writer
|
2
|
+
# allocation
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2017-08-31 refactored for mdJson 2.3 schema update
|
6
|
+
# Stan Smith 2017-04-04 original script
|
7
|
+
|
8
|
+
require_relative 'html_responsibility'
|
9
|
+
require_relative 'html_onlineResource'
|
10
|
+
|
11
|
+
module ADIWG
|
12
|
+
module Mdtranslator
|
13
|
+
module Writers
|
14
|
+
module Simple_html
|
15
|
+
|
16
|
+
class Html_Allocation
|
17
|
+
|
18
|
+
def initialize(html)
|
19
|
+
@html = html
|
20
|
+
end
|
21
|
+
|
22
|
+
def writeHtml(hAllocation)
|
23
|
+
|
24
|
+
# classes used
|
25
|
+
responsibilityClass = Html_Responsibility.new(@html)
|
26
|
+
onlineClass = Html_OnlineResource.new(@html)
|
27
|
+
|
28
|
+
# allocation - id
|
29
|
+
unless hAllocation[:id].nil?
|
30
|
+
@html.em('Source Allocation ID: ')
|
31
|
+
@html.text!(hAllocation[:id])
|
32
|
+
@html.br
|
33
|
+
end
|
34
|
+
|
35
|
+
# allocation - amount
|
36
|
+
unless hAllocation[:amount].nil?
|
37
|
+
@html.em('Amount: ')
|
38
|
+
@html.text!(hAllocation[:amount].to_s)
|
39
|
+
@html.br
|
40
|
+
end
|
41
|
+
|
42
|
+
# allocation - currency
|
43
|
+
unless hAllocation[:currency].nil?
|
44
|
+
@html.em('Currency: ')
|
45
|
+
@html.text!(hAllocation[:currency])
|
46
|
+
@html.br
|
47
|
+
end
|
48
|
+
|
49
|
+
# allocation - sourceId
|
50
|
+
unless hAllocation[:sourceId].nil?
|
51
|
+
hContact = Html_Document.getContact(hAllocation[:sourceId])
|
52
|
+
@html.em('Source Contact: ')
|
53
|
+
if hContact.empty?
|
54
|
+
@html.text!("Contact #{hAllocation[:sourceId]} not found!")
|
55
|
+
else
|
56
|
+
@html.a(hContact[:contactId], 'href' => '#CID_'+hContact[:contactId])
|
57
|
+
end
|
58
|
+
@html.br
|
59
|
+
end
|
60
|
+
|
61
|
+
# allocation - recipientId
|
62
|
+
unless hAllocation[:recipientId].nil?
|
63
|
+
hContact = Html_Document.getContact(hAllocation[:recipientId])
|
64
|
+
@html.em('Recipient Contact: ')
|
65
|
+
if hContact.empty?
|
66
|
+
@html.text!("Contact #{hAllocation[:recipientId]} not found!")
|
67
|
+
else
|
68
|
+
@html.a(hContact[:contactId], 'href' => '#CID_'+hContact[:contactId])
|
69
|
+
end
|
70
|
+
@html.br
|
71
|
+
end
|
72
|
+
|
73
|
+
# allocation - matching {Boolean}
|
74
|
+
unless hAllocation[:matching].nil?
|
75
|
+
@html.em('Matching Funds Provided: ')
|
76
|
+
@html.text!(hAllocation[:matching].to_s)
|
77
|
+
@html.br
|
78
|
+
end
|
79
|
+
|
80
|
+
# allocation - responsible parties [] {responsibleParty}
|
81
|
+
hAllocation[:responsibleParties].each do |hResponsibility|
|
82
|
+
@html.div do
|
83
|
+
@html.div(hResponsibility[:roleName], 'class' => 'h5')
|
84
|
+
@html.div(:class => 'block') do
|
85
|
+
responsibilityClass.writeHtml(hResponsibility)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# allocation - online resource [] {onlineResource}
|
91
|
+
hAllocation[:onlineResources].each do |hOnline|
|
92
|
+
@html.div do
|
93
|
+
@html.div('Online Resource', {'class' => 'h5'})
|
94
|
+
@html.div(:class => 'block') do
|
95
|
+
onlineClass.writeHtml(hOnline)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# allocation - comment
|
101
|
+
unless hAllocation[:comment].nil?
|
102
|
+
@html.em('Comment: ')
|
103
|
+
@html.div(:class => 'block') do
|
104
|
+
@html.text!(hAllocation[:comment])
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
end # writeHtml
|
109
|
+
end # Html_Allocation
|
110
|
+
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# HTML writer
|
2
|
+
# associated resource
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2017-04-04 refactored for mdTranslator 2.0
|
6
|
+
# Stan Smith 2015-08-21 original script
|
7
|
+
|
8
|
+
require_relative 'html_resourceType'
|
9
|
+
require_relative 'html_citation'
|
10
|
+
|
11
|
+
module ADIWG
|
12
|
+
module Mdtranslator
|
13
|
+
module Writers
|
14
|
+
module Simple_html
|
15
|
+
|
16
|
+
class Html_AssociatedResource
|
17
|
+
|
18
|
+
def initialize(html)
|
19
|
+
@html = html
|
20
|
+
end
|
21
|
+
|
22
|
+
def writeHtml(hResource)
|
23
|
+
|
24
|
+
# classes used
|
25
|
+
typeClass = Html_ResourceType.new(@html)
|
26
|
+
citationClass = Html_Citation.new(@html)
|
27
|
+
|
28
|
+
# associated resource - resource type
|
29
|
+
hResource[:resourceTypes].each do |hType|
|
30
|
+
typeClass.writeHtml(hType)
|
31
|
+
end
|
32
|
+
|
33
|
+
# associated resource - association type {associationTypeCode}
|
34
|
+
unless hResource[:associationType].nil?
|
35
|
+
@html.em('Association type: ')
|
36
|
+
@html.text!(hResource[:associationType])
|
37
|
+
@html.br
|
38
|
+
end
|
39
|
+
|
40
|
+
# associated resource - initiative type {initiativeTypeCode}
|
41
|
+
unless hResource[:initiativeType].nil?
|
42
|
+
@html.em('Initiative type: ')
|
43
|
+
@html.text!(hResource[:initiativeType])
|
44
|
+
@html.br
|
45
|
+
end
|
46
|
+
|
47
|
+
# associated resource - resource citation {citation}
|
48
|
+
unless hResource[:resourceCitation].empty?
|
49
|
+
@html.div do
|
50
|
+
@html.div('Resource citation', {'class' => 'h5'})
|
51
|
+
@html.div(:class => 'block') do
|
52
|
+
citationClass.writeHtml(hResource[:resourceCitation])
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# associated resource - metadata citation
|
58
|
+
unless hResource[:metadataCitation].empty?
|
59
|
+
@html.div do
|
60
|
+
@html.div('Metadata citation', {'class' => 'h5'})
|
61
|
+
@html.div(:class => 'block') do
|
62
|
+
citationClass.writeHtml(hResource[:metadataCitation])
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
end # writeHtml
|
68
|
+
end # Html_AssociatedResource
|
69
|
+
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,201 @@
|
|
1
|
+
# HTML writer
|
2
|
+
# attribute
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2017-04-02 original script
|
6
|
+
|
7
|
+
require_relative 'html_identifier'
|
8
|
+
require_relative 'html_rangeElementDescription'
|
9
|
+
|
10
|
+
module ADIWG
|
11
|
+
module Mdtranslator
|
12
|
+
module Writers
|
13
|
+
module Simple_html
|
14
|
+
|
15
|
+
class Html_Attribute
|
16
|
+
|
17
|
+
def initialize(html)
|
18
|
+
@html = html
|
19
|
+
end
|
20
|
+
|
21
|
+
def writeHtml(hAttribute)
|
22
|
+
# classes used
|
23
|
+
identifierClass = Html_Identifier.new(@html)
|
24
|
+
rangeElementDescriptionClass = Html_RangeElementDescription.new(@html)
|
25
|
+
|
26
|
+
# attribute - sequence identifier
|
27
|
+
unless hAttribute[:sequenceIdentifier].nil?
|
28
|
+
@html.em('Sequence Identifier: ')
|
29
|
+
@html.text!(hAttribute[:sequenceIdentifier])
|
30
|
+
@html.br
|
31
|
+
end
|
32
|
+
|
33
|
+
# attribute - sequence identifier type
|
34
|
+
unless hAttribute[:sequenceIdentifierType].nil?
|
35
|
+
@html.em('Sequence Identifier Type: ')
|
36
|
+
@html.text!(hAttribute[:sequenceIdentifierType])
|
37
|
+
@html.br
|
38
|
+
end
|
39
|
+
|
40
|
+
# attribute - attribute description
|
41
|
+
unless hAttribute[:attributeDescription].nil?
|
42
|
+
@html.em('Attribute Description:')
|
43
|
+
@html.div(:class => 'block') do
|
44
|
+
@html.text!(hAttribute[:attributeDescription])
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# attribute - attribute identifiers [] {identifier}
|
49
|
+
hAttribute[:attributeIdentifiers].each do |hIdentifier|
|
50
|
+
@html.div do
|
51
|
+
@html.div('Identifier', 'class' => 'h5')
|
52
|
+
@html.div(:class => 'block') do
|
53
|
+
identifierClass.writeHtml(hIdentifier)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# attribute - minimum value
|
59
|
+
unless hAttribute[:minValue].nil?
|
60
|
+
@html.em('Minimum Value: ')
|
61
|
+
@html.text!(hAttribute[:minValue].to_s)
|
62
|
+
@html.br
|
63
|
+
end
|
64
|
+
|
65
|
+
# attribute - maximum value
|
66
|
+
unless hAttribute[:maxValue].nil?
|
67
|
+
@html.em('Maximum Value: ')
|
68
|
+
@html.text!(hAttribute[:maxValue].to_s)
|
69
|
+
@html.br
|
70
|
+
end
|
71
|
+
|
72
|
+
# attribute - units
|
73
|
+
unless hAttribute[:units].nil?
|
74
|
+
@html.em('Units: ')
|
75
|
+
@html.text!(hAttribute[:units])
|
76
|
+
@html.br
|
77
|
+
end
|
78
|
+
|
79
|
+
# attribute - scale factor
|
80
|
+
unless hAttribute[:scaleFactor].nil?
|
81
|
+
@html.em('Scale Factor: ')
|
82
|
+
@html.text!(hAttribute[:scaleFactor].to_s)
|
83
|
+
@html.br
|
84
|
+
end
|
85
|
+
|
86
|
+
# attribute - offset
|
87
|
+
unless hAttribute[:offset].nil?
|
88
|
+
@html.em('Offset: ')
|
89
|
+
@html.text!(hAttribute[:offset].to_s)
|
90
|
+
@html.br
|
91
|
+
end
|
92
|
+
|
93
|
+
# attribute - mean value
|
94
|
+
unless hAttribute[:meanValue].nil?
|
95
|
+
@html.em('Mean Value: ')
|
96
|
+
@html.text!(hAttribute[:meanValue].to_s)
|
97
|
+
@html.br
|
98
|
+
end
|
99
|
+
|
100
|
+
# attribute - number of values
|
101
|
+
unless hAttribute[:numberOfValues].nil?
|
102
|
+
@html.em('Number of Values: ')
|
103
|
+
@html.text!(hAttribute[:numberOfValues].to_s)
|
104
|
+
@html.br
|
105
|
+
end
|
106
|
+
|
107
|
+
# attribute - standard deviation
|
108
|
+
unless hAttribute[:standardDeviation].nil?
|
109
|
+
@html.em('Standard Deviation: ')
|
110
|
+
@html.text!(hAttribute[:standardDeviation].to_s)
|
111
|
+
@html.br
|
112
|
+
end
|
113
|
+
|
114
|
+
# attribute - bits per value
|
115
|
+
unless hAttribute[:bitsPerValue].nil?
|
116
|
+
@html.em('Bits Per Value: ')
|
117
|
+
@html.text!(hAttribute[:bitsPerValue].to_s)
|
118
|
+
@html.br
|
119
|
+
end
|
120
|
+
|
121
|
+
# attribute - range element description
|
122
|
+
hAttribute[:rangeElementDescription].each do |red|
|
123
|
+
@html.div do
|
124
|
+
@html.div('Range Element Description', 'class' => 'h5')
|
125
|
+
@html.div(:class => 'block') do
|
126
|
+
rangeElementDescriptionClass.writeHtml(red)
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# attribute - bound minimum
|
132
|
+
unless hAttribute[:boundMinimum].nil?
|
133
|
+
@html.em('Bound Minimum: ')
|
134
|
+
@html.text!(hAttribute[:boundMinimum].to_s)
|
135
|
+
@html.br
|
136
|
+
end
|
137
|
+
|
138
|
+
# attribute - bound maximum
|
139
|
+
unless hAttribute[:boundMaximum].nil?
|
140
|
+
@html.em('Bound Maximum: ')
|
141
|
+
@html.text!(hAttribute[:boundMaximum].to_s)
|
142
|
+
@html.br
|
143
|
+
end
|
144
|
+
|
145
|
+
# attribute - peak response
|
146
|
+
unless hAttribute[:peakResponse].nil?
|
147
|
+
@html.em('Peak Response: ')
|
148
|
+
@html.text!(hAttribute[:peakResponse].to_s)
|
149
|
+
@html.br
|
150
|
+
end
|
151
|
+
|
152
|
+
# attribute - tone gradations
|
153
|
+
unless hAttribute[:toneGradations].nil?
|
154
|
+
@html.em('Tone Gradations: ')
|
155
|
+
@html.text!(hAttribute[:toneGradations].to_s)
|
156
|
+
@html.br
|
157
|
+
end
|
158
|
+
|
159
|
+
# attribute - band boundary definitions
|
160
|
+
unless hAttribute[:bandBoundaryDefinition].nil?
|
161
|
+
@html.em('Band Boundary Definition:')
|
162
|
+
@html.div(:class => 'block') do
|
163
|
+
@html.text!(hAttribute[:bandBoundaryDefinition])
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# attribute - nominal spatial resolution
|
168
|
+
unless hAttribute[:nominalSpatialResolution].nil?
|
169
|
+
@html.em('Nominal Spatial Resolution: ')
|
170
|
+
@html.text!(hAttribute[:nominalSpatialResolution].to_s)
|
171
|
+
@html.br
|
172
|
+
end
|
173
|
+
|
174
|
+
# attribute - transfer function type
|
175
|
+
unless hAttribute[:transferFunctionType].nil?
|
176
|
+
@html.em('Transfer Function Type: ')
|
177
|
+
@html.text!(hAttribute[:transferFunctionType])
|
178
|
+
@html.br
|
179
|
+
end
|
180
|
+
|
181
|
+
# attribute - transmitted polarization
|
182
|
+
unless hAttribute[:transmittedPolarization].nil?
|
183
|
+
@html.em('Transmitted Polarization: ')
|
184
|
+
@html.text!(hAttribute[:transmittedPolarization])
|
185
|
+
@html.br
|
186
|
+
end
|
187
|
+
|
188
|
+
# attribute - detected polarization
|
189
|
+
unless hAttribute[:detectedPolarization].nil?
|
190
|
+
@html.em('Detected Polarization: ')
|
191
|
+
@html.text!(hAttribute[:detectedPolarization])
|
192
|
+
@html.br
|
193
|
+
end
|
194
|
+
|
195
|
+
end # writeHtml
|
196
|
+
end # Html_Attribute
|
197
|
+
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|