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 bf613f9a3f8ea94eec52dda29f6fd1c265c5b3c2 Author: Martin Desruisseaux <[email protected]> AuthorDate: Fri Sep 5 12:29:38 2025 +0200 Remove the links to the old version (2015) of WKT 2 specification. Do not replace by newer version (2019) for avoiding maintenance cost, especially since the links were often referencing specific sections. --- .../main/org/apache/sis/io/wkt/Convention.java | 9 +---- .../org/apache/sis/io/wkt/FormattableObject.java | 6 +--- .../main/org/apache/sis/io/wkt/Formatter.java | 8 +---- .../apache/sis/io/wkt/GeodeticObjectParser.java | 42 ++++++++-------------- .../org/apache/sis/io/wkt/MathTransformParser.java | 2 -- .../main/org/apache/sis/io/wkt/Transliterator.java | 1 - .../main/org/apache/sis/io/wkt/WKTFormat.java | 6 +--- .../main/org/apache/sis/io/wkt/package-info.java | 11 ++---- .../sis/parameter/DefaultParameterValue.java | 2 -- .../org/apache/sis/parameter/TensorParameters.java | 4 +-- .../sis/referencing/AbstractIdentifiedObject.java | 16 +++------ .../main/org/apache/sis/referencing/CRS.java | 10 +++--- .../sis/referencing/ImmutableIdentifier.java | 2 -- .../apache/sis/referencing/crs/AbstractCRS.java | 3 -- .../sis/referencing/crs/DefaultCompoundCRS.java | 5 +-- .../sis/referencing/crs/DefaultDerivedCRS.java | 2 -- .../sis/referencing/crs/DefaultEngineeringCRS.java | 2 -- .../sis/referencing/crs/DefaultGeocentricCRS.java | 2 -- .../sis/referencing/crs/DefaultGeographicCRS.java | 2 -- .../sis/referencing/crs/DefaultImageCRS.java | 2 -- .../sis/referencing/crs/DefaultParametricCRS.java | 2 -- .../sis/referencing/crs/DefaultProjectedCRS.java | 2 -- .../sis/referencing/crs/DefaultTemporalCRS.java | 2 -- .../sis/referencing/crs/DefaultVerticalCRS.java | 2 -- .../org/apache/sis/referencing/cs/AbstractCS.java | 2 -- .../sis/referencing/cs/CoordinateSystems.java | 3 +- .../cs/DefaultCoordinateSystemAxis.java | 2 -- .../sis/referencing/cs/DirectionAlongMeridian.java | 2 -- .../sis/referencing/datum/DefaultEllipsoid.java | 2 -- .../referencing/datum/DefaultEngineeringDatum.java | 2 -- .../referencing/datum/DefaultGeodeticDatum.java | 2 -- .../sis/referencing/datum/DefaultImageDatum.java | 2 -- .../referencing/datum/DefaultParametricDatum.java | 2 -- .../referencing/datum/DefaultPrimeMeridian.java | 2 -- .../referencing/datum/DefaultTemporalDatum.java | 2 -- .../referencing/datum/DefaultVerticalDatum.java | 2 -- .../referencing/factory/GeodeticObjectFactory.java | 2 -- .../operation/AbstractCoordinateOperation.java | 2 -- .../operation/DefaultOperationMethod.java | 2 -- .../transform/DefaultMathTransformFactory.java | 3 +- .../apache/sis/referencing/privy/WKTKeywords.java | 3 -- .../report/CoordinateOperationMethods.java | 8 ++--- .../main/org/apache/sis/util/Characters.java | 1 - .../main/org/apache/sis/util/privy/URLs.java | 5 --- 44 files changed, 37 insertions(+), 159 deletions(-) diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Convention.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Convention.java index 559f1dab1c..3ec6461a05 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Convention.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Convention.java @@ -70,8 +70,6 @@ public enum Convention { * * <p>This is the default convention used by {@link FormattableObject#toWKT()} * and for new {@link WKTFormat} instances.</p> - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> */ WKT2(false, true, false), @@ -114,16 +112,13 @@ public enum Convention { * <p>This was the default convention used by {@link FormattableObject#toWKT()} * in Apache <abbr>SIS</abbr> versions prior to 1.5.</p> * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * * @since 1.5 */ WKT2_2015(false, true, false), /** * The OGC 01-009 format, also known as “WKT 1”. - * A definition for this format is shown in Extended Backus Naur Form (EBNF) - * <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">on GeoAPI</a>. + * A definition for this format is shown in Extended Backus Naur Form (EBNF) in OGC 01-009. * * <p>Unless otherwise specified by {@link WKTFormat#setNameAuthority(Citation)}, projections * and parameters formatted with this convention will use the {@linkplain Citations#OGC OGC} @@ -156,8 +151,6 @@ public enum Convention { * <tr><td>Geocentric</td> <td><var>X</var>, <var>Y</var>, <var>Z</var></td> <td><var>X</var>, <var>Y</var>, <var>Z</var></td></tr> * </table> * </div></div> - * - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> */ WKT1(true, true, false), diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/FormattableObject.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/FormattableObject.java index cf4deea26f..89f6451925 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/FormattableObject.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/FormattableObject.java @@ -63,11 +63,7 @@ import org.apache.sis.system.Environment; * * @author Martin Desruisseaux (IRD, Geomatys) * @version 1.5 - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> - * - * @since 0.4 + * @since 0.4 */ @XmlTransient public abstract class FormattableObject implements Printable { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java index 345354868a..86b8fbf7cb 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java @@ -109,11 +109,7 @@ import org.opengis.referencing.ObjectDomain; * * @author Martin Desruisseaux (IRD, Geomatys) * @version 1.5 - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> - * - * @since 0.4 + * @since 0.4 */ public class Formatter implements Localized { /** @@ -1508,8 +1504,6 @@ public class Formatter implements Localized { * {@code append(Units.KILOMETRE)} will append "{@code LengthUnit["km", 1000]}" to the WKT. * * @param unit the unit to append to the WKT, or {@code null} if none. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#35">WKT 2 specification §7.4</a> */ @SuppressWarnings("StringEquality") public void append(final Unit<?> unit) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java index 166abda4dd..0de3f4ed76 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java @@ -1125,8 +1125,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "PrimeMeridian"} element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#53">WKT 2 specification §8.2.2</a>. + * Parses a {@code "PrimeMeridian"} element. * * The legacy WKT 1 pattern was: * @@ -1202,8 +1201,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses an {@code "Ellipsoid"} element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#52">WKT 2 specification §8.2.1</a>. + * Parses an {@code "Ellipsoid"} element. * * The legacy WKT 1 pattern was: * @@ -1304,8 +1302,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "Method"} (WKT 2) element, followed by parameter values. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#62">WKT 2 specification §9.3</a>. + * Parses a {@code "Method"} (WKT 2) element, followed by parameter values. * * The legacy WKT 1 specification was: * @@ -1379,8 +1376,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "Datum"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#54">WKT 2 specification §8.2.4</a>. + * Parses a {@code "Datum"} (WKT 2) element. * * The legacy WKT 1 pattern was: * @@ -1420,8 +1416,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "VerticalDatum"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#71">WKT 2 specification §10.2</a>. + * Parses a {@code "VerticalDatum"} (WKT 2) element. * * The legacy WKT 1 pattern was: * @@ -1517,8 +1512,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "EngineeringDatum"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#76">WKT 2 specification §11.2</a>. + * Parses a {@code "EngineeringDatum"} (WKT 2) element. * * The legacy WKT 1 pattern was: * @@ -1555,8 +1549,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses an {@code "ImageDatum"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#81">WKT 2 specification §12.2</a>. + * Parses an {@code "ImageDatum"} (WKT 2) element. * * @param mode {@link #FIRST}, {@link #OPTIONAL} or {@link #MANDATORY}. * @param parent the parent element. @@ -1575,8 +1568,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "EngineeringCRS"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#74">WKT 2 specification §11</a>. + * Parses a {@code "EngineeringCRS"} (WKT 2) element. * * The legacy WKT 1 pattern was: * @@ -1656,8 +1648,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses an {@code "ImageCRS"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#79">WKT 2 specification §12</a>. + * Parses an {@code "ImageCRS"} (WKT 2) element. * * @param mode {@link #FIRST}, {@link #OPTIONAL} or {@link #MANDATORY}. * @param parent the parent element. @@ -1687,8 +1678,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "GeodeticCRS"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#49">WKT 2 specification §8</a>. + * Parses a {@code "GeodeticCRS"} (WKT 2) element. * * The legacy WKT 1 specification had two elements for this: * @@ -1866,8 +1856,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "VerticalCRS"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#69">WKT 2 specification §10</a>. + * Parses a {@code "VerticalCRS"} (WKT 2) element. * * The legacy WKT 1 pattern was: * @@ -2081,8 +2070,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "ProjectedCRS"} (WKT 2) element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#57">WKT 2 specification §9</a>. + * Parses a {@code "ProjectedCRS"} (WKT 2) element. * * The legacy WKT 1 specification was: * @@ -2162,8 +2150,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "CompoundCRS"} element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#110">WKT 2 specification §16</a>. + * Parses a {@code "CompoundCRS"} element. * * The legacy WKT 1 specification was: * @@ -2286,8 +2273,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo } /** - * Parses a {@code "CoordinateOperation"} element. The syntax is given by - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#113">WKT 2 specification §17</a>. + * Parses a {@code "CoordinateOperation"} element. * * @param mode {@link #FIRST}, {@link #OPTIONAL} or {@link #MANDATORY}. * @param parent the parent element. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/MathTransformParser.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/MathTransformParser.java index 0226437ebc..59fe947a89 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/MathTransformParser.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/MathTransformParser.java @@ -55,8 +55,6 @@ import org.apache.sis.measure.Units; * @author Rémi Eve (IRD) * @author Martin Desruisseaux (IRD, Geomatys) * @author Rueben Schulz (UBC) - * - * @see <a href="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html">Well Know Text specification</a> */ class MathTransformParser extends AbstractParser { /** diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Transliterator.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Transliterator.java index b12f86da33..6d47f0ba38 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Transliterator.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Transliterator.java @@ -92,7 +92,6 @@ import org.apache.sis.util.Characters; * @version 1.1 * * @see org.apache.sis.util.Characters#isValidWKT(int) - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#39">WKT 2 specification §7.5.3</a> * * @since 0.6 */ diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/WKTFormat.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/WKTFormat.java index 62390ce515..72c02f399d 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/WKTFormat.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/WKTFormat.java @@ -123,11 +123,7 @@ import org.opengis.metadata.Identifier; * @author Martin Desruisseaux (Geomatys) * @author Rémi Eve (IRD) * @version 1.5 - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> - * - * @since 0.4 + * @since 0.4 */ public class WKTFormat extends CompoundFormat<Object> { /** diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/package-info.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/package-info.java index 11366b18e5..d69973a63e 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/package-info.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/package-info.java @@ -47,10 +47,9 @@ * Referencing WKT is defined using Extended Backus Naur Form (EBNF) in two versions: * <ul> * <li>ISO 19162 defines the current format, also known as “WKT 2”. The specification is also made - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">available online</a> by OGC.</li> + * <a href="https://www.ogc.org/standards/wkt-crs/">available online</a> by OGC.</li> * <li>The previous format — “WKT 1” — was defined in the <a href="https://www.ogc.org/standards/ct">OGC - * document 01-009</a>. This definition is - * <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">shown on GeoAPI</a>.</li> + * document 01-009</a>.</li> * </ul> * * The WKT 1 format has been interpreted differently by various implementers. @@ -84,10 +83,6 @@ * @author Rémi Eve (IRD) * @author Rueben Schulz (UBC) * @version 1.5 - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> - * - * @since 0.4 + * @since 0.4 */ package org.apache.sis.io.wkt; diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterValue.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterValue.java index e71221c146..315009eda6 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterValue.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterValue.java @@ -1072,8 +1072,6 @@ convert: if (componentType != null) { * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "Parameter"} or {@code "ParameterFile"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#119">WKT 2 specification §17.2.4</a> */ @Override @SuppressWarnings("LocalVariableHidesMemberVariable") diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/TensorParameters.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/TensorParameters.java index a69f5e35f1..5134018ad4 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/TensorParameters.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/TensorParameters.java @@ -201,9 +201,7 @@ public class TensorParameters<E> implements Serializable { public static final TensorParameters<Double> ALPHANUM; /** - * Parses and creates matrix parameters with names matching the - * <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Well Known Text</a> - * version 1 (WKT 1) convention. + * Parses and creates matrix parameters with names matching the Well Known Text version 1 (WKT 1) convention. * * <ul> * <li>First parameter is {@code "num_row"}.</li> diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/AbstractIdentifiedObject.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/AbstractIdentifiedObject.java index 4237b39dc9..720f251bcb 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/AbstractIdentifiedObject.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/AbstractIdentifiedObject.java @@ -99,15 +99,10 @@ import org.opengis.referencing.ObjectDomain; * <h2>Instantiation</h2> * This class is conceptually <i>abstract</i>, even if it is technically possible to instantiate it. * Applications should instead instantiate the most specific subclass having a name starting by {@code Default}. - * However, exceptions to this rule may occur when it is not possible to identify the exact type. + * However, exceptions to this rule may occur when it is not possible to identify the exact type + * (e.g. sometime with the version 1 of <i>Well Known Text</i> format). * - * <div class="note"><b>Example:</b> - * It is sometimes not possible to infer the exact coordinate system type from - * <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">version 1 - * of <i>Well Known Text</i> format</a>, for example when parsing a {@code LOCAL_CS} element. - * In such exceptional situation, a plain {@code AbstractCS} object may be instantiated.</div> - * - * {@code IdentifiedObject} instances are created in two main ways: + * <p>{@code IdentifiedObject} instances are created in two main ways:</p> * * <ul> * <li>Using an {@link ObjectFactory}, in which case all properties can be explicitly specified.</li> @@ -668,8 +663,7 @@ public class AbstractIdentifiedObject extends FormattableObject implements Ident * </ul> * * <h4>Future evolutions</h4> - * This method implements recommendations from the - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#139">WKT 2 specification §B.5.2</a>, + * This method implements recommendations from the <abbr>WKT</abbr> 2 specification, * together with heuristic rules learned from experience while trying to provide inter-operability * with different data producers. Those rules may be adjusted in any future SIS version according experience * gained while working with more data producers. @@ -930,8 +924,6 @@ public class AbstractIdentifiedObject extends FormattableObject implements Ident * @param formatter the formatter where to format the inner content of this WKT element. * @return the {@linkplain org.apache.sis.io.wkt.KeywordCase#CAMEL_CASE CamelCase} keyword * for the WKT element, or {@code null} if unknown. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#21">WKT 2 specification §7</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java index c093240378..85a52f9802 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java @@ -349,7 +349,7 @@ public final class CRS extends Static { * @see org.apache.sis.io.wkt.WKTFormat * @see GeodeticObjectFactory#createFromWKT(String) * @see org.apache.sis.geometry.Envelopes#fromWKT(CharSequence) - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> + * @see <a href="https://www.ogc.org/standards/wkt-crs/">WKT 2 specification</a> * * @since 0.6 */ @@ -404,8 +404,8 @@ public final class CRS extends Static { * {@code AUTHORITY["EPSG", "3857"]]} * </blockquote> * - * In such cases, Apache SIS behavior in {@link #fromWKT(String)}, {@link #fromXML(String)} and other methods is - * conform to the <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">ISO 19162 specification</a>: + * In such cases, Apache SIS behavior in {@link #fromWKT(String)}, {@link #fromXML(String)} and other methods + * is conform to the <a href="https://www.ogc.org/standards/wkt-crs/"><abbr>WKT</abbr> 2 specification</a>: * * <blockquote><q>Should any attributes or values given in the cited identifier be in conflict with attributes * or values given explicitly in the WKT description, the WKT values shall prevail.</q></blockquote> @@ -1201,9 +1201,7 @@ choice: if (intersect != 0) { * <ul> * <li>is an instance of {@link GeographicCRS} (or an equivalent {@link GeodeticCRS}), or</li> * <li>is an instance of {@link ProjectedCRS}, or</li> - * <li>is an instance of {@link EngineeringCRS} (following - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#111">ISO 19162 §16.1</a> - * definition of {@literal <horizontal crs>}).</li> + * <li>is an instance of {@link EngineeringCRS} (following <abbr>WKT</abbr> 2 definition of {@literal <horizontal crs>}).</li> * </ul> * * In case of doubt, this method conservatively returns {@code false}. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/ImmutableIdentifier.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/ImmutableIdentifier.java index a66b32941c..864357dacc 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/ImmutableIdentifier.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/ImmutableIdentifier.java @@ -451,8 +451,6 @@ public class ImmutableIdentifier extends FormattableObject implements Identifier * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "Id"} (WKT 2) or {@code "Authority"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#33">WKT 2 specification §7.3.4</a> */ @Override @SuppressWarnings("LocalVariableHidesMemberVariable") diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/AbstractCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/AbstractCRS.java index df9ddc56eb..698925cc67 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/AbstractCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/AbstractCRS.java @@ -463,9 +463,6 @@ public class AbstractCRS extends AbstractReferenceSystem implements CoordinateRe * </ul> * * @return {@inheritDoc} - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java index 9cd24a1aa5..d6abe1b8be 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java @@ -455,8 +455,7 @@ public class DefaultCompoundCRS extends AbstractCRS implements CompoundCRS { /** * Returns {@code true} if the sequence of single components is conform to the ISO 19162 restrictions. - * The <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#111">WKT 2 specification at §16.1</a> - * restricts {@code CompoundCRS} to the following components in that order: + * The WKT 2 specification restricts {@code CompoundCRS} to the following components in that order: * * <ul> * <li>A mandatory horizontal CRS (only one of two-dimensional {@code GeographicCRS} @@ -620,8 +619,6 @@ public class DefaultCompoundCRS extends AbstractCRS implements CompoundCRS { * SIS does not check if this CRS is compliant with the above-cited restrictions. * * @return {@code "CompoundCRS"} (WKT 2) or {@code "Compd_CS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#110">WKT 2 specification §16</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultDerivedCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultDerivedCRS.java index 69f517b7eb..7973e5ed0d 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultDerivedCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultDerivedCRS.java @@ -535,8 +535,6 @@ public class DefaultDerivedCRS extends AbstractDerivedCRS implements DerivedCRS * Formats the inner part of the <i>Well Known Text</i> (WKT) representation of this CRS. * * @return {@code "Fitted_CS"} (WKT 1) or a type-dependent keyword (WKT 2). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#93">WKT 2 specification §15</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java index 3872c76e63..95c51219cc 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultEngineeringCRS.java @@ -270,8 +270,6 @@ public class DefaultEngineeringCRS extends AbstractSingleCRS<EngineeringDatum> i * Formats this CRS as a <i>Well Known Text</i> {@code EngineeringCRS[…]} element. * * @return {@code "EngineeringCRS"} (WKT 2) or {@code "Local_CS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#74">WKT 2 specification §11</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java index d33a7d34d8..1ae98e3ffb 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeocentricCRS.java @@ -333,8 +333,6 @@ public class DefaultGeocentricCRS extends DefaultGeodeticCRS { * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "GeodeticCRS"} (WKT 2) or {@code "GeocCS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#49">WKT 2 specification §8</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeographicCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeographicCRS.java index e366e344f4..72cd05a3d1 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeographicCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultGeographicCRS.java @@ -402,8 +402,6 @@ public class DefaultGeographicCRS extends DefaultGeodeticCRS implements Geograph * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "GeodeticCRS"} (WKT 2) or {@code "GeogCS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#49">WKT 2 specification §8</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultImageCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultImageCRS.java index 885a1679bd..7ecf7a1fc8 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultImageCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultImageCRS.java @@ -177,8 +177,6 @@ public final class DefaultImageCRS extends AbstractSingleCRS<DefaultImageDatum> * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "ImageCRS"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#79">WKT 2 specification §12</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultParametricCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultParametricCRS.java index 5fedc4597a..e0334e0404 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultParametricCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultParametricCRS.java @@ -268,8 +268,6 @@ public class DefaultParametricCRS extends AbstractSingleCRS<ParametricDatum> imp * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "ParametricCRS"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#83">WKT 2 specification</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultProjectedCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultProjectedCRS.java index bb17a910a4..25ad210d3d 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultProjectedCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultProjectedCRS.java @@ -391,8 +391,6 @@ public class DefaultProjectedCRS extends AbstractDerivedCRS implements Projected * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "ProjectedCRS"} (WKT 2) or {@code "ProjCS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#57">WKT 2 specification §9</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultTemporalCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultTemporalCRS.java index 5445374ec4..11f109ec18 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultTemporalCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultTemporalCRS.java @@ -508,8 +508,6 @@ public class DefaultTemporalCRS extends AbstractSingleCRS<TemporalDatum> impleme * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "TimeCRS"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#88">WKT 2 specification §14</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultVerticalCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultVerticalCRS.java index 7e1653920d..7fe47b27fa 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultVerticalCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultVerticalCRS.java @@ -262,8 +262,6 @@ public class DefaultVerticalCRS extends AbstractSingleCRS<VerticalDatum> impleme * Formats this CRS as a <i>Well Known Text</i> {@code VerticalCRS[…]} element. * * @return {@code "VerticalCRS"} (WKT 2) or {@code "Vert_CS"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#69">WKT 2 specification §10</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/AbstractCS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/AbstractCS.java index 11321ae857..bf475d5164 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/AbstractCS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/AbstractCS.java @@ -638,8 +638,6 @@ next: for (final CoordinateSystemAxis axis : axes) { * * @param formatter the formatter where to format the inner content of this WKT element. * @return {@code "CS"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#36">WKT 2 specification §7.5</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/CoordinateSystems.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/CoordinateSystems.java index 825261842a..85cabcae27 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/CoordinateSystems.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/CoordinateSystems.java @@ -132,8 +132,7 @@ public final class CoordinateSystems extends Static { * {@linkplain org.apache.sis.referencing.datum.DefaultGeodeticDatum geodetic reference frame} of the * {@linkplain org.apache.sis.referencing.crs.DefaultGeographicCRS geographic CRS} instance * that contains (through its coordinate system) the axes having those directions. - * This policy is consistent with - * <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#40">WKT 2 specification §7.5.4(iv)</a>. + * This policy is consistent with <abbr>WKT</abbr> 2 specification. * * <h4>Example</h4> * {@code directionAlongMeridian(AxisDirection.SOUTH, -90)} returns an axis direction for diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DefaultCoordinateSystemAxis.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DefaultCoordinateSystemAxis.java index c73bb74027..e3f9e39ec8 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DefaultCoordinateSystemAxis.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DefaultCoordinateSystemAxis.java @@ -723,8 +723,6 @@ public class DefaultCoordinateSystemAxis extends AbstractIdentifiedObject implem * {@link org.apache.sis.io.wkt.WKTFormat#setTransliterator(Transliterator)}. * * @return {@code "Axis"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#39">WKT 2 specification §7.5.3</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DirectionAlongMeridian.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DirectionAlongMeridian.java index b3144991cb..057a80d215 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DirectionAlongMeridian.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/cs/DirectionAlongMeridian.java @@ -296,8 +296,6 @@ final class DirectionAlongMeridian extends FormattableObject implements Comparab * * @param formatter The formatter where to format the inner content of this WKT element. * @return {@code "Meridian"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#40">WKT 2 specification §7.5.4</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEllipsoid.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEllipsoid.java index d062f44a98..7315aae9b1 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEllipsoid.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEllipsoid.java @@ -695,8 +695,6 @@ public class DefaultEllipsoid extends AbstractIdentifiedObject implements Ellips * Formats this ellipsoid as a <i>Well Known Text</i> {@code Ellipsoid[…]} element. * * @return {@code "Ellipsoid"} (WKT 2) or {@code "Spheroid"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#52">WKT 2 specification §8.2.1</a> */ @Override @SuppressWarnings("LocalVariableHidesMemberVariable") diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java index 5e161c9876..d16159f328 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultEngineeringDatum.java @@ -156,8 +156,6 @@ public class DefaultEngineeringDatum extends AbstractDatum implements Engineerin * Formats this datum as a <i>Well Known Text</i> {@code EngineeringDatum[…]} element. * * @return {@code "EngineeringDatum"} (WKT 2) or {@code "Local_Datum"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#76">WKT 2 specification §11.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java index 35f0d7501a..f3810b4eca 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultGeodeticDatum.java @@ -741,8 +741,6 @@ public class DefaultGeodeticDatum extends AbstractDatum implements GeodeticDatum * as a separated element after the geodetic reference frame (for compatibility with WKT 1). * * @return {@code "Datum"} or {@code "GeodeticDatum"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#51">WKT 2 specification §8.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultImageDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultImageDatum.java index 36f705d391..97c61996f2 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultImageDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultImageDatum.java @@ -181,8 +181,6 @@ public final class DefaultImageDatum extends AbstractDatum { * {@code ImageDatum} is defined in the WKT 2 specification only. * * @return {@code "ImageDatum"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#81">WKT 2 specification §12.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultParametricDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultParametricDatum.java index 1037b5b9d0..0f4272d196 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultParametricDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultParametricDatum.java @@ -167,8 +167,6 @@ public class DefaultParametricDatum extends AbstractDatum implements ParametricD * {@code ParametricDatum} is defined in the WKT 2 specification only. * * @return {@code "ParametricDatum"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#83">WKT 2 specification</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java index 83f9b56b1c..2e1c286114 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultPrimeMeridian.java @@ -363,8 +363,6 @@ public class DefaultPrimeMeridian extends AbstractIdentifiedObject implements Pr * Formats this prime meridian as a <i>Well Known Text</i> {@code PrimeMeridian[…]} element. * * @return {@code "PrimeMeridian"} (WKT 2) or {@code "PrimeM"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#53">WKT 2 specification §8.2.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultTemporalDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultTemporalDatum.java index ed8814e498..52fffaee63 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultTemporalDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultTemporalDatum.java @@ -260,8 +260,6 @@ public class DefaultTemporalDatum extends AbstractDatum implements TemporalDatum * {@code TimeDatum} is defined in the WKT 2 specification only. * * @return {@code "TimeDatum"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#90">WKT 2 specification §14.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultVerticalDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultVerticalDatum.java index 214fe8f0c7..3063f0d003 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultVerticalDatum.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DefaultVerticalDatum.java @@ -377,8 +377,6 @@ public class DefaultVerticalDatum extends AbstractDatum implements VerticalDatum * They were reintroduced in a different form ({@link RealizationMethod}) in the ISO 19111:2019 standard. * * @return {@code "VerticalDatum"} (WKT 2) or {@code "Vert_Datum"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#71">WKT 2 specification §10.2</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java index 04e856c1d1..373dd67588 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/GeodeticObjectFactory.java @@ -1833,8 +1833,6 @@ public class GeodeticObjectFactory extends AbstractFactory implements CRSFactory * * @see org.apache.sis.io.wkt * @see org.apache.sis.referencing.CRS#fromWKT(String) - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> */ @Override public CoordinateReferenceSystem createFromWKT(final String wkt) throws FactoryException { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/AbstractCoordinateOperation.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/AbstractCoordinateOperation.java index e1d0e580b4..c96d0cb1ed 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/AbstractCoordinateOperation.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/AbstractCoordinateOperation.java @@ -949,8 +949,6 @@ check: for (int isTarget=0; ; isTarget++) { // 0 == source check; 1 * * @param formatter the formatter to use. * @return {@code "CoordinateOperation"}. - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#113">WKT 2 specification §17</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/DefaultOperationMethod.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/DefaultOperationMethod.java index 8a202cff50..d8584e6075 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/DefaultOperationMethod.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/DefaultOperationMethod.java @@ -470,8 +470,6 @@ public class DefaultOperationMethod extends AbstractIdentifiedObject implements * Formats this operation as a <i>Well Known Text</i> {@code Method[…]} element. * * @return {@code "Method"} (WKT 2) or {@code "Projection"} (WKT 1). - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#118">WKT 2 specification §17.2.3</a> */ @Override protected String formatTo(final Formatter formatter) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java index 5e0417e51f..c1dee42c2f 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java @@ -1005,8 +1005,7 @@ public class DefaultMathTransformFactory extends AbstractFactory implements Math } /** - * Creates a math transform object from a - * <a href="http://www.geoapi.org/snapshot/javadoc/org/opengis/referencing/doc-files/WKT.html">Well Known Text (WKT)</a>. + * Creates a math transform object from a Well Known Text (<abbr>WKT</abbr>). * If the given text contains non-fatal anomalies (unknown or unsupported WKT elements, * inconsistent unit definitions, <i>etc.</i>), warnings may be reported in a * {@linkplain java.util.logging.Logger logger} named {@code "org.apache.sis.io.wkt"}. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/privy/WKTKeywords.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/privy/WKTKeywords.java index 2780d8f56c..5e95187704 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/privy/WKTKeywords.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/privy/WKTKeywords.java @@ -38,9 +38,6 @@ import org.apache.sis.util.ArraysExt; * * @author Martin Desruisseaux (Geomatys) * @author Johann Sorel (Geomatys) - * - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html">WKT 2 specification</a> - * @see <a href="http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html">Legacy WKT 1</a> */ public final class WKTKeywords extends Static { /** diff --git a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java index 1f042b80f2..fc5e93bc1e 100644 --- a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java +++ b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java @@ -153,9 +153,9 @@ public class CoordinateOperationMethods extends HTMLGenerator { domainOfValidity = Map.of(); // TODO: not yet available. rangeFormat = new RangeFormat(LOCALE); final int header = openTag("header"); - println("h1", "Apache SIS™ Coordinate Operation Methods"); + println("h1", "Apache <abbr title=\"Spatial Information System\">SIS</abbr>™ Coordinate Operation Methods"); int item = openTag("p"); - println("The following tables summarize the coordinate operation methods known to Apache SIS " + Version.SIS); + println("The following tables summarize the coordinate operation methods known to Apache <abbr title=\"Spatial Information System\">SIS</abbr> " + Version.SIS); println("together with the recognized parameters. There are three kinds of parameters:"); closeTags(item); openTag("ul", "verbose"); @@ -163,8 +163,8 @@ public class CoordinateOperationMethods extends HTMLGenerator { println("The <code>semi-major</code> and <code>semi-minor</code> parameters are needed for all map projections,"); println("but usually do not need to be specified explicitly since they are inferred from the ellipsoid"); println("(unless <a href=\"https://sis.apache.org/apidocs/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.html\">creating parameterized transforms directly</a>)."); - println("For this reason, those parameters are usually not shown in <a href=\"" + URLs.EPSG + "\">EPSG repository</a>"); - println("or <a href=\"" + URLs.WKT_SPECIFICATION + "\">Well Known Text</a> (WKT) definitions."); + println("For this reason, those parameters are usually not shown in <a href=\"" + URLs.EPSG + "\"><abbr>EPSG</abbr> repository</a>"); + println("or <a href=\"https://www.ogc.org/standards/wkt-crs/\">Well Known Text</a> (<abbr>WKT</abbr>) definitions."); reopenTag("li"); println("The <code>earth_radius</code> and <code>inverse_flattening</code> parameters (not shown below) are implicitly supported by all map projections."); println("They are other ways to specify the ellipsoid (actually rarely used)."); diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/Characters.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/Characters.java index 05626f96d3..edc97b6218 100644 --- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/Characters.java +++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/Characters.java @@ -325,7 +325,6 @@ public final class Characters extends Static { * * @see java.lang.Character.Subset * @see Character#getType(int) - * @see <a href="http://docs.opengeospatial.org/is/12-063r5/12-063r5.html#139">WKT 2 specification §B.5</a> * * @since 0.3 */ diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/privy/URLs.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/privy/URLs.java index d22f797337..1d1b56e5a2 100644 --- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/privy/URLs.java +++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/privy/URLs.java @@ -51,11 +51,6 @@ public final class URLs extends Static { */ public static final String OPERATION_METHODS = "https://sis.apache.org/tables/CoordinateOperationMethods.html"; - /** - * The Well-Known Text (WKT) 2 specification implemented by Apache SIS. - */ - public static final String WKT_SPECIFICATION = "http://docs.opengeospatial.org/is/12-063r5/12-063r5.html"; - /** * Do not allow instantiation of this class. */
