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
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> MD_Constraint
|
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_useConstraints'
|
9
9
|
require_relative 'class_legalConstraints'
|
10
10
|
require_relative 'class_securityConstraints'
|
@@ -12,14 +12,14 @@ require_relative 'class_securityConstraints'
|
|
12
12
|
module ADIWG
|
13
13
|
module Mdtranslator
|
14
14
|
module Writers
|
15
|
-
module
|
15
|
+
module Iso19115_3
|
16
16
|
|
17
17
|
class Constraint
|
18
18
|
|
19
19
|
def initialize(xml, hResponseObj)
|
20
20
|
@xml = xml
|
21
21
|
@hResponseObj = hResponseObj
|
22
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
22
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
23
23
|
end
|
24
24
|
|
25
25
|
def writeXML(hConstraint, inContext = nil)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_constraintCommon.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> MD_Constraints (Use Constraint)
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-15 original script
|
@@ -13,7 +13,7 @@ require_relative 'class_responsibility'
|
|
13
13
|
module ADIWG
|
14
14
|
module Mdtranslator
|
15
15
|
module Writers
|
16
|
-
module
|
16
|
+
module Iso19115_3
|
17
17
|
|
18
18
|
class ConstraintCommon
|
19
19
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> CI_Contact
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-14 original script
|
@@ -12,7 +12,7 @@ require_relative 'class_onlineResource'
|
|
12
12
|
module ADIWG
|
13
13
|
module Mdtranslator
|
14
14
|
module Writers
|
15
|
-
module
|
15
|
+
module Iso19115_3
|
16
16
|
|
17
17
|
class CI_Contact
|
18
18
|
|
@@ -58,7 +58,7 @@ module ADIWG
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# contact - email address [] {CI_Address}
|
61
|
-
# in 19115-
|
61
|
+
# in 19115-3 email addresses are associated with mailing addresses
|
62
62
|
# in mdJson email addresses are associated with the contact
|
63
63
|
# so email addresses are written into a separate address block for the contact
|
64
64
|
unless hContact[:eMailList].empty?
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_conventionalUnit.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> ConventionalUnit
|
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 ConventionalUnit
|
13
13
|
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_coverageDescription.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<abstract class>> coverage description
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-05 original script.
|
@@ -10,14 +10,14 @@ require_relative 'class_attributeGroup'
|
|
10
10
|
module ADIWG
|
11
11
|
module Mdtranslator
|
12
12
|
module Writers
|
13
|
-
module
|
13
|
+
module Iso19115_3
|
14
14
|
|
15
15
|
class MD_CoverageDescription
|
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(hCoverage)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_dataIdentification.rb
RENAMED
@@ -1,12 +1,12 @@
|
|
1
1
|
# ISO <<Class>> MD_DataIdentification
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-21 original script
|
6
6
|
|
7
7
|
require 'adiwg/mdtranslator/internal/internal_metadata_obj'
|
8
8
|
require 'adiwg/mdtranslator/internal/module_codelistFun'
|
9
|
-
require_relative '../
|
9
|
+
require_relative '../iso19115_3_writer'
|
10
10
|
require_relative 'class_codelist'
|
11
11
|
require_relative 'class_citation'
|
12
12
|
require_relative 'class_responsibility'
|
@@ -25,14 +25,14 @@ require_relative 'class_locale'
|
|
25
25
|
module ADIWG
|
26
26
|
module Mdtranslator
|
27
27
|
module Writers
|
28
|
-
module
|
28
|
+
module Iso19115_3
|
29
29
|
|
30
30
|
class MD_DataIdentification
|
31
31
|
|
32
32
|
def initialize(xml, hResponseObj)
|
33
33
|
@xml = xml
|
34
34
|
@hResponseObj = hResponseObj
|
35
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
35
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
36
36
|
end
|
37
37
|
|
38
38
|
def writeXML(hMetadata)
|
@@ -173,7 +173,7 @@ module ADIWG
|
|
173
173
|
end
|
174
174
|
end
|
175
175
|
end
|
176
|
-
# only allow valid ISO 19115-
|
176
|
+
# only allow valid ISO 19115-3 topic categories to be written
|
177
177
|
aTopics.each do |topic|
|
178
178
|
if CodelistFun.validateItem('iso_topicCategory', topic)
|
179
179
|
@xml.tag!('mri:topicCategory') do
|
@@ -4,7 +4,7 @@ require_relative 'class_citation'
|
|
4
4
|
module ADIWG
|
5
5
|
module Mdtranslator
|
6
6
|
module Writers
|
7
|
-
module
|
7
|
+
module Iso19115_3
|
8
8
|
|
9
9
|
class DQ_DataQuality
|
10
10
|
def initialize(xml, hResponseObj)
|
@@ -17,12 +17,19 @@ module ADIWG
|
|
17
17
|
reportClass = DataQualityReport.new(@xml, @hResponseObj)
|
18
18
|
citationClass = CI_Citation.new(@xml, @hResponseObj)
|
19
19
|
|
20
|
+
codeListValue = nil
|
21
|
+
unless hDataQuality[:scope].empty?
|
22
|
+
unless hDataQuality[:scope][:scopeCode].nil?
|
23
|
+
codeListValue = hDataQuality[:scope][:scopeCode]
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
20
27
|
@xml.tag!('mdq:DQ_DataQuality') do
|
21
28
|
|
22
29
|
@xml.tag!('mdq:scope') do
|
23
30
|
@xml.tag!('mcc:MD_Scope') do
|
24
31
|
@xml.tag!('mcc:level') do
|
25
|
-
@xml.tag!('mcc:MD_ScopeCode', codeList: "http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode", codeListValue:
|
32
|
+
@xml.tag!('mcc:MD_ScopeCode', codeList: "http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode", codeListValue: codeListValue)
|
26
33
|
end
|
27
34
|
end
|
28
35
|
end
|
@@ -1,24 +1,24 @@
|
|
1
1
|
# ISO <<Class>> CI_Date
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-14 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
9
9
|
require_relative 'class_gcoDateTime'
|
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 CI_Date
|
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(hDate, inContext = nil)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_definitionUnit.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> UnitDefinition
|
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 UnitDefinition
|
13
13
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> DerivedUnit
|
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 DerivedUnit
|
13
13
|
|
@@ -1,24 +1,24 @@
|
|
1
1
|
# ISO <<Class>> MD_Dimension
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-16 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
9
9
|
require_relative 'class_measure'
|
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_Dimension
|
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(hDim, inContext = nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> MD_Distribution
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-09 original script
|
@@ -9,7 +9,7 @@ require_relative 'class_distributor'
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class MD_Distribution
|
15
15
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> MD_Distributor
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-09 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_responsibility'
|
9
9
|
require_relative 'class_orderProcess'
|
10
10
|
require_relative 'class_transferOptions'
|
@@ -12,14 +12,14 @@ require_relative 'class_transferOptions'
|
|
12
12
|
module ADIWG
|
13
13
|
module Mdtranslator
|
14
14
|
module Writers
|
15
|
-
module
|
15
|
+
module Iso19115_3
|
16
16
|
|
17
17
|
class MD_Distributor
|
18
18
|
|
19
19
|
def initialize(xml, hResponseObj)
|
20
20
|
@xml = xml
|
21
21
|
@hResponseObj = hResponseObj
|
22
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
22
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
23
23
|
end
|
24
24
|
|
25
25
|
def writeXML(hDistributor)
|
@@ -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 Email
|
13
13
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> EX_Extent
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-15 original script
|
@@ -11,7 +11,7 @@ require_relative 'class_verticalExtent'
|
|
11
11
|
module ADIWG
|
12
12
|
module Mdtranslator
|
13
13
|
module Writers
|
14
|
-
module
|
14
|
+
module Iso19115_3
|
15
15
|
|
16
16
|
class EX_Extent
|
17
17
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# GeoJSON Feature
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-20 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_point'
|
9
9
|
require_relative 'class_lineString'
|
10
10
|
require_relative 'class_polygon'
|
@@ -16,14 +16,14 @@ require_relative 'class_geometryCollection'
|
|
16
16
|
module ADIWG
|
17
17
|
module Mdtranslator
|
18
18
|
module Writers
|
19
|
-
module
|
19
|
+
module Iso19115_3
|
20
20
|
|
21
21
|
class Feature
|
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(hGeoObject)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCatalog.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<abstract class>> MD_FeatureCatalogue
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-08-20 original script.
|
@@ -9,14 +9,14 @@ require_relative '../../iso19110/iso19110_writer'
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class MD_FeatureCatalogue
|
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(intObj,whichDict)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureCollection.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# GeoJson FeatureCollection
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-20 original script
|
@@ -9,7 +9,7 @@ require_relative 'class_feature'
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class FeatureCollection
|
15
15
|
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_featureProperties.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# GeoJSON Feature Properties
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-20 original script
|
@@ -9,7 +9,7 @@ require_relative 'class_gmlIdentifier'
|
|
9
9
|
module ADIWG
|
10
10
|
module Mdtranslator
|
11
11
|
module Writers
|
12
|
-
module
|
12
|
+
module Iso19115_3
|
13
13
|
|
14
14
|
class FeatureProperties
|
15
15
|
|
@@ -1,23 +1,23 @@
|
|
1
1
|
# ISO <<Class>> MD_Format
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-22 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 MD_Format
|
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(hFormat, inContext = nil)
|
@@ -1,22 +1,22 @@
|
|
1
1
|
# ISO <<Class>> MD_RepresentativeFraction
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-21 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 MD_RepresentativeFraction
|
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(denominator, inContext = nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> Date, DateTime
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-14 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 GcoDateTime
|
13
13
|
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicElement.rb
RENAMED
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> geographicElement {abstract}
|
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_point'
|
9
9
|
require_relative 'class_lineString'
|
10
10
|
require_relative 'class_polygon'
|
@@ -18,14 +18,14 @@ require_relative 'class_featureCollection'
|
|
18
18
|
module ADIWG
|
19
19
|
module Mdtranslator
|
20
20
|
module Writers
|
21
|
-
module
|
21
|
+
module Iso19115_3
|
22
22
|
|
23
23
|
class GeographicElement
|
24
24
|
|
25
25
|
def initialize(xml, hResponseObj)
|
26
26
|
@xml = xml
|
27
27
|
@hResponseObj = hResponseObj
|
28
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
28
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
29
29
|
end
|
30
30
|
|
31
31
|
def writeXML(aGeoElement)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geographicExtent.rb
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ISO <<Class>> geographicElement {abstract}
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-19 original script
|
@@ -11,7 +11,7 @@ require_relative 'class_geographicElement'
|
|
11
11
|
module ADIWG
|
12
12
|
module Mdtranslator
|
13
13
|
module Writers
|
14
|
-
module
|
14
|
+
module Iso19115_3
|
15
15
|
|
16
16
|
class GeographicExtent
|
17
17
|
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometricObjects.rb
RENAMED
@@ -4,20 +4,20 @@
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-16 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_codelist'
|
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 MD_GeometricObjects
|
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(hGeoObj, inContext = nil)
|
data/lib/adiwg/mdtranslator/writers/{iso19115_1 → iso19115_3}/classes/class_geometryCollection.rb
RENAMED
@@ -1,10 +1,10 @@
|
|
1
1
|
# GeoJSON GeometryCollection
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-03-20 original script
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_point'
|
9
9
|
require_relative 'class_lineString'
|
10
10
|
require_relative 'class_polygon'
|
@@ -16,14 +16,14 @@ require_relative 'class_featureProperties'
|
|
16
16
|
module ADIWG
|
17
17
|
module Mdtranslator
|
18
18
|
module Writers
|
19
|
-
module
|
19
|
+
module Iso19115_3
|
20
20
|
|
21
21
|
class GeometryCollection
|
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(hGeoObject, hProperties, objId)
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# ISO <<Class>> MD_Georectified
|
2
|
-
# 19115-
|
2
|
+
# 19115-3 writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
5
|
# Stan Smith 2019-04-16 original script.
|
6
6
|
|
7
|
-
require_relative '../
|
7
|
+
require_relative '../iso19115_3_writer'
|
8
8
|
require_relative 'class_grid'
|
9
9
|
require_relative 'class_point'
|
10
10
|
require_relative 'class_scope'
|
@@ -12,14 +12,14 @@ require_relative 'class_scope'
|
|
12
12
|
module ADIWG
|
13
13
|
module Mdtranslator
|
14
14
|
module Writers
|
15
|
-
module
|
15
|
+
module Iso19115_3
|
16
16
|
|
17
17
|
class MD_Georectified
|
18
18
|
|
19
19
|
def initialize(xml, hResponseObj)
|
20
20
|
@xml = xml
|
21
21
|
@hResponseObj = hResponseObj
|
22
|
-
@NameSpace = ADIWG::Mdtranslator::Writers::
|
22
|
+
@NameSpace = ADIWG::Mdtranslator::Writers::Iso19115_3
|
23
23
|
end
|
24
24
|
|
25
25
|
def writeXML(hGeoRec, inContext = nil)
|