blob: 9f852fb836d32d9e48568a6bf5392eead8db1b54 [file] [log] [blame]
<!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">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</span><span class="nav-bar-toggle-icon">&nbsp;</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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</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>&nbsp;<a href="../../../../../module-summary.html">org.apache.sis.referencing</a></div>
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<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">Authority­Factory</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">CRSAuthority­Factory</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>Common­CRS</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>Common­CRS</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">Common­Authority­Factory</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">Coordinate­Reference­System</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">create­Coordinate­Reference­System</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>&nbsp;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">Identified­Object</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">create­Object</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>&nbsp;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">get­Authority</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>&lt;<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>&gt;</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">get­Authority­Codes</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>&lt;? 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">Identified­Object</a>&gt;&nbsp;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>&lt;<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>&gt;</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">get­Code­Spaces</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">International­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="#getDescriptionText(java.lang.String)" class="member-name-link">get­Description­Text</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>&nbsp;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&nbsp;<a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">GeodeticAuthorityFactory</a></h3>
<code><a href="GeodeticAuthorityFactory.html#createCartesianCS(java.lang.String)">create­Cartesian­CS</a>, <a href="GeodeticAuthorityFactory.html#createCompoundCRS(java.lang.String)">create­Compound­CRS</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateOperation(java.lang.String)">create­Coordinate­Operation</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateSystem(java.lang.String)">create­Coordinate­System</a>, <a href="GeodeticAuthorityFactory.html#createCoordinateSystemAxis(java.lang.String)">create­Coordinate­System­Axis</a>, <a href="GeodeticAuthorityFactory.html#createCylindricalCS(java.lang.String)">create­Cylindrical­CS</a>, <a href="GeodeticAuthorityFactory.html#createDatum(java.lang.String)">create­Datum</a>, <a href="GeodeticAuthorityFactory.html#createDerivedCRS(java.lang.String)">create­Derived­CRS</a>, <a href="GeodeticAuthorityFactory.html#createEllipsoid(java.lang.String)">create­Ellipsoid</a>, <a href="GeodeticAuthorityFactory.html#createEllipsoidalCS(java.lang.String)">create­Ellipsoidal­CS</a>, <a href="GeodeticAuthorityFactory.html#createEngineeringCRS(java.lang.String)">create­Engineering­CRS</a>, <a href="GeodeticAuthorityFactory.html#createEngineeringDatum(java.lang.String)">create­Engineering­Datum</a>, <a href="GeodeticAuthorityFactory.html#createExtent(java.lang.String)">create­Extent</a>, <a href="GeodeticAuthorityFactory.html#createFromCoordinateReferenceSystemCodes(java.lang.String,java.lang.String)">create­From­Coordinate­Reference­System­Codes</a>, <a href="GeodeticAuthorityFactory.html#createGeocentricCRS(java.lang.String)">create­Geocentric­CRS</a>, <a href="GeodeticAuthorityFactory.html#createGeodeticDatum(java.lang.String)">create­Geodetic­Datum</a>, <a href="GeodeticAuthorityFactory.html#createGeographicCRS(java.lang.String)">create­Geographic­CRS</a>, <a href="GeodeticAuthorityFactory.html#createImageCRS(java.lang.String)">create­Image­CRS</a>, <a href="GeodeticAuthorityFactory.html#createImageDatum(java.lang.String)">create­Image­Datum</a>, <a href="GeodeticAuthorityFactory.html#createOperationMethod(java.lang.String)">create­Operation­Method</a>, <a href="GeodeticAuthorityFactory.html#createParameterDescriptor(java.lang.String)">create­Parameter­Descriptor</a>, <a href="GeodeticAuthorityFactory.html#createParametricCRS(java.lang.String)">create­Parametric­CRS</a>, <a href="GeodeticAuthorityFactory.html#createParametricCS(java.lang.String)">create­Parametric­CS</a>, <a href="GeodeticAuthorityFactory.html#createParametricDatum(java.lang.String)">create­Parametric­Datum</a>, <a href="GeodeticAuthorityFactory.html#createPolarCS(java.lang.String)">create­Polar­CS</a>, <a href="GeodeticAuthorityFactory.html#createPrimeMeridian(java.lang.String)">create­Prime­Meridian</a>, <a href="GeodeticAuthorityFactory.html#createProjectedCRS(java.lang.String)">create­Projected­CRS</a>, <a href="GeodeticAuthorityFactory.html#createSphericalCS(java.lang.String)">create­Spherical­CS</a>, <a href="GeodeticAuthorityFactory.html#createTemporalCRS(java.lang.String)">create­Temporal­CRS</a>, <a href="GeodeticAuthorityFactory.html#createTemporalDatum(java.lang.String)">create­Temporal­Datum</a>, <a href="GeodeticAuthorityFactory.html#createTimeCS(java.lang.String)">create­Time­CS</a>, <a href="GeodeticAuthorityFactory.html#createUnit(java.lang.String)">create­Unit</a>, <a href="GeodeticAuthorityFactory.html#createVerticalCRS(java.lang.String)">create­Vertical­CRS</a>, <a href="GeodeticAuthorityFactory.html#createVerticalCS(java.lang.String)">create­Vertical­CS</a>, <a href="GeodeticAuthorityFactory.html#createVerticalDatum(java.lang.String)">create­Vertical­Datum</a>, <a href="GeodeticAuthorityFactory.html#newIdentifiedObjectFinder()">new­Identified­Object­Finder</a>, <a href="GeodeticAuthorityFactory.html#toString()">to­String</a>, <a href="GeodeticAuthorityFactory.html#trimNamespace(java.lang.String)">trim­Namespace</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-AbstractFactory">Methods inherited from class&nbsp;<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()">get­Vendor</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-Object">Methods inherited from class&nbsp;<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">get­Class</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">hash­Code</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">notify­All</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&nbsp;<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">create­Compound­CRS</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">create­Derived­CRS</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">create­Engineering­CRS</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">create­Geocentric­CRS</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">create­Geographic­CRS</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">create­Image­CRS</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">create­Projected­CRS</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">create­Temporal­CRS</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">create­Vertical­CRS</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-Factory">Methods inherited from interface&nbsp;<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">get­Vendor</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="&lt;init&gt;()">
<h3>CommonAuthorityFactory</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<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>&nbsp;<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>&nbsp;<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">get­Authority</a></code>&nbsp;in interface&nbsp;<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">Authority­Factory</a></code></dd>
<dt>Specified by:</dt>
<dd><code><a href="GeodeticAuthorityFactory.html#getAuthority()">get­Authority</a></code>&nbsp;in class&nbsp;<code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">Geodetic­Authority­Factory</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>get­Code­Spaces()</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>&nbsp;<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>&lt;<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>&gt;</span>&nbsp;<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>&lt;? 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>&gt;&nbsp;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">get­Authority­Codes</a></code>&nbsp;in interface&nbsp;<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">Authority­Factory</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">Factory­Exception</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>&nbsp;<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>&lt;<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>&gt;</span>&nbsp;<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>Common­Authority­Factory</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()">get­Code­Spaces</a></code>&nbsp;in class&nbsp;<code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">Geodetic­Authority­Factory</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>get­Authority()</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>&nbsp;<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>&nbsp;<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>&nbsp;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">get­Description­Text</a></code>&nbsp;in interface&nbsp;<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">Authority­Factory</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="GeodeticAuthorityFactory.html#getDescriptionText(java.lang.String)">get­Description­Text</a></code>&nbsp;in class&nbsp;<code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">Geodetic­Authority­Factory</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">No­Such­Authority­Code­Exception</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">Factory­Exception</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>&nbsp;<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>&nbsp;<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>&nbsp;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>create­Coordinate­Reference­System(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">create­Object</a></code>&nbsp;in interface&nbsp;<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">Authority­Factory</a></code></dd>
<dt>Specified by:</dt>
<dd><code><a href="GeodeticAuthorityFactory.html#createObject(java.lang.String)">create­Object</a></code>&nbsp;in class&nbsp;<code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">Geodetic­Authority­Factory</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">Factory­Exception</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>Abstract­Identified­Object</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>&nbsp;<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>&nbsp;<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>&nbsp;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">create­Coordinate­Reference­System</a></code>&nbsp;in interface&nbsp;<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">CRSAuthority­Factory</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="GeodeticAuthorityFactory.html#createCoordinateReferenceSystem(java.lang.String)">create­Coordinate­Reference­System</a></code>&nbsp;in class&nbsp;<code><a href="GeodeticAuthorityFactory.html" title="class in org.apache.sis.referencing.factory">Geodetic­Authority­Factory</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">Factory­Exception</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>Abstract­CRS</code></a></li>
<li><a href="../CRS.html#forCode(java.lang.String)"><code>CRS​.for­Code(String)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>