sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/02: Document the change of ISO 19115 path for netCDF "history" and "source" attribute. https://issues.apache.org/jira/browse/SIS-361
Date Wed, 11 Jul 2018 08:51:00 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit c7949fc81912cc6a62d18a32e6cec3989aa84868
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Wed Jul 11 10:27:48 2018 +0200

    Document the change of ISO 19115 path for netCDF "history" and "source" attribute.
    https://issues.apache.org/jira/browse/SIS-361
---
 .../org/apache/sis/storage/netcdf/AttributeNames.java | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
index 6461990..c13b670 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
@@ -43,7 +43,6 @@ import org.opengis.metadata.identification.DataIdentification;
 import org.opengis.metadata.identification.TopicCategory;
 import org.opengis.metadata.identification.KeywordType;
 import org.opengis.metadata.identification.Keywords;
-import org.opengis.metadata.quality.DataQuality;
 import org.opengis.metadata.lineage.Lineage;
 import org.opengis.metadata.lineage.Source;
 import org.opengis.metadata.extent.Extent;
@@ -352,10 +351,15 @@ public class AttributeNames {
      * This is a character array with a line for each invocation of a program that has modified
the dataset.
      *
      * <p><b>Path in ISO 19115:</b></p> <ul><li>{@link
Metadata} /
-     * {@link Metadata#getDataQualityInfo() dataQualityInfo} /
-     * {@link DataQuality#getLineage() lineage} /
+     * {@link Metadata#getResourceLineages() resourceLineage} /
      * {@link Lineage#getStatement() statement}</li></ul>
      *
+     * <div class="note"><b>Note:</b>
+     * located in "{@link Metadata#getDataQualityInfo() dataQualityInfo} /
+     * {@link org.opengis.metadata.quality.DataQuality#getLineage() lineage}" instead of
"{@code resourceLineage}"
+     * in {@code UnidataDD2MI.xsl} file (retrieved in 2017).
+     * See <a href="https://issues.apache.org/jira/browse/SIS-361">SIS-361</a>.</div>
+     *
      * @see <a href="http://wiki.esipfed.org/index.php/Attribute_Convention_for_Data_Discovery#history">ESIP
reference</a>
      */
     public static final String HISTORY = ACDD.history;
@@ -364,11 +368,16 @@ public class AttributeNames {
      * The {@value} attribute name for the method of production of the original data (<em>Recommended</em>).
      *
      * <p><b>Path in ISO 19115:</b></p> <ul><li>{@link
Metadata} /
-     * {@link Metadata#getDataQualityInfo() dataQualityInfo} /
-     * {@link DataQuality#getLineage() lineage} /
+     * {@link Metadata#getResourceLineages() resourceLineage} /
      * {@link Lineage#getSources() source} /
      * {@link Source#getDescription() description}</li></ul>
      *
+     * <div class="note"><b>Note:</b>
+     * located in "{@link Metadata#getDataQualityInfo() dataQualityInfo} /
+     * {@link org.opengis.metadata.quality.DataQuality#getLineage() lineage}" instead of
"{@code resourceLineage}"
+     * in {@code UnidataDD2MI.xsl} file (retrieved in 2017).
+     * See <a href="https://issues.apache.org/jira/browse/SIS-361">SIS-361</a>.</div>
+     *
      * @see <a href="http://wiki.esipfed.org/index.php/Attribute_Convention_for_Data_Discovery#source">ESIP
reference</a>
      *
      * @since 0.8


Mime
View raw message