<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello<br>
</p>
<p>In the C++ API, the documentation of <tt>AuthorityFactory::getDescriptionText</tt>
said: "In case of several objects of different types with the same
code, one of them will be arbitrarily selected." This is fine. But
the following code with PROJ 6.2.0:</p>
<blockquote>
<pre>factory->getDescriptionText("3395");
</pre>
</blockquote>
<p>returns <i>"Germany - Saxony - west of 13.5°E"</i> while I would
have expected <i>"WGS 84 / World Mercator"</i>. Technically the
result is conform to PROJ documentation since the former is an <tt>Area</tt>
object with EPSG:3395 code, and the later is a <tt>ProjectedCRS</tt>
object also with EPSG:3395 code. But I suggest that in such case
where different kinds of object have the same EPSG code,
precedence is given to the CRS.</p>
<p>Likewise, <tt>getDescriptionText("4326")</tt> currently produces
<i>"USA - Wisconsin - Douglas"</i>. I have not yet verified if
such precedence should also be enforced in <tt>AuthorityFactory::createObject</tt>.</p>
<p> Martin</p>
<p><br>
</p>
</body>
</html>