| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (21) on Thu Oct 05 19:54:57 CEST 2023 --> |
| <title>CommonAuthorityFactory (Apache SIS 1.4 API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2023-10-05"> |
| <meta name="description" content="declaration: module: org.apache.sis.referencing, package: org.apache.sis.referencing.factory, class: CommonAuthorityFactory"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <meta name="keywords" content="org.apache.sis.referencing.factory.CommonAuthorityFactory class"> |
| <meta name="keywords" content="getAuthority()"> |
| <meta name="keywords" content="getAuthorityCodes()"> |
| <meta name="keywords" content="getCodeSpaces()"> |
| <meta name="keywords" content="getDescriptionText()"> |
| <meta name="keywords" content="createObject()"> |
| <meta name="keywords" content="createCoordinateReferenceSystem()"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../sis.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var pathtoroot = "../../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"><button id="navbar-toggle-button" aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation links"><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span><span class="nav-bar-toggle-icon"> </span></button> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../../../../../module-summary.html">Module</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| <ul class="sub-nav-list-small"> |
| <li> |
| <p>Summary:</p> |
| <ul> |
| <li>Nested</li> |
| <li>Field</li> |
| <li><a href="#constructor-summary">Constr</a></li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| </li> |
| <li> |
| <p>Detail:</p> |
| <ul> |
| <li>Field</li> |
| <li><a href="#constructor-detail">Constr</a></li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div id="navbar-sub-list"> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><a href="../../../../../../search.html">SEARCH</a> |
| <input type="text" id="search-input" disabled placeholder="Search"> |
| <input type="reset" id="reset-button" disabled value="reset"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="module-label-in-type">Module</span> <a href="../../../../../module-summary.html">org.apache.sis.referencing</a></div> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.sis.referencing.factory</a></div> |
| <h1 title="Class CommonAuthorityFactory" class="title">Class CommonAuthorityFactory</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> |
| <div class="inheritance"><a href="../../../../../../org.apache.sis.metadata/org/apache/sis/util/iso/AbstractFactory.html" title="class in org.apache.sis.util.iso">AbstractFactory</a> |
| <div class="inheritance"><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a> |
| <div class="inheritance">CommonAuthorityFactory</div> |
| </div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html" title="class or interface in org.opengis.referencing" class="external-link">AuthorityFactory</a></code>, <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CRSAuthorityFactory</a></code>, <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/Factory.html" title="class or interface in org.opengis.util" class="external-link">Factory</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">CommonAuthorityFactory</span> |
| <span class="extends-implements">extends <a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a> |
| implements <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CRSAuthorityFactory</a></span></div> |
| <div class="block">Creates coordinate reference systems in the "<code>OGC</code>", "<code>CRS</code>" or <code>"AUTO(2)"</code> namespaces. |
| All namespaces recognized by this factory are defined by the Open Geospatial Consortium (OGC). |
| Most codes map to one of the constants in the <a href="../CommonCRS.html" title="enum class in org.apache.sis.referencing"><code>CommonCRS</code></a> enumeration. |
| |
| <table class="sis"> |
| <caption>Recognized Coordinate Reference System codes</caption> |
| <tr> |
| <th>Namespace</th> |
| <th>Code</th> |
| <th>Name</th> |
| <th>Datum type</th> |
| <th>CS type</th> |
| <th>Axis direction</th> |
| <th>Units</th> |
| </tr><tr> |
| <td>CRS</td> |
| <td>1</td> |
| <td>Computer display</td> |
| <td><a href="../crs/DefaultEngineeringCRS.html" title="class in org.apache.sis.referencing.crs">Engineering</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, south)</td> |
| <td>pixels</td> |
| </tr><tr> |
| <td>CRS</td> |
| <td>27</td> |
| <td>NAD27</td> |
| <td><a href="../crs/DefaultGeographicCRS.html" title="class in org.apache.sis.referencing.crs">Geographic</a></td> |
| <td><a href="../cs/DefaultEllipsoidalCS.html" title="class in org.apache.sis.referencing.cs">Ellipsoidal</a></td> |
| <td>(east, north)</td> |
| <td>degrees</td> |
| </tr><tr> |
| <td>CRS</td> |
| <td>83</td> |
| <td>NAD83</td> |
| <td><a href="../crs/DefaultGeographicCRS.html" title="class in org.apache.sis.referencing.crs">Geographic</a></td> |
| <td><a href="../cs/DefaultEllipsoidalCS.html" title="class in org.apache.sis.referencing.cs">Ellipsoidal</a></td> |
| <td>(east, north)</td> |
| <td>degrees</td> |
| </tr><tr> |
| <td>CRS</td> |
| <td>84</td> |
| <td>WGS84</td> |
| <td><a href="../crs/DefaultGeographicCRS.html" title="class in org.apache.sis.referencing.crs">Geographic</a></td> |
| <td><a href="../cs/DefaultEllipsoidalCS.html" title="class in org.apache.sis.referencing.cs">Ellipsoidal</a></td> |
| <td>(east, north)</td> |
| <td>degrees</td> |
| </tr><tr> |
| <td>CRS</td> |
| <td>88</td> |
| <td>NAVD88</td> |
| <td><a href="../crs/DefaultVerticalCRS.html" title="class in org.apache.sis.referencing.crs">Vertical</a></td> |
| <td><a href="../cs/DefaultVerticalCS.html" title="class in org.apache.sis.referencing.cs">Vertical</a></td> |
| <td>up</td> |
| <td>metres</td> |
| </tr><tr> |
| <td>AUTO2</td> |
| <td>42001</td> |
| <td>WGS 84 / Auto UTM</td> |
| <td><a href="../crs/DefaultProjectedCRS.html" title="class in org.apache.sis.referencing.crs">Projected</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, north)</td> |
| <td>user-specified</td> |
| </tr><tr> |
| <td>AUTO2</td> |
| <td>42002</td> |
| <td>WGS 84 / Auto Tr Mercator</td> |
| <td><a href="../crs/DefaultProjectedCRS.html" title="class in org.apache.sis.referencing.crs">Projected</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, north)</td> |
| <td>user-specified</td> |
| </tr><tr> |
| <td>AUTO2</td> |
| <td>42003</td> |
| <td>WGS 84 / Auto Orthographic</td> |
| <td><a href="../crs/DefaultProjectedCRS.html" title="class in org.apache.sis.referencing.crs">Projected</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, north)</td> |
| <td>user-specified</td> |
| </tr><tr> |
| <td>AUTO2</td> |
| <td>42004</td> |
| <td>WGS 84 / Auto Equirectangular</td> |
| <td><a href="../crs/DefaultProjectedCRS.html" title="class in org.apache.sis.referencing.crs">Projected</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, north)</td> |
| <td>user-specified</td> |
| </tr><tr> |
| <td>AUTO2</td> |
| <td>42005</td> |
| <td>WGS 84 / Auto Mollweide</td> |
| <td><a href="../crs/DefaultProjectedCRS.html" title="class in org.apache.sis.referencing.crs">Projected</a></td> |
| <td><a href="../cs/DefaultCartesianCS.html" title="class in org.apache.sis.referencing.cs">Cartesian</a></td> |
| <td>(east, north)</td> |
| <td>user-specified</td> |
| </tr><tr> |
| <td>OGC</td> |
| <td>JulianDate</td> |
| <td>Julian</td> |
| <td><a href="../crs/DefaultTemporalCRS.html" title="class in org.apache.sis.referencing.crs">Temporal</a></td> |
| <td><a href="../cs/DefaultTimeCS.html" title="class in org.apache.sis.referencing.cs">Time</a></td> |
| <td>(future)</td> |
| <td>days</td> |
| </tr><tr> |
| <td>OGC</td> |
| <td>TruncatedJulianDate</td> |
| <td>Truncated Julian</td> |
| <td><a href="../crs/DefaultTemporalCRS.html" title="class in org.apache.sis.referencing.crs">Temporal</a></td> |
| <td><a href="../cs/DefaultTimeCS.html" title="class in org.apache.sis.referencing.cs">Time</a></td> |
| <td>(future)</td> |
| <td>days</td> |
| </tr><tr> |
| <td>OGC</td> |
| <td>UnixTime</td> |
| <td>Unix Time</td> |
| <td><a href="../crs/DefaultTemporalCRS.html" title="class in org.apache.sis.referencing.crs">Temporal</a></td> |
| <td><a href="../cs/DefaultTimeCS.html" title="class in org.apache.sis.referencing.cs">Time</a></td> |
| <td>(future)</td> |
| <td>seconds</td> |
| </tr> |
| </table> |
| |
| <h2 id="note-on-codes-in-crs-namespace-heading">Note on codes in CRS namespace</h2> |
| The format is usually "<code>CRS:</code><var>n</var>" where <var>n</var> is a number like 27, 83 or 84. |
| However, this factory is lenient and allows the <code>CRS</code> part to be repeated as in <code>"CRS:CRS84"</code>. |
| It also accepts <code>"OGC"</code> as a synonymous of the <code>"CRS"</code> namespace. |
| |
| <div class="note"><b>Examples:</b> |
| <code>"CRS:27"</code>, <code>"CRS:83"</code>, <code>"CRS:84"</code>, <code>"CRS:CRS84"</code>, <code>"OGC:CRS84"</code>.</div> |
| |
| <h2 id="note-on-codes-in-auto-2-namespace-heading">Note on codes in AUTO(2) namespace</h2> |
| The format is usually "<code>AUTO2:</code><var>n</var>,<var>factor</var>,<var>λ₀</var>,<var>φ₀</var>" |
| where <var>n</var> is a number between 42001 and 42005 inclusive, <var>factor</var> is a conversion |
| factor from the CRS units to metres (e.g. 0.3048 for a CRS with axes in feet) and (<var>λ₀</var>,<var>φ₀</var>) |
| is the longitude and latitude of a point in the projection centre. |
| |
| <div class="note"><b>Examples:</b> |
| <code>"AUTO2:42001,1,-100,45"</code> identifies a Universal Transverse Mercator (UTM) projection |
| for a zone containing the point at (45°N, 100°W) with axes in metres.</div> |
| |
| Codes in the <code>"AUTO"</code> namespace are the same than codes in the <code>"AUTO2"</code> namespace, except that |
| the <a href="../../../../../../org.apache.sis.util/org/apache/sis/measure/Units.html#valueOfEPSG(int)">EPSG code</a> of the desired unit of measurement |
| was used instead of the unit factor. |
| The <code>"AUTO"</code> namespace was defined in the <cite>Web Map Service</cite> (WMS) 1.1.1 specification |
| while the <code>"AUTO2"</code> namespace is defined in WMS 1.3.0. |
| In Apache SIS implementation, the unit parameter (either as factor or as EPSG code) is optional and defaults to metres. |
| |
| <p>In the <code>AUTO(2):42001</code> case, the UTM zone is calculated as specified in WMS 1.3 specification, |
| i.e. <strong>without</strong> taking in account the Norway and Svalbard special cases and without |
| switching to polar stereographic projections for high latitudes.</p></div> |
| <dl class="notes"> |
| <dt>Since:</dt> |
| <dd>0.7</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="tag-list"> |
| <li><a href="../CommonCRS.html" title="enum class in org.apache.sis.referencing"><code>CommonCRS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">CommonAuthorityFactory</a>()</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Constructs a default factory for the <code>CRS</code> authority.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CoordinateReferenceSystem.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CoordinateReferenceSystem</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createCoordinateReferenceSystem(java.lang.String)" class="member-name-link">createCoordinateReferenceSystem</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates a coordinate reference system from the specified code.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/IdentifiedObject.html" title="class or interface in org.opengis.referencing" class="external-link">IdentifiedObject</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#createObject(java.lang.String)" class="member-name-link">createObject</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Creates an object from the specified code.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/metadata/citation/Citation.html" title="class or interface in org.opengis.metadata.citation" class="external-link">Citation</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAuthority()" class="member-name-link">getAuthority</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the specification that defines the codes recognized by this factory.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><wbr><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAuthorityCodes(java.lang.Class)" class="member-name-link">getAuthorityCodes</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/IdentifiedObject.html" title="class or interface in org.opengis.referencing" class="external-link">IdentifiedObject</a>> type)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Provides a complete set of the known codes provided by this factory.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><wbr><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCodeSpaces()" class="member-name-link">getCodeSpaces</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the namespaces defined by the OGC specifications implemented by this factory.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/InternationalString.html" title="class or interface in org.opengis.util" class="external-link">InternationalString</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDescriptionText(java.lang.String)" class="member-name-link">getDescriptionText</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns a description of the object corresponding to a code.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-GeodeticAuthorityFactory">Methods inherited from class <a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></h3> |
| <code><a href="GeodeticAuthorityFactory.html#createCartesianCS(java.lang.String)">createCartesianCS</a>, <a href="GeodeticAuthorityFactory.html#createCompoundCRS(java.lang.String)">createCompoundCRS</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateOperation(java.lang.String)">createCoordinateOperation</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateSystem(java.lang.String)">createCoordinateSystem</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateSystemAxis(java.lang.String)">createCoordinateSystemAxis</a>, <a href="GeodeticAuthorityFactory.html#createCylindricalCS(java.lang.String)">createCylindricalCS</a>, <a href="GeodeticAuthorityFactory.html#createDatum(java.lang.String)">createDatum</a>, <a href="GeodeticAuthorityFactory.html#createDerivedCRS(java.lang.String)">createDerivedCRS</a>, <a href="GeodeticAuthorityFactory.html#createEllipsoid(java.lang.String)">createEllipsoid</a>, <a href="GeodeticAuthorityFactory.html#createEllipsoidalCS(java.lang.String)">createEllipsoidalCS</a>, <a href="GeodeticAuthorityFactory.html#createEngineeringCRS(java.lang.String)">createEngineeringCRS</a>, <a href="GeodeticAuthorityFactory.html#createEngineeringDatum(java.lang.String)">createEngineeringDatum</a>, <a href="GeodeticAuthorityFactory.html#createExtent(java.lang.String)">createExtent</a>, <a href="GeodeticAuthorityFactory.html#createFromCoordinateReferenceSystemCodes(java.lang.String,java.lang.String)">createFromCoordinateReferenceSystemCodes</a>, <a href="GeodeticAuthorityFactory.html#createGeocentricCRS(java.lang.String)">createGeocentricCRS</a>, <a href="GeodeticAuthorityFactory.html#createGeodeticDatum(java.lang.String)">createGeodeticDatum</a>, <a href="GeodeticAuthorityFactory.html#createGeographicCRS(java.lang.String)">createGeographicCRS</a>, <a href="GeodeticAuthorityFactory.html#createImageCRS(java.lang.String)">createImageCRS</a>, <a href="GeodeticAuthorityFactory.html#createImageDatum(java.lang.String)">createImageDatum</a>, <a href="GeodeticAuthorityFactory.html#createOperationMethod(java.lang.String)">createOperationMethod</a>, <a href="GeodeticAuthorityFactory.html#createParameterDescriptor(java.lang.String)">createParameterDescriptor</a>, <a href="GeodeticAuthorityFactory.html#createParametricCRS(java.lang.String)">createParametricCRS</a>, <a href="GeodeticAuthorityFactory.html#createParametricCS(java.lang.String)">createParametricCS</a>, <a href="GeodeticAuthorityFactory.html#createParametricDatum(java.lang.String)">createParametricDatum</a>, <a href="GeodeticAuthorityFactory.html#createPolarCS(java.lang.String)">createPolarCS</a>, <a href="GeodeticAuthorityFactory.html#createPrimeMeridian(java.lang.String)">createPrimeMeridian</a>, <a href="GeodeticAuthorityFactory.html#createProjectedCRS(java.lang.String)">createProjectedCRS</a>, <a href="GeodeticAuthorityFactory.html#createSphericalCS(java.lang.String)">createSphericalCS</a>, <a href="GeodeticAuthorityFactory.html#createTemporalCRS(java.lang.String)">createTemporalCRS</a>, <a href="GeodeticAuthorityFactory.html#createTemporalDatum(java.lang.String)">createTemporalDatum</a>, <a href="GeodeticAuthorityFactory.html#createTimeCS(java.lang.String)">createTimeCS</a>, <a href="GeodeticAuthorityFactory.html#createUnit(java.lang.String)">createUnit</a>, <a href="GeodeticAuthorityFactory.html#createVerticalCRS(java.lang.String)">createVerticalCRS</a>, <a href="GeodeticAuthorityFactory.html#createVerticalCS(java.lang.String)">createVerticalCS</a>, <a href="GeodeticAuthorityFactory.html#createVerticalDatum(java.lang.String)">createVerticalDatum</a>, <a href="GeodeticAuthorityFactory.html#newIdentifiedObjectFinder()">newIdentifiedObjectFinder</a>, <a href="GeodeticAuthorityFactory.html#toString()">toString</a>, <a href="GeodeticAuthorityFactory.html#trimNamespace(java.lang.String)">trimNamespace</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-AbstractFactory">Methods inherited from class <a href="../../../../../../org.apache.sis.metadata/org/apache/sis/util/iso/AbstractFactory.html" title="class in org.apache.sis.util.iso">AbstractFactory</a></h3> |
| <code><a href="../../../../../../org.apache.sis.metadata/org/apache/sis/util/iso/AbstractFactory.html#getVendor()">getVendor</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-Object">Methods inherited from class <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-CRSAuthorityFactory">Methods inherited from interface <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CRSAuthorityFactory</a></h3> |
| <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createCompoundCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createCompoundCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createDerivedCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createDerivedCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createEngineeringCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createEngineeringCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createGeocentricCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createGeocentricCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createGeographicCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createGeographicCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createImageCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createImageCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createProjectedCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createProjectedCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createTemporalCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createTemporalCRS</a>, <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createVerticalCRS(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createVerticalCRS</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-Factory">Methods inherited from interface <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/Factory.html" title="class or interface in org.opengis.util" class="external-link">Factory</a></h3> |
| <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/Factory.html#getVendor()" title="class or interface in org.opengis.util" class="external-link">getVendor</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>CommonAuthorityFactory</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CommonAuthorityFactory</span>()</div> |
| <div class="block">Constructs a default factory for the <code>CRS</code> authority.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getAuthority()"> |
| <h3>getAuthority</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/metadata/citation/Citation.html" title="class or interface in org.opengis.metadata.citation" class="external-link">Citation</a></span> <span class="element-name">getAuthority</span>()</div> |
| <div class="block">Returns the specification that defines the codes recognized by this factory. The definitive source for this |
| factory is OGC <a href="https://www.ogc.org/standards/wms">Web Map Service</a> (WMS) specification, |
| also available as the ISO 19128 <cite>Geographic Information — Web map server interface</cite> standard. |
| |
| <p>While the authority is WMS, the <a href="../../../../../../org.apache.sis.metadata/org/apache/sis/xml/IdentifierSpace.html#getName()">namespace</a> |
| of that authority is set to <code>"OGC"</code>. Apache SIS does that for consistency with the namespace used |
| in URNs (for example <code>"urn:ogc:def:crs:OGC:1.3:CRS84"</code>).</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html#getAuthority()" title="class or interface in org.opengis.referencing" class="external-link">getAuthority</a></code> in interface <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html" title="class or interface in org.opengis.referencing" class="external-link">AuthorityFactory</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="GeodeticAuthorityFactory.html#getAuthority()">getAuthority</a></code> in class <code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>the <cite>"Web Map Service"</cite> authority.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="tag-list"> |
| <li><a href="#getCodeSpaces()"><code>getCodeSpaces()</code></a></li> |
| <li><a href="../../../../../../org.apache.sis.metadata/org/apache/sis/metadata/iso/citation/Citations.html#WMS"><code>Citations.WMS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getAuthorityCodes(java.lang.Class)"> |
| <h3>getAuthorityCodes</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></span> <span class="element-name">getAuthorityCodes</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a><? extends <a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/IdentifiedObject.html" title="class or interface in org.opengis.referencing" class="external-link">IdentifiedObject</a>> type)</span> |
| throws <span class="exceptions"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></span></div> |
| <div class="block">Provides a complete set of the known codes provided by this factory. |
| The returned set contains a namespace followed by identifiers like |
| <code>"CRS:84"</code>, <code>"CRS:27"</code>, <code>"AUTO2:42001"</code>, <i>etc</i>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html#getAuthorityCodes(java.lang.Class)" title="class or interface in org.opengis.referencing" class="external-link">getAuthorityCodes</a></code> in interface <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html" title="class or interface in org.opengis.referencing" class="external-link">AuthorityFactory</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>type</code> - the spatial reference objects type.</dd> |
| <dt>Returns:</dt> |
| <dd>the set of authority codes for spatial reference objects of the given type.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></code> - if this method failed to provide the set of codes.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCodeSpaces()"> |
| <h3>getCodeSpaces</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>></span> <span class="element-name">getCodeSpaces</span>()</div> |
| <div class="block">Returns the namespaces defined by the OGC specifications implemented by this factory. |
| At the difference of other factories, the namespaces of <code>CommonAuthorityFactory</code> |
| are quite different than the <a href="#getAuthority()">authority</a> title or identifier: |
| |
| <ul> |
| <li><b>Authority:</b> <code>"WMS"</code> (for <cite>"Web Map Services"</cite>)</li> |
| <li><b>Namespaces:</b> <code>"CRS"</code>, <code>"AUTO"</code>, <code>"AUTO2"</code>. |
| The <code>"OGC"</code> namespace is also accepted for compatibility reason, |
| but its scope is wider than the above-cited namespaces.</li> |
| </ul></div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="GeodeticAuthorityFactory.html#getCodeSpaces()">getCodeSpaces</a></code> in class <code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>a set containing at least the <code>"CRS"</code>, <code>"AUTO"</code> and <code>"AUTO2"</code> strings.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="tag-list"> |
| <li><a href="#getAuthority()"><code>getAuthority()</code></a></li> |
| <li><a href="../../../../../../org.apache.sis.metadata/org/apache/sis/metadata/iso/citation/Citations.html#WMS"><code>Citations.WMS</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDescriptionText(java.lang.String)"> |
| <h3>getDescriptionText</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/InternationalString.html" title="class or interface in org.opengis.util" class="external-link">InternationalString</a></span> <span class="element-name">getDescriptionText</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</span> |
| throws <span class="exceptions"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></span></div> |
| <div class="block">Returns a description of the object corresponding to a code. |
| The description can be used for example in a combo box in a graphical user interface. |
| |
| <p>Codes in the <code>"AUTO(2)"</code> namespace do not need parameters for this method. |
| But if parameters are nevertheless specified, then they will be taken in account.</p> |
| |
| <table class="sis"> |
| <caption>Examples</caption> |
| <tr><th>Argument value</th> <th>Return value</th></tr> |
| <tr><td><code>CRS:84</code></td> <td>WGS 84</td></tr> |
| <tr><td><code>AUTO2:42001</code></td> <td>WGS 84 / Auto UTM</td></tr> |
| <tr><td><code>AUTO2:42001,1,-100,45</code></td> <td>WGS 84 / UTM zone 47N</td></tr> |
| </table></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html#getDescriptionText(java.lang.String)" title="class or interface in org.opengis.referencing" class="external-link">getDescriptionText</a></code> in interface <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html" title="class or interface in org.opengis.referencing" class="external-link">AuthorityFactory</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="GeodeticAuthorityFactory.html#getDescriptionText(java.lang.String)">getDescriptionText</a></code> in class <code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>code</code> - value in the CRS or AUTO(2) code space.</dd> |
| <dt>Returns:</dt> |
| <dd>a description of the object.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/NoSuchAuthorityCodeException.html" title="class or interface in org.opengis.referencing" class="external-link">NoSuchAuthorityCodeException</a></code> - if the specified <code>code</code> was not found.</dd> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></code> - if an error occurred while fetching the description.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createObject(java.lang.String)"> |
| <h3>createObject</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/IdentifiedObject.html" title="class or interface in org.opengis.referencing" class="external-link">IdentifiedObject</a></span> <span class="element-name">createObject</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</span> |
| throws <span class="exceptions"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></span></div> |
| <div class="block">Creates an object from the specified code. |
| The default implementation delegates to <a href="#createCoordinateReferenceSystem(java.lang.String)"><code>createCoordinateReferenceSystem(String)</code></a>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html#createObject(java.lang.String)" title="class or interface in org.opengis.referencing" class="external-link">createObject</a></code> in interface <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/AuthorityFactory.html" title="class or interface in org.opengis.referencing" class="external-link">AuthorityFactory</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="GeodeticAuthorityFactory.html#createObject(java.lang.String)">createObject</a></code> in class <code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>code</code> - value allocated by authority.</dd> |
| <dt>Returns:</dt> |
| <dd>the object for the given code.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></code> - if the object creation failed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="tag-list"> |
| <li><a href="../AbstractIdentifiedObject.html" title="class in org.apache.sis.referencing"><code>AbstractIdentifiedObject</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createCoordinateReferenceSystem(java.lang.String)"> |
| <h3>createCoordinateReferenceSystem</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CoordinateReferenceSystem.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CoordinateReferenceSystem</a></span> <span class="element-name">createCoordinateReferenceSystem</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> code)</span> |
| throws <span class="exceptions"><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></span></div> |
| <div class="block">Creates a coordinate reference system from the specified code. |
| This method performs the following steps: |
| |
| <ol> |
| <li>Skip the <code>"OGC"</code>, <code>"CRS"</code>, <code>"AUTO"</code>, <code>"AUTO1"</code> or <code>"AUTO2"</code> namespace |
| if present (ignoring case). All other namespaces will cause an exception to be thrown.</li> |
| <li>Skip the <code>"CRS"</code> prefix if present. This additional check is for accepting codes like |
| <code>"OGC:CRS84"</code> (not a valid CRS code, but seen in practice).</li> |
| <li>In the remaining text, interpret the integer value as documented in this class javadoc. |
| Note that some codes require coma-separated parameters after the integer value.</li> |
| </ol></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html#createCoordinateReferenceSystem(java.lang.String)" title="class or interface in org.opengis.referencing.crs" class="external-link">createCoordinateReferenceSystem</a></code> in interface <code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/referencing/crs/CRSAuthorityFactory.html" title="class or interface in org.opengis.referencing.crs" class="external-link">CRSAuthorityFactory</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="GeodeticAuthorityFactory.html#createCoordinateReferenceSystem(java.lang.String)">createCoordinateReferenceSystem</a></code> in class <code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>code</code> - value allocated by OGC.</dd> |
| <dt>Returns:</dt> |
| <dd>the coordinate reference system for the given code.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/util/FactoryException.html" title="class or interface in org.opengis.util" class="external-link">FactoryException</a></code> - if the object creation failed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="tag-list"> |
| <li><a href="../crs/AbstractCRS.html" title="class in org.apache.sis.referencing.crs"><code>AbstractCRS</code></a></li> |
| <li><a href="../CRS.html#forCode(java.lang.String)"><code>CRS.forCode(String)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| </div> |
| </div> |
| </body> |
| </html> |